Difference between revisions of "Template:Event"

From BITPlan cr Wiki
Jump to navigation Jump to search
m (created by WikiTask 2020-10-06T06:13:25Z)
m (created by WikiTask 2020-10-06T06:25:07Z)
Line 21: Line 21:
 
|series=
 
|series=
 
|city=
 
|city=
|Region=
+
|region=
 
|country=
 
|country=
 
|storemode=subobject
 
|storemode=subobject
Line 34: Line 34:
 
|series=
 
|series=
 
|city=
 
|city=
|Region=
+
|region=
 
|country=
 
|country=
 
|storemode=property
 
|storemode=property
Line 47: Line 47:
 
|series=
 
|series=
 
|city=
 
|city=
|Region=
+
|region=
 
|country=
 
|country=
 
|storemode=none
 
|storemode=none
Line 61: Line 61:
 
|series=
 
|series=
 
|city=
 
|city=
|Region=
+
|region=
 
|country=
 
|country=
 
|viewmode=tableheader
 
|viewmode=tableheader
Line 74: Line 74:
 
|series=
 
|series=
 
|city=
 
|city=
|Region=
+
|region=
 
|country=
 
|country=
 
|viewmode=tablerow
 
|viewmode=tablerow
Line 87: Line 87:
 
|series=
 
|series=
 
|city=
 
|city=
|Region=
+
|region=
 
|country=
 
|country=
 
|viewmode=tablefooter
 
|viewmode=tablefooter
Line 100: Line 100:
 
|series=
 
|series=
 
|city=
 
|city=
|Region=
+
|region=
 
|country=
 
|country=
 
|viewmode=labelfield
 
|viewmode=labelfield
Line 114: Line 114:
 
