Template:Newsarticle.dpl: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>'''{{#if:{{{link|}}}|{{#time:F j, Y|{{{pubdate}}}}}: {{{%TITLE%}}}|[[{{{%PAGE%}}}{{!}}{{#time:F j, Y|{{{pubdate}}}}}: {{{%TITLE%}}}]]}}{{#if:{{{author|}}}|by {{uc:{{{author}}}}}}}'''
<includeonly>'''{{#if:{{{link|}}}|{{#time:F j, Y|{{{pubdate}}}}}: {{{%TITLE%}}}|[[{{{%PAGE%}}}{{!}}{{#time:F j, Y|{{{pubdate}}}}}: {{{%TITLE%}}}]]}}{{#if:{{{author|}}}| by {{uc:{{{author}}}}}}}'''
* {{#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 22:44, 23 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