Template:EventSeries: Difference between revisions

From BITPlan cr Wiki
Jump to navigation Jump to search
m (created by WikiTask 2020-10-06T06:24:49Z)
(modified by py-yprinciple-gen 0.2.1)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude><!--
<!--
   --     Copyright (C) 2015-2023 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:EventSeries|title=EventSeries}}.
This is the [https://wiki.bitplan.com/index.php/ProfiWiki BITPlan Y-Prinzip ProfiWiki]-Template for "EventSeries".
It belongs to the concept/topic {{Link|target=:Concept:EventSeries}}<br>
=== see also ===
You may find examples for the use of this template via the {{Link|target=List of EventSeries}}.
see also
* [[List of EventSeries]]
* [[Help:EventSeries]]
* [[Concept:EventSeries]]
* [[:Category:EventSeries]]
* [[:Template:EventSeries]]
* [[:Form:EventSeries]]
topic links:* [[:Category:Event]]
 
=== Usage ===
=== Usage ===
==== storemode subobject ====
<pre>{{EventSeries
<pre>{{EventSeries
|acronym=
|acronym=
|description=
|title=
|wikidataid=
|homepage=
|homepage=
|storemode=subobject
|storemode=property or subjobject or none"
}}
}}
</pre>
[[Category:Template]]
 
</noinclude><includeonly>{{#switch:{{{storemode|}}}
==== storemode property ====
<pre>{{EventSeries
|acronym=
|homepage=
|storemode=property
}}
</pre>
 
==== storemode none ====
<pre>{{EventSeries
|acronym=
|homepage=
|storemode=none
}}
</pre>
 
 
==== viewmode tableheader ====
<pre>{{EventSeries
|acronym=
|homepage=
|viewmode=tableheader
}}
</pre>
 
==== viewmode tablerow ====
<pre>{{EventSeries
|acronym=
|homepage=
|viewmode=tablerow
}}
</pre>
 
==== viewmode tablefooter ====
<pre>{{EventSeries
|acronym=
|homepage=
|viewmode=tablefooter
}}
</pre>
 
==== viewmode labelfield ====
<pre>{{EventSeries
|acronym=
|homepage=
|viewmode=labelfield
}}
</pre>
 
=== Source (pretty printed) ===
<source lang='html4strict'>
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA EventSeries<br>|}}
{{#if:{{{?acronym|}}}|"{{{?acronym}}}" is acronym of it <br>|}}
{{#if:{{{?homepage|}}}|"{{{?homepage}}}" is homepage of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|none=
|subobject={{#subobject:-
|subobject={{#subobject:-
|isA=EventSeries
|isA=EventSeries
|EventSeries acronym={{{acronym|}}}
|EventSeries acronym={{{acronym|}}}
|EventSeries description={{{description|}}}
|EventSeries title={{{title|}}}
|EventSeries wikidataid={{{wikidataid|}}}
|EventSeries homepage={{{homepage|}}}
|EventSeries homepage={{{homepage|}}}
}}
}}
Line 86: Line 43:
|isA=EventSeries
|isA=EventSeries
|EventSeries acronym={{{acronym|}}}
|EventSeries acronym={{{acronym|}}}
|EventSeries description={{{description|}}}
|EventSeries title={{{title|}}}
|EventSeries wikidataid={{{wikidataid|}}}
|EventSeries homepage={{{homepage|}}}
|EventSeries homepage={{{homepage|}}}
}}
}}
}}
}}
{{#switch: {{{viewmode|}}}
{{{!}} class='wikitable'
|hidden=
|masterdetail=
= events =
{{#ask:[[Concept:Event]][[Event series::{{FULLPAGENAME}}]]
| ?Event acronym = acronym
| ?Event wikidataid = wikidataid
| ?Event homepage = homepage
| ?Event series = series
| ?Event city = city
| ?Event region = region
| ?Event country = country
 
|sort=Event acronym
|order=ascending
}}
|tableheader={{{!}} class='wikitable'
!acronym!!homepage
{{!}}-
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{homepage|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}EventSeries
! colspan='2' {{!}}EventSeries
{{!}}-
{{!}}-
Line 120: Line 56:
{{!}}-
{{!}}-
}}
}}
!acronym
![[Property:EventSeries acronym|acronym]]
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym}}}|}}
{{!}}-
!homepage
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:EventSeries]]{{#default_form:EventSeries}}
</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 EventSeries<br>|}}
{{#if:{{{?acronym|}}}|"{{{?acronym}}}" is acronym of it <br>|}}
{{#if:{{{?homepage|}}}|"{{{?homepage}}}" is homepage of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=EventSeries
|EventSeries acronym={{{acronym|}}}
|EventSeries homepage={{{homepage|}}}
}}
|#default={{#set:
|isA=EventSeries
|EventSeries acronym={{{acronym|}}}
|EventSeries homepage={{{homepage|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
= events =
{{#ask:[[Concept:Event]][[Event series::{{FULLPAGENAME}}]]
| ?Event acronym = acronym
| ?Event wikidataid = wikidataid
| ?Event homepage = homepage
| ?Event series = series
| ?Event city = city
| ?Event region = region
| ?Event country = country
 
|sort=Event acronym
|order=ascending
}}
|tableheader={{{!}} class='wikitable'
!acronym!!homepage
{{!}}-
|tablerow=
{{!}}{{{acronym|}}}{{!}}{{!}}{{{homepage|}}}
{{!}}-
{{!}}-
|tablefooter={{!}}}
![[Property:EventSeries description|description]]
|labelfield=
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description}}}|}}
acronym={{#if:{{{acronym|}}}|{{{acronym|}}}|}}<br>homepage={{#if:{{{homepage|}}}|{{{homepage|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}EventSeries
{{!}}-
{{!}}-
{{#switch:{{{storemode|}}}|property=
![[Property:EventSeries title|title]]
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/EventSeries/{{FULLPAGENAME}}|title=edit}}
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title}}}|}}
{{!}}-
{{!}}-
}}
![[Property:EventSeries wikidataid|wikidataid]]
!acronym
{{!}}&nbsp;{{#if:{{{wikidataid|}}}|{{{wikidataid}}}|}}→{{#show: {{PAGENAME}}|?EventSeries wikidataid}}
{{!}}&nbsp;{{#if:{{{acronym|}}}|{{{acronym|}}}|}}
{{!}}-
{{!}}-
!homepage
![[Property:EventSeries homepage|homepage]]
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage|}}}|}}
{{!}}&nbsp;{{#if:{{{homepage|}}}|{{{homepage}}}|}}
{{!}}-
{{!}}-
{{!}}}
{{!}}}[[Category:EventSeries]]{{#default_form:EventSeries}}
}}
</includeonly>
}}
[[Category:EventSeries]]{{#default_form:EventSeries}}</includeonly>

Latest revision as of 07:59, 5 March 2023