(Menej restriktivna podmienka na zobrazovanie plnej verzie oznamu)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
       |image={{{image|}}}
 
       |image={{{image|}}}
 
       |when={{{when|}}}
 
       |when={{{when|}}}
       |link={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 | {{{link|}}} | }}
+
       |link={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{link|}}} | }}
       |link-internal={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 |{{{link-internal|}}} | News#{{anchorencode:{{{title}}}}} }}
+
       |link-internal={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 |{{{link-internal|}}} | News#{{anchorencode:{{{title}}}}} }}
       |link-external={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 |{{{link-external|}}} | }}
+
       |link-external={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 |{{{link-external|}}} | }}
       |link-text={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 | {{{link-text|}}} | {{{title}}} }}
+
       |link-text={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{link-text|}}} | {{{title}}} }}
       |text={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 | {{{text|}}} |}}
+
       |text={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{text|}}} |}}
 
}}<noinclude>
 
}}<noinclude>
 
= Template:News =
 
= Template:News =
Line 14: Line 14:
  
 
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.
 
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.
</noinclude>
 

Latest revision as of 15: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.