(Navrat k verzii bez vyrazov)
(Menej restriktivna podmienka na zobrazovanie plnej verzie oznamu)
 
Line 3: Line 3:
 
       |image={{{image|}}}
 
       |image={{{image|}}}
 
       |when={{{when|}}}
 
       |when={{{when|}}}
       |link={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News | {{{link|}}} | }}
+
       |link={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{link|}}} | }}
       |link-internal={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News |{{{link-internal|}}} | News#{{anchorencode:{{{title}}}}} }}
+
       |link-internal={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 |{{{link-internal|}}} | News#{{anchorencode:{{{title}}}}} }}
       |link-external={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News |{{{link-external|}}} | }}
+
       |link-external={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 |{{{link-external|}}} | }}
       |link-text={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News | {{{link-text|}}} | {{{title}}} }}
+
       |link-text={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{link-text|}}} | {{{title}}} }}
       |text={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News | {{{text|}}} |}}
+
       |text={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{text|}}} |}}
 
}}<noinclude>
 
}}<noinclude>
 
= Template:News =
 
= Template:News =

Latest revision as of 14:23, 16 July 2015

{{{title}}}

Template:News

This template generates news items that are fully displayed in the News page, and displayed in a stripped-down form when transcluded, e.g., to the Introduction page.

Actual wikitext of the news item is generated by Template:NewsItem. The present template sets its argument according to the page where the item is being displayed.