Difference between revisions of "Template:Event"

From Culture.si
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
 
|_{{{id}}}
 
|_{{{id}}}
 
|user={{{user}}}
 
|user={{{user}}}
|status={{#if:{{{draft|}}}|draft|}}
+
|status={{#switch:{{{draft|}}}|Yes=draft|#default=}}
 
|source = Culture.si
 
|source = Culture.si
 
|tag = {{{category|}}}
 
|tag = {{{category|}}}
Line 48: Line 48:
 
|performer  = {{#arr:split|{{#eval:text|{{{by|}}}}}|,}}
 
|performer  = {{#arr:split|{{#eval:text|{{{by|}}}}}|,}}
 
|description = {{{text|{{{event|}}}}}}
 
|description = {{{text|{{{event|}}}}}}
|editcall    = {{#title:localurl|{{FULLPAGENAME}}|action=formedit}}
+
|editcall    = {{#title:localurl| {{FULLPAGENAME}}|action=formedit}}
 
}}{{#default_form:Event}}
 
}}{{#default_form:Event}}
 
</includeonly>
 
</includeonly>

Latest revision as of 07:24, 13 January 2025

This is the "Event" template.

It should be called in the following format:

{{Event
|at=
|in=
|country=
|from=
|to=
|festival=
|text=
|category=
|category1=
|category2=
|category3=
|category4=
|by=
|organizer_url=
|program=
|work=
|more=
}}

Edit the page to see the template text.