Šablóna:News: Rozdiel medzi revíziami
(Navrat k verzii bez vyrazov) |
|||
Riadok 2: | Riadok 2: | ||
|title={{{title}}} | |title={{{title}}} | ||
|image={{{image|}}} | |image={{{image|}}} | ||
− | |||
|when={{{when|}}} | |when={{{when|}}} | ||
− | |link={{# | + | |link={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News | {{{link|}}} | }} |
− | |link-internal={{# | + | |link-internal={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News |{{{link-internal|}}} | News#{{anchorencode:{{{title}}}}} }} |
− | |link-external={{# | + | |link-external={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News |{{{link-external|}}} | }} |
− | |link-text={{# | + | |link-text={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News | {{{link-text|}}} | {{{title}}} }} |
− | |text={{# | + | |text={{#ifeq: {{#explode:{{PAGENAME}}|/|0}} | News | {{{text|}}} |}} |
}}<noinclude> | }}<noinclude> | ||
= Template:News = | = Template:News = | ||
Riadok 15: | Riadok 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. | ||
− |
Verzia zo dňa a času 14:13, 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.