Template:Event: Difference between revisions

From BITPlan cr Wiki
Jump to navigation Jump to search
m (created by WikiTask 2020-07-25T17:52:47Z)
m (created by WikiTask 2020-10-06T06:13:25Z)
Line 17: Line 17:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|wikidataid=
|homepage=
|homepage=
|series=
|city=
|city=
|state=
|Region=
|country=
|country=
|storemode=subobject
|storemode=subobject
Line 28: Line 30:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|wikidataid=
|homepage=
|homepage=
|series=
|city=
|city=
|state=
|Region=
|country=
|country=
|storemode=property
|storemode=property
Line 39: Line 43:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|wikidataid=
|homepage=
|homepage=
|series=
|city=
|city=
|state=
|Region=
|country=
|country=
|storemode=none
|storemode=none
Line 51: Line 57:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|wikidataid=
|homepage=
|homepage=
|series=
|city=
|city=
|state=
|Region=
|country=
|country=
|viewmode=tableheader
|viewmode=tableheader
Line 62: Line 70:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|wikidataid=
|homepage=
|homepage=
|series=
|city=
|city=
|state=
|Region=
|country=
|country=
|viewmode=tablerow
|viewmode=tablerow
Line 73: Line 83:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|wikidataid=
|homepage=
|homepage=
|series=
|city=
|city=
|state=
|Region=
|country=
|country=
|viewmode=tablefooter
|viewmode=tablefooter
Line 84: Line 96:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|wikidataid=
|homepage=
|homepage=
|series=
|city=
|city=
|state=
|Region=
|country=
|country=
|viewmode=labelfield
|viewmode=labelfield
Line 96: Line 110:
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Event<br>|}}
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Event<br>|}}
{{#if:{{{?acronym|}}}|"{{{?acronym}}}" is acronym of it <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:{{{?homepage|}}}|"{{{?homepage}}}" is homepage 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:{{{?state|}}}|"{{{?state}}}" is state 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 105: Line 121:
|isA=Event
|isA=Event
|Event acronym={{{acronym|}}}
|Event acronym={{{acronym|}}}
|Event wikidataid={{{wikidataid|}}}
|Event homepage={{{homepage|}}}
|Event homepage={{{homepage|}}}
|Event series={{{series|}}}
|Event city={{{city|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event Region={{{Region|}}}
|Event country={{{country|}}}
|Event country={{{country|}}}
}}
}}
Line 113: Line 131:
|isA=Event
|isA=Event
|Event acronym={{{acronym|}}}
|Event acronym={{{acronym|}}}
|Event wikidataid={{{wikidataid|}}}
|Event homepage={{{homepage|}}}
|Event homepage={{{homepage|}}}
|Event series={{{series|}}}
|Event city={{{city|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event Region={{{Region|}}}
|Event country={{{country|}}}
|Event country={{{country|}}}
}}
}}
Line 123: Line 143:
|masterdetail=
|masterdetail=
|tableheader={{{!}} class='wikitable'
|tableheader={{{!}} class='wikitable'
!acronym!!homepage!!city!!state!!country
!acronym!!wikidataid!!homepage!!series!!city!!Region!!country
{{!}}-
{{!}}-
|tablerow=
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{country|}}}
{{!}}{{{acronym|}}}{{!}}{{!}}{{{wikidataid|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{series|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{Region|}}}{{!}}{{!}}{{{country|}}}
{{!}}-
{{!}}-
|tablefooter={{!}}}
|tablefooter={{!}}}
|labelfield=
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>city={{#if:{{{city|}}}|[[{{{city|}}}]]|}}<br>state={{#if:{{{state|}}}|[[{{{state|}}}]]|}}<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 139: Line 159:
!acronym
!acronym
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}-
!wikidataid
{{!}}&nbsp;{{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}
{{!}}-
{{!}}-
!homepage
!homepage
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
!series
{{!}}&nbsp;{{#if:{{{series|}}}|[[{{{series|}}}]]|}}
{{!}}-
{{!}}-
!city
!city
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
{{!}}-
{{!}}-
!state
!Region
{{!}}&nbsp;{{#if:{{{state|}}}|[[{{{state|}}}]]|}}
{{!}}&nbsp;{{#if:{{{Region|}}}|[[{{{Region|}}}]]|}}
{{!}}-
{{!}}-
!country
!country
Line 163: Line 189:
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Event<br>|}}
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Event<br>|}}
{{#if:{{{?acronym|}}}|"{{{?acronym}}}" is acronym of it <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:{{{?homepage|}}}|"{{{?homepage}}}" is homepage 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:{{{?state|}}}|"{{{?state}}}" is state 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 172: Line 200:
|isA=Event
|isA=Event
|Event acronym={{{acronym|}}}
|Event acronym={{{acronym|}}}
|Event wikidataid={{{wikidataid|}}}
|Event homepage={{{homepage|}}}
|Event homepage={{{homepage|}}}
|Event series={{{series|}}}
|Event city={{{city|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event Region={{{Region|}}}
|Event country={{{country|}}}
|Event country={{{country|}}}
}}
}}
Line 180: Line 210:
|isA=Event
|isA=Event
|Event acronym={{{acronym|}}}
|Event acronym={{{acronym|}}}
|Event wikidataid={{{wikidataid|}}}
|Event homepage={{{homepage|}}}
|Event homepage={{{homepage|}}}
|Event series={{{series|}}}
|Event city={{{city|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event Region={{{Region|}}}
|Event country={{{country|}}}
|Event country={{{country|}}}
}}
}}
Line 190: Line 222:
|masterdetail=
|masterdetail=
|tableheader={{{!}} class='wikitable'
|tableheader={{{!}} class='wikitable'
!acronym!!homepage!!city!!state!!country
!acronym!!wikidataid!!homepage!!series!!city!!Region!!country
{{!}}-
{{!}}-
|tablerow=
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{country|}}}
{{!}}{{{acronym|}}}{{!}}{{!}}{{{wikidataid|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{series|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{Region|}}}{{!}}{{!}}{{{country|}}}
{{!}}-
{{!}}-
|tablefooter={{!}}}
|tablefooter={{!}}}
|labelfield=
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>city={{#if:{{{city|}}}|[[{{{city|}}}]]|}}<br>state={{#if:{{{state|}}}|[[{{{state|}}}]]|}}<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 206: Line 238:
!acronym
!acronym
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}-
!wikidataid
{{!}}&nbsp;{{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}
{{!}}-
{{!}}-
!homepage
!homepage
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
!series
{{!}}&nbsp;{{#if:{{{series|}}}|[[{{{series|}}}]]|}}
{{!}}-
{{!}}-
!city
!city
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
{{!}}-
{{!}}-
!state
!Region
{{!}}&nbsp;{{#if:{{{state|}}}|[[{{{state|}}}]]|}}
{{!}}&nbsp;{{#if:{{{Region|}}}|[[{{{Region|}}}]]|}}
{{!}}-
{{!}}-
!country
!country

Revision as of 06:13, 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.