Difference between revisions of "Template:Trainer"

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2017-11-08T17:40:01Z)
m (created by WikiTask 2017-11-10T10:11:57Z)
 
(2 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
|description=
 
|description=
 
|description_de=
 
|description_de=
 +
|rank=
 
|storemode=subobject
 
|storemode=subobject
 
}}
 
}}
Line 30: Line 31:
 
|description=
 
|description=
 
|description_de=
 
|description_de=
 +
|rank=
 
|storemode=property
 
|storemode=property
 
}}
 
}}
Line 40: Line 42:
 
|description=
 
|description=
 
|description_de=
 
|description_de=
 +
|rank=
 
|storemode=none
 
|storemode=none
 
}}
 
}}
Line 51: Line 54:
 
|description=
 
|description=
 
|description_de=
 
|description_de=
 +
|rank=
 
|viewmode=tableheader
 
|viewmode=tableheader
 
}}
 
}}
Line 61: Line 65:
 
|description=
 
|description=
 
|description_de=
 
|description_de=
 +
|rank=
 
|viewmode=tablerow
 
|viewmode=tablerow
 
}}
 
}}
Line 71: Line 76:
 
|description=
 
|description=
 
|description_de=
 
|description_de=
 +
|rank=
 
|viewmode=tablefooter
 
|viewmode=tablefooter
 
}}
 
}}
Line 81: Line 87:
 
|description=
 
|description=
 
|description_de=
 
|description_de=
 +
|rank=
 
|viewmode=labelfield
 
|viewmode=labelfield
 
}}
 
}}
Line 92: Line 99:
 
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
 
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
 
