Difference between revisions of "Template:EventSeries"
Jump to navigation
Jump to search
(created by WikiTask 2020-10-06T06:12:53Z) |
m (created by WikiTask 2020-10-06T06:24:49Z) |
||
Line 99: | Line 99: | ||
| ?Event series = series | | ?Event series = series | ||
| ?Event city = city | | ?Event city = city | ||
− | | ?Event | + | | ?Event region = region |
| ?Event country = country | | ?Event country = country | ||
Line 161: | Line 161: | ||
| ?Event series = series | | ?Event series = series | ||
| ?Event city = city | | ?Event city = city | ||
− | | ?Event | + | | ?Event region = region |
| ?Event country = country | | ?Event country = country | ||
Revision as of 07:24, 6 October 2020
This is the template EventSeries.
It belongs to the concept/topic Concept:EventSeries
You may find examples for the use of this template via the List of EventSeries.
Usage
storemode subobject
{{EventSeries |acronym= |homepage= |storemode=subobject }}
storemode property
{{EventSeries |acronym= |homepage= |storemode=property }}
storemode none
{{EventSeries |acronym= |homepage= |storemode=none }}
viewmode tableheader
{{EventSeries |acronym= |homepage= |viewmode=tableheader }}
viewmode tablerow
{{EventSeries |acronym= |homepage= |viewmode=tablerow }}
{{EventSeries |acronym= |homepage= |viewmode=tablefooter }}
viewmode labelfield
{{EventSeries |acronym= |homepage= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA EventSeries<br>|}}
{{#if:{{{?acronym|}}}|"{{{?acronym}}}" is acronym of it <br>|}}
{{#if:{{{?homepage|}}}|"{{{?homepage}}}" is homepage of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=EventSeries
|EventSeries acronym={{{acronym|}}}
|EventSeries homepage={{{homepage|}}}
}}
|#default={{#set:
|isA=EventSeries
|EventSeries acronym={{{acronym|}}}
|EventSeries homepage={{{homepage|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
= events =
{{#ask:[[Concept:Event]][[Event series::{{FULLPAGENAME}}]]
| ?Event acronym = acronym
| ?Event wikidataid = wikidataid
| ?Event homepage = homepage
| ?Event series = series
| ?Event city = city
| ?Event region = region
| ?Event country = country
|sort=Event acronym
|order=ascending
}}
|tableheader={{{!}} class='wikitable'
!acronym!!homepage
{{!}}-
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{homepage|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}EventSeries
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/EventSeries/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!acronym
{{!}} {{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}-
!homepage
{{!}} {{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:EventSeries]]{{#default_form:EventSeries}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.