Template:Newsarticle.dpl: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''{{#if:{{{link|}}}|[[{{{%TITLE%}}}{{!}}{{{pubdate}}}: {{{%TITLE%}}}|{{{pubdate}}}: {{{%TITLE%}}}}}'''
'''{{#if:{{{link|}}}||{{{pubdate}}}: {{{%TITLE%}}}|[[{{{%TITLE%}}}{{!}}{{{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 23:39, 15 February 2009

{{{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