(Menej restriktivna podmienka na zobrazovanie plnej verzie oznamu)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="news-article">
+
{{NewsItem
== {{{title}}} ==
+
      |title={{{title}}}
<span class="news-date">{{{when}}}</span>
+
      |image={{{image|}}}
<p>{{{link}}}</p>
+
      |when={{{when|}}}
[[{{{image}}}|left|link=]]
+
      |link={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 | {{{link|}}} | }}
<p class="news_paragraph">{{{text}}}</p>
+
      |link-internal={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 |{{{link-internal|}}} | News#{{anchorencode:{{{title}}}}} }}
</div>
+
      |link-external={{#ifexpr: {{#rpos:{{PAGENAME}}|News}}+1 or {{#rpos:{{PAGENAME}}|news}}+1 |{{{link-external|}}} | }}
 +
      |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|}}} |}}
 +
}}<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.

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.