{{#if:{{{?description_de|}}}|"{{{?description_de}}}" is description_de of it <br>|}}
 
{{#if:{{{?description_de|}}}|"{{{?description_de}}}" is description_de of it <br>|}}
 +
{{#if:{{{?rank|}}}|"{{{?rank}}}" is rank of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 100: Line 108:
 
|Trainer description={{{description|}}}
 
|Trainer description={{{description|}}}
 
|Trainer description_de={{{description_de|}}}
 
|Trainer description_de={{{description_de|}}}
 +
|Trainer rank={{{rank|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
Line 107: Line 116:
 
|Trainer description={{{description|}}}
 
|Trainer description={{{description|}}}
 
|Trainer description_de={{{description_de|}}}
 
|Trainer description_de={{{description_de|}}}
 +
|Trainer rank={{{rank|}}}
 
}}
 
}}
 
}}
 
}}
Line 115: Line 125:
 
| ?Seminar kind = kind
 
| ?Seminar kind = kind
 
| ?Seminar lang = lang
 
| ?Seminar lang = lang
| ?Seminar thema = thema
 
 
| ?Seminar year = year
 
| ?Seminar year = year
 
| ?Seminar month = month
 
| ?Seminar month = month
 
| ?Seminar inHouse = inHouse
 
| ?Seminar inHouse = inHouse
| ?Seminar city = city
 
 
| ?Seminar from = from
 
| ?Seminar from = from
 
| ?Seminar to = to
 
| ?Seminar to = to
Line 128: Line 136:
 
| ?Seminar trainer = trainer
 
| ?Seminar trainer = trainer
 
| ?Seminar city = city
 
| ?Seminar city = city
 +
| ?Seminar thema = thema
  
 
|sort=Seminar year,Seminar month
 
|sort=Seminar year,Seminar month
Line 133: Line 142:
 
}}
 
}}
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!picture!!description!!description_de
+
!name!!picture!!description!!description_de!!rank
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{description_de|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{description_de|}}}{{!}}{{!}}{{{rank|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>picture={{#if:{{{picture|}}}|[[{{{picture|}}}]]|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>description_de={{#if:{{{description_de|}}}|{{{description_de|}}}|}}<br>|#default={{{!}} class='wikitable'
+
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>picture={{#if:{{{picture|}}}|[[{{{picture|}}}]]|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>description_de={{#if:{{{description_de|}}}|{{{description_de|}}}|}}<br>rank={{#if:{{{rank|}}}|{{{rank|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Trainer
 
! colspan='2' {{!}}Trainer
 
{{!}}-
 
{{!}}-
Line 158: Line 167:
 
!description de
 
!description de
 
{{!}}&nbsp;{{#if:{{{description_de|}}}|{{{description_de|}}}|}}
 
{{!}}&nbsp;{{#if:{{{description_de|}}}|{{{description_de|}}}|}}
 +
{{!}}-
 +
!rank
 +
{{!}}&nbsp;{{#if:{{{rank|}}}|{{{rank|}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
Line 173: Line 185:
 
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
 
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
 
{{#if:{{{?description_de|}}}|"{{{?description_de}}}" is description_de of it <br>|}}
 
{{#if:{{{?description_de|}}}|"{{{?description_de}}}" is description_de of it <br>|}}
 +
{{#if:{{{?rank|}}}|"{{{?rank}}}" is rank of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 181: Line 194:
 
|Trainer description={{{description|}}}
 
|Trainer description={{{description|}}}
 
|Trainer description_de={{{description_de|}}}
 
|Trainer description_de={{{description_de|}}}
 +
|Trainer rank={{{rank|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
Line 188: Line 202:
 
|Trainer description={{{description|}}}
 
|Trainer description={{{description|}}}
 
|Trainer description_de={{{description_de|}}}
 
|Trainer description_de={{{description_de|}}}
 +
|Trainer rank={{{rank|}}}
 
}}
 
}}
 
}}
 
}}
Line 196: Line 211:
 
| ?Seminar kind = kind
 
| ?Seminar kind = kind
 
| ?Seminar lang = lang
 
| ?Seminar lang = lang
| ?Seminar thema = thema
 
 
| ?Seminar year = year
 
| ?Seminar year = year
 
| ?Seminar month = month
 
| ?Seminar month = month
 
| ?Seminar inHouse = inHouse
 
| ?Seminar inHouse = inHouse
| ?Seminar city = city
 
 
| ?Seminar from = from
 
| ?Seminar from = from
 
| ?Seminar to = to
 
| ?Seminar to = to
Line 209: Line 222:
 
| ?Seminar trainer = trainer
 
| ?Seminar trainer = trainer
 
| ?Seminar city = city
 
| ?Seminar city = city
 +
| ?Seminar thema = thema
  
 
|sort=Seminar year,Seminar month
 
|sort=Seminar year,Seminar month
Line 214: Line 228:
 
}}
 
}}
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!picture!!description!!description_de
+
!name!!picture!!description!!description_de!!rank
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{description_de|}}}
+
{{!}}{{{name|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{description_de|}}}{{!}}{{!}}{{{rank|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>picture={{#if:{{{picture|}}}|[[{{{picture|}}}]]|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>description_de={{#if:{{{description_de|}}}|{{{description_de|}}}|}}<br>|#default={{{!}} class='wikitable'
+
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>picture={{#if:{{{picture|}}}|[[{{{picture|}}}]]|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>description_de={{#if:{{{description_de|}}}|{{{description_de|}}}|}}<br>rank={{#if:{{{rank|}}}|{{{rank|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Trainer
 
! colspan='2' {{!}}Trainer
 
{{!}}-
 
{{!}}-
Line 239: Line 253:
 
!description de
 
!description de
 
{{!}}&nbsp;{{#if:{{{description_de|}}}|{{{description_de|}}}|}}
 
{{!}}&nbsp;{{#if:{{{description_de|}}}|{{{description_de|}}}|}}
 +
{{!}}-
 +
!rank
 +
{{!}}&nbsp;{{#if:{{{rank|}}}|{{{rank|}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}

Latest revision as of 11:11, 10 November 2017

This is the template Trainer. It belongs to the concept/topic Concept:Trainer
You may find examples for the use of this template via the List of Trainers.

Usage

storemode subobject

{{Trainer
|name=
|picture=
|description=
|description_de=
|rank=
|storemode=subobject
}}

storemode property

{{Trainer
|name=
|picture=
|description=
|description_de=
|rank=
|storemode=property
}}

storemode none

{{Trainer
|name=
|picture=
|description=
|description_de=
|rank=
|storemode=none
}}


viewmode tableheader

{{Trainer
|name=
|picture=
|description=
|description_de=
|rank=
|viewmode=tableheader
}}

viewmode tablerow

{{Trainer
|name=
|picture=
|description=
|description_de=
|rank=
|viewmode=tablerow
}}

viewmode tablefooter

{{Trainer
|name=
|picture=
|description=
|description_de=
|rank=
|viewmode=tablefooter
}}

viewmode labelfield

{{Trainer
|name=
|picture=
|description=
|description_de=
|rank=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Trainer<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
{{#if:{{{?description_de|}}}|"{{{?description_de}}}" is description_de of it <br>|}}
{{#if:{{{?rank|}}}|"{{{?rank}}}" is rank of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Trainer
|Trainer name={{{name|}}}
|Trainer picture={{{picture|}}}
|Trainer description={{{description|}}}
|Trainer description_de={{{description_de|}}}
|Trainer rank={{{rank|}}}
}}
|#default={{#set:
|isA=Trainer
|Trainer name={{{name|}}}
|Trainer picture={{{picture|}}}
|Trainer description={{{description|}}}
|Trainer description_de={{{description_de|}}}
|Trainer rank={{{rank|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
= seminars =
{{#ask:[[Concept:Seminar]][[Seminar trainer::{{FULLPAGENAME}}]]
| ?Seminar kind = kind
| ?Seminar lang = lang
| ?Seminar year = year
| ?Seminar month = month
| ?Seminar inHouse = inHouse
| ?Seminar from = from
| ?Seminar to = to
| ?Seminar title = title
| ?Seminar contact = contact
| ?Seminar customer = customer
| ?Seminar documentation = documentation
| ?Seminar trainer = trainer
| ?Seminar city = city
| ?Seminar thema = thema

|sort=Seminar year,Seminar month
|order=descending,descending
}}
|tableheader={{{!}} class='wikitable'
!name!!picture!!description!!description_de!!rank
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{description_de|}}}{{!}}{{!}}{{{rank|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>picture={{#if:{{{picture|}}}|[[{{{picture|}}}]]|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>description_de={{#if:{{{description_de|}}}|{{{description_de|}}}|}}<br>rank={{#if:{{{rank|}}}|{{{rank|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Trainer
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Trainer/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!picture
{{!}}&nbsp;{{#if:{{{picture|}}}|[[{{{picture|}}}]]|}}
{{!}}-
!description
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
{{!}}-
!description de
{{!}}&nbsp;{{#if:{{{description_de|}}}|{{{description_de|}}}|}}
{{!}}-
!rank
{{!}}&nbsp;{{#if:{{{rank|}}}|{{{rank|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Trainer]]{{#default_form:Trainer}}

Source

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