Template:Newsarticle.dpl: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''{{#if:{{{link|}}}|{{{pubdate}}}: {{{%TITLE%}}}|[[{{{%PAGE%}}}{{!}}{{{pubdate}}}: {{{%TITLE%}}}]]}}'''
'''{{#if:{{{link|}}}|{{#time:F j, Y|{{{pubdate}}}}}: {{{%TITLE%}}}|[[{{{%PAGE%}}}{{!}}{{{pubdate}}}: {{{%TITLE%}}}]]}}'''
* {{#if:{{{image|}}}|{{{image}}}}}{{#if:{{{link|}}}|[{{{link}}} {{{summary}}}]|{{{summary}}}}}{{#if:{{{link2|}}}|
* {{#if:{{{image|}}}|{{{image}}}}}{{#if:{{{link|}}}|[{{{link}}} {{{summary}}}]|{{{summary}}}}}{{#if:{{{link2|}}}|
* [{{{link2}}} {{{summary2}}}]}}{{#if:{{{link3|}}}|
* [{{{link2}}} {{{summary2}}}]}}{{#if:{{{link3|}}}|

Revision as of 00:20, 16 February 2009

[[{{{%PAGE%}}}|{{{pubdate}}}: {{{%TITLE%}}}]]

  • {{{summary}}}

Overview

  • Used to control display of article listing in news summaries

Hints

  • Limit summary display length: use {{#sub:{{{summary}}}|0|length}} to cut string appropriately