Template:Event: Difference between revisions

From BITPlan cr Wiki
Jump to navigation Jump to search
m (created by WikiTask 2020-07-23T10:51:40Z)
m (created by WikiTask 2020-07-25T17:52:47Z)
Line 17: Line 17:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|homepage=
|city=
|city=
|state=
|state=
Line 27: Line 28:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|homepage=
|city=
|city=
|state=
|state=
Line 37: Line 39:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|homepage=
|city=
|city=
|state=
|state=
Line 48: Line 51:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|homepage=
|city=
|city=
|state=
|state=
Line 58: Line 62:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|homepage=
|city=
|city=
|state=
|state=
Line 68: Line 73:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|homepage=
|city=
|city=
|state=
|state=
Line 78: Line 84:
<pre>{{Event
<pre>{{Event
|acronym=
|acronym=
|homepage=
|city=
|city=
|state=
|state=
Line 89: Line 96:
{{#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:{{{?homepage|}}}|"{{{?homepage}}}" is homepage 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:{{{?state|}}}|"{{{?state}}}" is state of it <br>|}}
Line 97: Line 105:
|isA=Event
|isA=Event
|Event acronym={{{acronym|}}}
|Event acronym={{{acronym|}}}
|Event homepage={{{homepage|}}}
|Event city={{{city|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event state={{{state|}}}
Line 104: Line 113:
|isA=Event
|isA=Event
|Event acronym={{{acronym|}}}
|Event acronym={{{acronym|}}}
|Event homepage={{{homepage|}}}
|Event city={{{city|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event state={{{state|}}}
Line 113: Line 123:
|masterdetail=
|masterdetail=
|tableheader={{{!}} class='wikitable'
|tableheader={{{!}} class='wikitable'
!acronym!!city!!state!!country
!acronym!!homepage!!city!!state!!country
{{!}}-
{{!}}-
|tablerow=
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{country|}}}
{{!}}{{{acronym|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{country|}}}
{{!}}-
{{!}}-
|tablefooter={{!}}}
|tablefooter={{!}}}
|labelfield=
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>city={{#if:{{{city|}}}|[[{{{city|}}}]]|}}<br>state={{#if:{{{state|}}}|[[{{{state|}}}]]|}}<br>country={{#if:{{{country|}}}|[[{{{country|}}}]]|}}<br>|#default={{{!}} class='wikitable'
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'
! colspan='2' {{!}}Event
! colspan='2' {{!}}Event
{{!}}-
{{!}}-
Line 129: Line 139:
!acronym
!acronym
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}-
!homepage
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
{{!}}-
!city
!city
Line 150: Line 163:
</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:{{{?homepage|}}}|"{{{?homepage}}}" is homepage 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:{{{?state|}}}|"{{{?state}}}" is state of it <br>|}}
Line 158: Line 172:
|isA=Event
|isA=Event
|Event acronym={{{acronym|}}}
|Event acronym={{{acronym|}}}
|Event homepage={{{homepage|}}}
|Event city={{{city|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event state={{{state|}}}
Line 165: Line 180:
|isA=Event
|isA=Event
|Event acronym={{{acronym|}}}
|Event acronym={{{acronym|}}}
|Event homepage={{{homepage|}}}
|Event city={{{city|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event state={{{state|}}}
Line 174: Line 190:
|masterdetail=
|masterdetail=
|tableheader={{{!}} class='wikitable'
|tableheader={{{!}} class='wikitable'
!acronym!!city!!state!!country
!acronym!!homepage!!city!!state!!country
{{!}}-
{{!}}-
|tablerow=
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{country|}}}
{{!}}{{{acronym|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{country|}}}
{{!}}-
{{!}}-
|tablefooter={{!}}}
|tablefooter={{!}}}
|labelfield=
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>city={{#if:{{{city|}}}|[[{{{city|}}}]]|}}<br>state={{#if:{{{state|}}}|[[{{{state|}}}]]|}}<br>country={{#if:{{{country|}}}|[[{{{country|}}}]]|}}<br>|#default={{{!}} class='wikitable'
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'
! colspan='2' {{!}}Event
! colspan='2' {{!}}Event
{{!}}-
{{!}}-
Line 190: Line 206:
!acronym
!acronym
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}-
!homepage
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
{{!}}-
!city
!city

Revision as of 17:52, 25 July 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=
|homepage=
|city=
|state=
|country=
|storemode=subobject
}}

storemode property

{{Event
|acronym=
|homepage=
|city=
|state=
|country=
|storemode=property
}}

storemode none

{{Event
|acronym=
|homepage=
|city=
|state=
|country=
|storemode=none
}}


viewmode tableheader

{{Event
|acronym=
|homepage=
|city=
|state=
|country=
|viewmode=tableheader
}}

viewmode tablerow

{{Event
|acronym=
|homepage=
|city=
|state=
|country=
|viewmode=tablerow
}}

viewmode tablefooter

{{Event
|acronym=
|homepage=
|city=
|state=
|country=
|viewmode=tablefooter
}}

viewmode labelfield

{{Event
|acronym=
|homepage=
|city=
|state=
|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:{{{?homepage|}}}|"{{{?homepage}}}" is homepage of it <br>|}}
{{#if:{{{?city|}}}|"{{{?city}}}" is city of it <br>|}}
{{#if:{{{?state|}}}|"{{{?state}}}" is state of it <br>|}}
{{#if:{{{?country|}}}|"{{{?country}}}" is country of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Event
|Event acronym={{{acronym|}}}
|Event homepage={{{homepage|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event country={{{country|}}}
}}
|#default={{#set:
|isA=Event
|Event acronym={{{acronym|}}}
|Event homepage={{{homepage|}}}
|Event city={{{city|}}}
|Event state={{{state|}}}
|Event country={{{country|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!acronym!!homepage!!city!!state!!country
{{!}}-
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{homepage|}}}{{!}}{{!}}{{{city|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{country|}}}
{{!}}-
|tablefooter={{!}}}
|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'
! 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|}}}|}}
{{!}}-
!homepage
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
!city
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
{{!}}-
!state
{{!}}&nbsp;{{#if:{{{state|}}}|[[{{{state|}}}]]|}}
{{!}}-
!country
{{!}}&nbsp;{{#if:{{{country|}}}|[[{{{country|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Event]]{{#default_form:Event}}

Source

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