Difference between revisions of "Template:Event"

From BITPlan cr Wiki
Jump to navigation Jump to search
m (created by WikiTask 2020-10-06T06:25:07Z)
(modified by py-yprinciple-gen 0.1.1)
Line 1: Line 1:
<noinclude>
+
<noinclude><!--
<!--
+
   --     Copyright (C) 2015-2022 BITPlan GmbH
   -- Copyright (C) 2015-2020 BITPlan GmbH
 
 
   --  
 
   --  
   -- Pater-Delp-Str. -- 1
+
   --     Pater-Delp-Str. -- 1
   -- D-47877 -- Willich-Schiefbahn
+
   --     D-47877 -- Willich-Schiefbahn
 
   --  
 
   --  
   -- http://www.bitplan.com
+
   --     http://www.bitplan.com
 
   --
 
   --
 
   --  
 
   --  
 
-->
 
-->
This is the template {{Link|target=Template:Event|title=Event}}.
+
This is the [https://wiki.bitplan.com/index.php/ProfiWiki BITPlan Y-Prinzip ProfiWiki]-Template for "Event".
It belongs to the concept/topic {{Link|target=:Concept:Event}}<br>
+
=== see also ===
You may find examples for the use of this template via the {{Link|target=List of Events}}.
+
see also
 +
* [[List of Events]]
 +
* [[Help:Event]]
 +
* [[Concept:Event]]
 +
* [[:Category:Event]]
 +
* [[:Template:Event]]
 +
* [[:Form:Event]]
 +
topic links:
 
=== Usage ===
 
=== Usage ===
==== storemode subobject ====
 
 
<pre>{{Event
 
<pre>{{Event
 
|acronym=
 
|acronym=
|wikidataid=
 
 
|homepage=
 
|homepage=
|series=
 
|city=
 
|region=
 
|country=
 
|storemode=subobject
 
}}
 
</pre>
 
 
==== storemode property ====
 
<pre>{{Event
 
|acronym=
 
 
|wikidataid=
 
|wikidataid=
|homepage=
+
|storemode=property or subjobject or none"
|series=
 
|city=
 
|region=
 
|country=
 
|storemode=property
 
 
}}
 
}}
</pre>
+
[[Category:Template]]
 
+
</noinclude><includeonly>{{#switch:{{{storemode|}}}
==== 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
 
|acronym=
 
|wikidataid=
 
|homepage=
 
|series=
 
|city=
 
|region=
 
|country=
 
|viewmode=tablefooter
 
}}
 
</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=
 
|none=
 
|subobject={{#subobject:-
 
|subobject={{#subobject:-
 
|isA=Event
 
|isA=Event
|Event acronym={{{acronym|}}}
+
|acronym={{{acronym|}}}
|Event wikidataid={{{wikidataid|}}}
+
|homepage={{{homepage|}}}
|Event homepage={{{homepage|}}}
+
|wikidataid={{{wikidataid|}}}
|Event series={{{series|}}}
 
|Event city={{{city|}}}
 
|Event region={{{region|}}}
 
|Event country={{{country|}}}
 
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Event
 
|isA=Event
 
|Event acronym={{{acronym|}}}
 
|Event acronym={{{acronym|}}}
 +
|Event homepage={{{homepage|}}}
 
|Event wikidataid={{{wikidataid|}}}
 
|Event wikidataid={{{wikidataid|}}}
|Event homepage={{{homepage|}}}
 
|Event series={{{series|}}}
 
|Event city={{{city|}}}
 
|Event region={{{region|}}}
 
|Event country={{{country|}}}
 
 
}}
 
}}
 
}}
 
}}
{{#switch: {{{viewmode|}}}
+
{{{!}} class='wikitable'
|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
 
! colspan='2' {{!}}Event
 
{{!}}-
 
{{!}}-
Line 158: Line 50:
 
}}
 
}}
 
!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
 
{{!}}&nbsp;{{#if:{{{city|}}}|[[{{{city|}}}]]|}}
 
{{!}}-
 
!region
 
{{!}}&nbsp;{{#if:{{{region|}}}|[[{{{region|}}}]]|}}
 
{{!}}-
 
!country
 
{{!}}&nbsp;{{#if:{{{country|}}}|[[{{{country|}}}]]|}}
 
{{!}}-
 
{{!}}}
 
}}
 
}}
 
[[Category:Event]]{{#default_form:Event}}
 
</source>
 
=== Source ===
 
Click on "Edit" to edit the noinclude-part Source of this Template.
 
[[Category:Template]]
 
 
 
</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
 
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
 
 
{{!}}-
 
{{!}}-
 
!wikidataid
 
!wikidataid
{{!}}&nbsp;{{#if:{{{wikidataid|}}}|{{{wikidataid|}}}|}}
+
{{!}}&nbsp;{{#if:{{{wikidataid|}}}|{{{wikidataid}}}|}}
 
{{!}}-
 
{{!}}-
!homepage
+
{{!}}}[[Category:Event]]{{#default_form:Event}}
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
+
</includeonly>
{{!}}-
 
!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}}</includeonly>
 

Revision as of 09:08, 17 January 2023

This is the BITPlan Y-Prinzip ProfiWiki-Template for "Event".

see also

see also

topic links:

Usage

Event
acronym  
homepage  
wikidataid