Atšķirības starp "Veidne:Event" versijām
No Barikadopēdija
(4 starpversijas, ko mainījis viens dalībnieks, nav parādītas) | |||
12. rindiņa: | 12. rindiņa: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
+ | -->[[Event id::{{PAGENAME}}|]]<!-- | ||
-->{{#vardefine:displaytitle|{{{Title|{{PAGENAME}}}}}}}<!-- | -->{{#vardefine:displaytitle|{{{Title|{{PAGENAME}}}}}}}<!-- | ||
-->{{#vardefine:displaydaterange|{{#ifeq:{{{Start date}}}|{{{End date}}}|{{{Start date}}}|{{{Start date}}}-{{{End date}}}}}}}<!-- | -->{{#vardefine:displaydaterange|{{#ifeq:{{{Start date}}}|{{{End date}}}|{{{Start date}}}|{{{Start date}}}-{{{End date}}}}}}}<!-- | ||
28. rindiņa: | 29. rindiņa: | ||
|Condition=[[About event::{{PAGENAME}}]] | |Condition=[[About event::{{PAGENAME}}]] | ||
}} | }} | ||
− | |||
{{DEFAULTSORT:-{{PAGENAME}}}} | {{DEFAULTSORT:-{{PAGENAME}}}} | ||
[[Category:Events]][[Category:Notikumi]] | [[Category:Events]][[Category:Notikumi]] | ||
{{SetDatePartProperties|{{{Start date}}}|Event}} | {{SetDatePartProperties|{{{Start date}}}|Event}} | ||
+ | {{#vardefine: article_count|{{#ask:[[Category:Articles]][[About event::{{PAGENAME}}]]|format=count|limit=10000}}}}[[Article count::{{#var:article_count}}|]] | ||
</includeonly> | </includeonly> |
Pašreizējā versija, 2012. gada 30. janvāris, plkst. 00.14
This is the "Event" template. It should be called in the following format:
{{Event |Start date= |End date= |Title= |Summary= }}
Edit the page to see the template text.