Template:Event
Jump to navigation
Jump to search
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= |storemode=subobject }}
storemode property
{{Event |acronym= |storemode=property }}
storemode none
{{Event |acronym= |storemode=none }}
viewmode tableheader
{{Event |acronym= |viewmode=tableheader }}
viewmode tablerow
{{Event |acronym= |viewmode=tablerow }}
{{Event |acronym= |viewmode=tablefooter }}
viewmode labelfield
{{Event |acronym= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Event<br>|}}
{{#if:{{{?acronym|}}}|"{{{?acronym}}}" is acronym of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Event
|Event acronym={{{acronym|}}}
}}
|#default={{#set:
|isA=Event
|Event acronym={{{acronym|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!acronym
{{!}}-
|tablerow=
{{!}}{{{acronym|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<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|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Event]]{{#default_form:Event}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.