Template:Newsarticle.dpl: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''{{#if:{{{link|}}}|{{#time:F j, Y|{{{pubdate}}}}}: {{{%TITLE%}}}|[[{{{%PAGE%}}}{{!}}{{#time:F j, Y|{{{pubdate}}}}}: {{{%TITLE%}}}]]}}'''
<includeonly>'''{{#time:F j, Y|{{{pubdate}}}}}: {{{%TITLE%}}}'''
* {{#if:{{{image|}}}|{{{image}}}}}{{#if:{{{link|}}}|[{{{link}}} {{{summary}}}]|{{{summary}}}}}{{#if:{{{link2|}}}|
* {{#if:{{{image|}}}|{{{image}}}}}{{#if:{{{link|}}}|[{{{link}}} {{{summary}}}]|[[{{{%PAGE%}}} {{{summary}}}]]}}{{#if:{{{link2|}}}|
* [{{{link2}}} {{{summary2}}}]}}{{#if:{{{link3|}}}|
* [{{{link2}}} {{{summary2}}}]}}{{#if:{{{link3|}}}|
* [{{{link3}}} {{{summary3}}}]}}{{#if:{{{link4|}}}|
* [{{{link3}}} {{{summary3}}}]}}{{#if:{{{link4|}}}|
* [{{{link4}}} {{{summary4}}}]}}<noinclude>
* [{{{link4}}} {{{summary4}}}]}}</includeonly><noinclude>
== Overview ==
== Overview ==
* Used to control display of article listing in news summaries
* Used to control display of article listing in news summaries

Revision as of 04:34, 16 February 2009

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