Template:EventSeries

From BITPlan cr Wiki
Jump to navigation Jump to search

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
}}

viewmode tablefooter

{{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
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}-
!homepage
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:EventSeries]]{{#default_form:EventSeries}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.