Difference between revisions of "Template:Trainer"

From BITPlan Wiki
Jump to navigation Jump to search
(created by WikiTask 2017-11-05T10:15:59Z)
 
m (created by WikiTask 2017-11-10T10:11:57Z)
 
(5 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
|picture=
 
|picture=
 
|description=
 
|description=
 +
|description_de=
 +
|rank=
 
|storemode=subobject
 
|storemode=subobject
 
}}
 
}}
Line 28: Line 30:
 
|picture=
 
|picture=
 
|description=
 
|description=
 +
|description_de=
 +
|rank=
 
|storemode=property
 
|storemode=property
 
}}
 
}}
Line 37: Line 41:
 
|picture=
 
|picture=
 
|description=
 
|description=
 +
|description_de=
 +
|rank=
 
|storemode=none
 
|storemode=none
 
}}
 
}}
Line 47: Line 53:
 
|picture=
 
|picture=
 
|description=
 
|description=
 +
|description_de=
 +
|rank=
 
|viewmode=tableheader
 
|viewmode=tableheader
 
}}
 
}}
Line 56: Line 64:
 
|picture=
 
|picture=
 
|description=
 
|description=
 +
|description_de=
 +
|rank=
 
|viewmode=tablerow
 
|viewmode=tablerow
 
}}
 
}}
Line 65: Line 75:
 
|picture=
 
|picture=
 
|description=
 
|description=
 +
|description_de=
 +
|rank=
 
|viewmode=tablefooter
 
|viewmode=tablefooter
 
}}
 
}}
Line 74: Line 86:
 
|picture=
 
|picture=
 
|description=
 
|description=
 +
|description_de=
 +
|rank=
 
|viewmode=labelfield
 
|viewmode=labelfield
 
}}
 
}}
Line 84: Line 98:
 
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
 
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
 
{{#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:{{{?rank|}}}|"{{{?rank}}}" is rank of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 91: Line 107:
 
|Trainer picture={{{picture|}}}
 
|Trainer picture={{{picture|}}}
 
|Trainer description={{{description|}}}
 
|Trainer description={{{description|}}}
 +
|Trainer description_de={{{description_de|}}}
 +
|Trainer rank={{{rank|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
Line 97: Line 115:
 
|Trainer picture={{{picture|}}}
 
|Trainer picture={{{picture|}}}
 
|Trainer description={{{description|}}}
 
|Trainer description={{{description|}}}
 +
|Trainer description_de={{{description_de|}}}
 +
|Trainer rank={{{rank|}}}
 
}}
 
}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
|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'
 
|tableheader={{{!}} class='wikitable'
!name!!picture!!description
+
!name!!picture!!description!!description_de!!rank
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{description|}}}
+
{{!}}{{{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>|#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 124: Line 164:
 
!description
 
!description
 
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
 
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
 +
{{!}}-
 +
!description de
 +
{{!}}&nbsp;{{#if:{{{description_de|}}}|{{{description_de|}}}|}}
 +
{{!}}-
 +
!rank
 +
{{!}}&nbsp;{{#if:{{{rank|}}}|{{{rank|}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
Line 138: Line 184:
 
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
 
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
 
{{#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:{{{?rank|}}}|"{{{?rank}}}" is rank of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 145: Line 193:
 
|Trainer picture={{{picture|}}}
 
|Trainer picture={{{picture|}}}
 
|Trainer description={{{description|}}}
 
|Trainer description={{{description|}}}
 +
|Trainer description_de={{{description_de|}}}
 +
|Trainer rank={{{rank|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
Line 151: Line 201:
 
|Trainer picture={{{picture|}}}
 
|Trainer picture={{{picture|}}}
 
|Trainer description={{{description|}}}
 
|Trainer description={{{description|}}}
 +
|Trainer description_de={{{description_de|}}}
 +
|Trainer rank={{{rank|}}}
 
}}
 
}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
|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'
 
|tableheader={{{!}} class='wikitable'
!name!!picture!!description
+
!name!!picture!!description!!description_de!!rank
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{description|}}}
+
{{!}}{{{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>|#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 178: Line 250:
 
!description
 
!description
 
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
 
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
 +
{{!}}-
 +
!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.