Difference between revisions of "Template:UpcomingEvent"

From Culture.si
 
(50 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#template:editcallurl}}{{#data:set|Event
+
<noinclude>{{#template_params:
|_{{#str:random}}{{#str:random}}  
+
at (label=Venue)
 +
|in (label=City)
 +
|country (label=Country)
 +
|from (label=Start)
 +
|to (label=End)
 +
|festival (label=Festival;display=nonempty)
 +
|text (label=Description)
 +
|category
 +
|category1
 +
|category2
 +
|category3
 +
|category4
 +
|by
 +
|organizer_url
 +
|program
 +
|work
 +
|more
 +
}}
 +
</noinclude><includeonly>{{{id={{#str:random}}{{#str:random}}}}}{{#data:row|Event
 +
|_{{{id}}}
 
|source = Culture.si
 
|source = Culture.si
 
|tag = {{{category|}}}
 
|tag = {{{category|}}}
Line 12: Line 31:
 
|related = {{extractLinks|text = {{{in|}}}}}
 
|related = {{extractLinks|text = {{{in|}}}}}
 
|related = {{extractLinks|text = {{{country|}}}}}
 
|related = {{extractLinks|text = {{{country|}}}}}
 +
|festival = {{{festival|}}}
 
|start = {{{from|}}}
 
|start = {{{from|}}}
 
|end = {{{to|}}}
 
|end = {{{to|}}}
 +
|years = year_{{#timel:Y|{{{from|}}}}}
 +
|years = year_{{#timel:Y|{{{to|{{{from|}}}}}}}}
 
|venue = {{#arr:split|{{#eval:text|{{{at|}}}}}|,}}
 
|venue = {{#arr:split|{{#eval:text|{{{at|}}}}}|,}}
 +
|organizer_url = {{{organizer_url|{{{organiser_url|}}}}}}
 
|city = {{#arr:split|{{#eval:text|{{{in|}}}}}|,}}
 
|city = {{#arr:split|{{#eval:text|{{{in|}}}}}|,}}
|country = {{#arr:split|{{#eval:text|{{{country|Slovenia}}}}}|,}}
+
|country     = {{#arr:split|{{#eval:text|{{{country|Slovenia}}}}}|,}}
|url = {{{program|}}}
+
|url         = {{{program|}}}
|performer = {{#arr:split|{{#eval:text|{{{by|}}}}}|,}}
+
|work_url    = {{{work|}}}
 +
|more_url    = {{{more|}}}
 +
|performer   = {{#arr:split|{{#eval:text|{{{by|}}}}}|,}}
 
|description = {{{text|{{{event|}}}}}}
 
|description = {{{text|{{{event|}}}}}}
|editcall = {{#template:editcallurl}}
+
|editcall   = {{#template:editcallurl}}
}}
+
}}[[Category:Event data pages]]
 
</includeonly>
 
</includeonly>

Latest revision as of 22:16, 2 October 2023

This is the "UpcomingEvent" template.

It should be called in the following format:

{{UpcomingEvent
|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.