Difference between revisions of "Template:Event"
(pushed from cr by wikipush) |
|||
Line 1: | Line 1: | ||
− | <noinclude>This template | + | <noinclude> |
+ | <!-- | ||
+ | -- Copyright (C) 2015-2020 BITPlan GmbH | ||
+ | -- | ||
+ | -- Pater-Delp-Str. -- 1 | ||
+ | -- D-47877 -- Willich-Schiefbahn | ||
+ | -- | ||
+ | -- http://www.bitplan.com | ||
+ | -- | ||
+ | -- | ||
+ | --> | ||
+ | This is the template {{Link|target=Template:Event|title=Event}}. | ||
+ | It belongs to the concept/topic {{Link|target=:Concept:Event}}<br> | ||
+ | You may find examples for the use of this template via the {{Link|target=List of Events}}. | ||
+ | === Usage === | ||
+ | ==== storemode subobject ==== | ||
+ | <pre>{{Event | ||
+ | |acronym= | ||
+ | |wikidataid= | ||
+ | |homepage= | ||
+ | |series= | ||
+ | |city= | ||
+ | |region= | ||
+ | |country= | ||
+ | |storemode=subobject | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ==== storemode property ==== | ||
+ | <pre>{{Event | ||
+ | |acronym= | ||
+ | |wikidataid= | ||
+ | |homepage= | ||
+ | |series= | ||
+ | |city= | ||
+ | |region= | ||
+ | |country= | ||
+ | |storemode=property | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ==== storemode none ==== | ||
+ | <pre>{{Event | ||
+ | |acronym= | ||
+ | |wikidataid= | ||
+ | |homepage= | ||
+ | |series= | ||
+ | |city= | ||
+ | |region= | ||
+ | |country= | ||
+ | |storemode=none | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | ==== viewmode tableheader ==== | ||
+ | <pre>{{Event | ||
+ | |acronym= | ||
+ | |wikidataid= | ||
+ | |homepage= | ||
+ | |series= | ||
+ | |city= | ||
+ | |region= | ||
+ | |country= | ||
+ | |viewmode=tableheader | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | ==== viewmode tablerow ==== | ||
+ | <pre>{{Event | ||
+ | |acronym= | ||
+ | |wikidataid= | ||
+ | |homepage= | ||
+ | |series= | ||
+ | |city= | ||
+ | |region= | ||
+ | |country= | ||
+ | |viewmode=tablerow | ||
+ | }} | ||
+ | </pre> | ||
− | + | ==== viewmode tablefooter ==== | |
<pre>{{Event | <pre>{{Event | ||
− | + | |acronym= | |
− | + | |wikidataid= | |
− | + | |homepage= | |
− | + | |series= | |
− | + | |city= | |
− | + | |region= | |
− | + | |country= | |
− | + | |viewmode=tablefooter | |
− | + | }} | |
− | + | </pre> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}</pre> | ||
− | |||
− | '' | + | ==== viewmode labelfield ==== |
+ | <pre>{{Event | ||
+ | |acronym= | ||
+ | |wikidataid= | ||
+ | |homepage= | ||
+ | |series= | ||
+ | |city= | ||
+ | |region= | ||
+ | |country= | ||
+ | |viewmode=labelfield | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | === Source (pretty printed) === | ||
+ | <source lang='html4strict'> | ||
+ | {{#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 | ||
+ | {{!}} {{#if:{{{acronym|}}}|{{{acronym|}}}|}} | ||
+ | {{!}}- | ||
+ | !wikidataid | ||
+ | {{!}} {{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}} | ||
+ | {{!}}- | ||
+ | !homepage | ||
+ | {{!}} {{#if:{{{homepage|}}}|{{{homepage|}}}|}} | ||
+ | {{!}}- | ||
+ | !series | ||
+ | {{!}} {{#if:{{{series|}}}|[[{{{series|}}}]]|}} | ||
+ | {{!}}- | ||
+ | !city | ||
+ | {{!}} {{#if:{{{city|}}}|[[{{{city|}}}]]|}} | ||
+ | {{!}}- | ||
+ | !region | ||
+ | {{!}} {{#if:{{{region|}}}|[[{{{region|}}}]]|}} | ||
+ | {{!}}- | ||
+ | !country | ||
+ | {{!}} {{#if:{{{country|}}}|[[{{{country|}}}]]|}} | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
+ | }} | ||
+ | }} | ||
+ | [[Category:Event]]{{#default_form:Event}} | ||
+ | </source> | ||
+ | === Source === | ||
+ | Click on "Edit" to edit the noinclude-part Source of this Template. | ||
[[Category:Template]] | [[Category:Template]] | ||
− | </noinclude> | + | |
− | {| | + | </noinclude><includeonly>{{#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 | ||
+ | {{!}} {{#if:{{{acronym|}}}|{{{acronym|}}}|}} | ||
+ | {{!}}- | ||
+ | !wikidataid | ||
+ | {{!}} {{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}} | ||
+ | {{!}}- | ||
+ | !homepage | ||
+ | {{!}} {{#if:{{{homepage|}}}|{{{homepage|}}}|}} | ||
+ | {{!}}- | ||
+ | !series | ||
+ | {{!}} {{#if:{{{series|}}}|[[{{{series|}}}]]|}} | ||
+ | {{!}}- | ||
+ | !city | ||
+ | {{!}} {{#if:{{{city|}}}|[[{{{city|}}}]]|}} | ||
+ | {{!}}- | ||
+ | !region | ||
+ | {{!}} {{#if:{{{region|}}}|[[{{{region|}}}]]|}} | ||
+ | {{!}}- | ||
+ | !country | ||
+ | {{!}} {{#if:{{{country|}}}|[[{{{country|}}}]]|}} | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
+ | }} | ||
}} | }} | ||
− | + | [[Category:Event]]{{#default_form:Event}}</includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#default_form:Event}} | ||
− | </includeonly> |
Revision as of 12:47, 16 November 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.
Contents
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 }}
{{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
{{!}} {{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}-
!wikidataid
{{!}} {{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}
{{!}}-
!homepage
{{!}} {{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
!series
{{!}} {{#if:{{{series|}}}|[[{{{series|}}}]]|}}
{{!}}-
!city
{{!}} {{#if:{{{city|}}}|[[{{{city|}}}]]|}}
{{!}}-
!region
{{!}} {{#if:{{{region|}}}|[[{{{region|}}}]]|}}
{{!}}-
!country
{{!}} {{#if:{{{country|}}}|[[{{{country|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Event]]{{#default_form:Event}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.