Šablóna:News: Rozdiel medzi revíziami

(Odstraneny zbytocny parameter image-name)
Riadok 3: Riadok 3:
 
       |image={{{image|}}}
 
       |image={{{image|}}}
 
       |when={{{when|}}}
 
       |when={{{when|}}}
       |link={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News | {{{link|}}} | }}
+
       |link={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 | {{{link|}}} | }}
       |link-internal={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News |{{{link-internal|}}} | News#{{anchorencode:{{{title}}}}} }}
+
       |link-internal={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 |{{{link-internal|}}} | News#{{anchorencode:{{{title}}}}} }}
       |link-external={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News |{{{link-external|}}} | }}
+
       |link-external={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 |{{{link-external|}}} | }}
       |link-text={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News | {{{link-text|}}} | {{{title}}} }}
+
       |link-text={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 | {{{link-text|}}} | {{{title}}} }}
       |text={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News | {{{text|}}} |}}
+
       |text={{#ifexpr: {{#pos:{{PAGENAME}}|News}} >= 0 or {{#pos:{{PAGENAME}}|news}} >= 0 | {{{text|}}} |}}
 
}}<noinclude>
 
}}<noinclude>
 
= Template:News =
 
= Template:News =

Verzia zo dňa a času 14:07, 16. júl 2015

[[Chyba výrazu: Neočakávaný operátor >=|{{{title}}}]]

Chyba výrazu: Neočakávaný operátor >=
[[Chyba výrazu: Neočakávaný operátor >=|Viac...]]

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.