Difference between revisions of "Template:Event"

From Culture.si
(Redirected page to Template:Photobox/Event)
 
(Removed redirect to Template:Photobox/Event)
Tag: Removed redirect
Line 1: Line 1:
#REDIRECT [[Template:Photobox/Event]]
+
<noinclude>{{#template_params:
 +
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}}}
 +
|user={{{user}}}
 +
|draft={{#if:{{{draft|}}}|TRUE|FALSE}}
 +
|source = Culture.si
 +
|tag = {{{category|}}}
 +
|tag = {{{category1|}}}
 +
|tag = {{{category2|}}}
 +
|tag = {{{category3|}}}
 +
|tag = {{{category4|}}}
 +
|related = {{extractLinks|text = {{{text|}}}}}
 +
|related = {{extractLinks|text = {{{by|}}}}}
 +
|related = {{extractLinks|text = {{{at|}}}}}
 +
|related = {{extractLinks|text = {{{in|}}}}}
 +
|related = {{extractLinks|text = {{{country|}}}}}
 +
|festival = {{{festival|}}}
 +
|start = {{{from|}}}
 +
|end = {{{to|}}}
 +
|years = year_{{#timel:Y|{{{from|}}}}}
 +
|years = year_{{#timel:Y|{{{to|{{{from|}}}}}}}}
 +
|venue = {{#arr:split|{{#eval:text|{{{at|}}}}}|,}}
 +
|organizer_url = {{{organizer_url|{{{organiser_url|}}}}}}
 +
|city = {{#arr:split|{{#eval:text|{{{in|}}}}}|,}}
 +
|country    = {{#arr:split|{{#eval:text|{{{country|Slovenia}}}}}|,}}
 +
|url        = {{{program|}}}
 +
|work_url    = {{{work|}}}
 +
|more_url    = {{{more|}}}
 +
|performer  = {{#arr:split|{{#eval:text|{{{by|}}}}}|,}}
 +
|description = {{{text|{{{event|}}}}}}
 +
|editcall    = {{#template:editcallurl}}
 +
}}[[Category:Event data pages]]
 +
</includeonly>

Revision as of 05:53, 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.