(Menej restriktivna podmienka na zobrazovanie plnej verzie oznamu)
 
(9 intermediate revisions by 3 users not shown)
Riadok 1: Riadok 1:
<div style="border: thin solid silver; background: white; margin: 1em;">
+
{{NewsItem
{| cellpadding="4"
+
      |title={{{title}}}
  |- align="center"
+
      |image={{{image|}}}
  | colspan="2" | '''{{{title}}}''', ''{{{when}}}''
+
      |when={{{when|}}}
  |- align="left" valign="center" style="font-size: 9pt;"
+
      |link={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{link|}}} | }}
  | {{{image}}}
+
      |link-internal={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 |{{{link-internal|}}} | News#{{anchorencode:{{{title}}}}} }}
  | {{{text}}}
+
      |link-external={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 |{{{link-external|}}} | }}
{{{link}}}
+
      |link-text={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{link-text|}}} | {{{title}}} }}
|}  
+
      |text={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{text|}}} |}}
</div>
+
}}<noinclude>
 +
= 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.

Aktuálna revízia z 14:23, 16. júl 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.