{{#if:{{{?series|}}}|"{{{?series}}}" is series of it <br>|}}
 
{{#if:{{{?series|}}}|"{{{?series}}}" is series of it <br>|}}
 
{{#if:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}}
 
{{#if:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}}
{{#if:{{{?Region|}}}|"{{{?Region}}}" is Region of it <br>|}}
+
{{#if:{{{?region|}}}|"{{{?region}}}" is region of it <br>|}}
 
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
 
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
Line 125: Line 125:
 
|Event series={{{series|}}}
 
|Event series={{{series|}}}
 
|Event city={{{city|}}}
 
|Event city={{{city|}}}
|Event Region={{{Region|}}}
+
|Event region={{{region|}}}
 
|Event country={{{country|}}}
 
|Event country={{{country|}}}
 
}}
 
}}
Line 135: Line 135:
 
|Event series={{{series|}}}
 
|Event series={{{series|}}}
 
|Event city={{{city|}}}
 
|Event city={{{city|}}}
|Event Region={{{Region|}}}
+
|Event region={{{region|}}}
 
|Event country={{{country|}}}
 
|Event country={{{country|}}}
 
}}
 
}}
Line 143: Line 143:
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!acronym!!wikidataid!!homepage!!series!!city!!Region!!country
+
!acronym!!wikidataid!!homepage!!series!!city!!region!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{wikidataid|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{series|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{Region|}}}{{!}}{{!}}{{{country|}}}
+
{{!}}{{{acronym|}}}{{!}}{{!}}{{{wikidataid|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{series|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{region|}}}{{!}}{{!}}{{{country|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>wikidataid={{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>series={{#if:{{{series|}}}|[[{{{series|}}}]]|}}<br>city={{#if:{{{city|}}}|[[{{{city|}}}]]|}}<br>Region={{#if:{{{Region|}}}|[[{{{Region|}}}]]|}}<br>country={{#if:{{{country|}}}|[[{{{country|}}}]]|}}<br>|#default={{{!}} class='wikitable'
+
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>wikidataid={{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>series={{#if:{{{series|}}}|[[{{{series|}}}]]|}}<br>city={{#if:{{{city|}}}|[[{{{city|}}}]]|}}<br>region={{#if:{{{region|}}}|[[{{{region|}}}]]|}}<br>country={{#if:{{{country|}}}|[[{{{country|}}}]]|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Event
 
! colspan='2' {{!}}Event
 
{{!}}-
 
{{!}}-
Line 172: Line 172:
 
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
 
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
 
{{!}}-
 
{{!}}-
!Region
+
!region
{{!}}&nbsp;{{#if:{{{Region|}}}|[[{{{Region|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{region|}}}|[[{{{region|}}}]]|}}
 
{{!}}-
 
{{!}}-
 
!country
 
!country
Line 193: Line 193:
 
{{#if:{{{?series|}}}|"{{{?series}}}" is series of it <br>|}}
 
{{#if:{{{?series|}}}|"{{{?series}}}" is series of it <br>|}}
 
{{#if:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}}
 
{{#if:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}}
{{#if:{{{?Region|}}}|"{{{?Region}}}" is Region of it <br>|}}
+
{{#if:{{{?region|}}}|"{{{?region}}}" is region of it <br>|}}
 
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
 
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
Line 204: Line 204:
 
|Event series={{{series|}}}
 
|Event series={{{series|}}}
 
|Event city={{{city|}}}
 
|Event city={{{city|}}}
|Event Region={{{Region|}}}
+
|Event region={{{region|}}}
 
|Event country={{{country|}}}
 
|Event country={{{country|}}}
 
}}
 
}}
Line 214: Line 214:
 
|Event series={{{series|}}}
 
|Event series={{{series|}}}
 
|Event city={{{city|}}}
 
|Event city={{{city|}}}
|Event Region={{{Region|}}}
+
|Event region={{{region|}}}
 
|Event country={{{country|}}}
 
|Event country={{{country|}}}
 
}}
 
}}
Line 222: Line 222:
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!acronym!!wikidataid!!homepage!!series!!city!!Region!!country
+
!acronym!!wikidataid!!homepage!!series!!city!!region!!country
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{wikidataid|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{series|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{Region|}}}{{!}}{{!}}{{{country|}}}
+
{{!}}{{{acronym|}}}{{!}}{{!}}{{{wikidataid|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{series|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{region|}}}{{!}}{{!}}{{{country|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>wikidataid={{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>series={{#if:{{{series|}}}|[[{{{series|}}}]]|}}<br>city={{#if:{{{city|}}}|[[{{{city|}}}]]|}}<br>Region={{#if:{{{Region|}}}|[[{{{Region|}}}]]|}}<br>country={{#if:{{{country|}}}|[[{{{country|}}}]]|}}<br>|#default={{{!}} class='wikitable'
+
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>wikidataid={{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>series={{#if:{{{series|}}}|[[{{{series|}}}]]|}}<br>city={{#if:{{{city|}}}|[[{{{city|}}}]]|}}<br>region={{#if:{{{region|}}}|[[{{{region|}}}]]|}}<br>country={{#if:{{{country|}}}|[[{{{country|}}}]]|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Event
 
! colspan='2' {{!}}Event
 
{{!}}-
 
{{!}}-
Line 251: Line 251:
 
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
 
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
 
{{!}}-
 
{{!}}-
!Region
+
!region
{{!}}&nbsp;{{#if:{{{Region|}}}|[[{{{Region|}}}]]|}}
+
{{!}}&nbsp;{{#if:{{{region|}}}|[[{{{region|}}}]]|}}
 
{{!}}-
 
{{!}}-
 
!country
 
!country

Revision as of 07:25, 6 October 2020

This is the template Event. It belongs to the concept/topic Concept:Event
You may find examples for the use of this template via the List of Events.

Usage

storemode subobject

{{Event
|acronym=
|wikidataid=
|homepage=
|series=
|city=
|region=
|country=
|storemode=subobject
}}

storemode property

{{Event
|acronym=
|wikidataid=
|homepage=
|series=
|city=
|region=
|country=
|storemode=property
}}

storemode none

{{Event
|acronym=
|wikidataid=
|homepage=
|series=
|city=
|region=
|country=
|storemode=none
}}


viewmode tableheader

{{Event
|acronym=
|wikidataid=
|homepage=
|series=
|city=
|region=
|country=
|viewmode=tableheader
}}

viewmode tablerow

{{Event
|acronym=
|wikidataid=
|homepage=
|series=
|city=
|region=
|country=
|viewmode=tablerow
}}

viewmode tablefooter

{{Event
|acronym=
|wikidataid=
|homepage=
|series=
|city=
|region=
|country=
|viewmode=tablefooter
}}

viewmode labelfield

{{Event
|acronym=
|wikidataid=
|homepage=
|series=
|city=
|region=
|country=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Event<br>|}}
{{#if:{{{?acronym|}}}|"{{{?acronym}}}" is acronym of it <br>|}}
{{#if:{{{?wikidataid|}}}|"{{{?wikidataid}}}" is wikidataid of it <br>|}}
{{#if:{{{?homepage|}}}|"{{{?homepage}}}" is homepage of it <br>|}}
{{#if:{{{?series|}}}|"{{{?series}}}" is series of it <br>|}}
{{#if:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}}
{{#if:{{{?region|}}}|"{{{?region}}}" is region of it <br>|}}
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Event
|Event acronym={{{acronym|}}}
|Event wikidataid={{{wikidataid|}}}
|Event homepage={{{homepage|}}}
|Event series={{{series|}}}
|Event city={{{city|}}}
|Event region={{{region|}}}
|Event country={{{country|}}}
}}
|#default={{#set:
|isA=Event
|Event acronym={{{acronym|}}}
|Event wikidataid={{{wikidataid|}}}
|Event homepage={{{homepage|}}}
|Event series={{{series|}}}
|Event city={{{city|}}}
|Event region={{{region|}}}
|Event country={{{country|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!acronym!!wikidataid!!homepage!!series!!city!!region!!country
{{!}}-
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{wikidataid|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{series|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{region|}}}{{!}}{{!}}{{{country|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>wikidataid={{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>series={{#if:{{{series|}}}|[[{{{series|}}}]]|}}<br>city={{#if:{{{city|}}}|[[{{{city|}}}]]|}}<br>region={{#if:{{{region|}}}|[[{{{region|}}}]]|}}<br>country={{#if:{{{country|}}}|[[{{{country|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Event
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Event/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!acronym
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}-
!wikidataid
{{!}}&nbsp;{{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}
{{!}}-
!homepage
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
!series
{{!}}&nbsp;{{#if:{{{series|}}}|[[{{{series|}}}]]|}}
{{!}}-
!city
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
{{!}}-
!region
{{!}}&nbsp;{{#if:{{{region|}}}|[[{{{region|}}}]]|}}
{{!}}-
!country
{{!}}&nbsp;{{#if:{{{country|}}}|[[{{{country|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Event]]{{#default_form:Event}}

Source

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