Template:Trainer
Jump to navigation
Jump to search
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= |storemode=subobject }}
storemode property
{{Trainer |name= |picture= |description= |description_de= |storemode=property }}
storemode none
{{Trainer |name= |picture= |description= |description_de= |storemode=none }}
viewmode tableheader
{{Trainer |name= |picture= |description= |description_de= |viewmode=tableheader }}
viewmode tablerow
{{Trainer |name= |picture= |description= |description_de= |viewmode=tablerow }}
{{Trainer |name= |picture= |description= |description_de= |viewmode=tablefooter }}
viewmode labelfield
{{Trainer |name= |picture= |description= |description_de= |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>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Trainer
|Trainer name={{{name|}}}
|Trainer picture={{{picture|}}}
|Trainer description={{{description|}}}
|Trainer description_de={{{description_de|}}}
}}
|#default={{#set:
|isA=Trainer
|Trainer name={{{name|}}}
|Trainer picture={{{picture|}}}
|Trainer description={{{description|}}}
|Trainer description_de={{{description_de|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
= seminars =
{{#ask:[[Concept:Seminar]][[Seminar trainer::{{FULLPAGENAME}}]]
| ?Seminar kind = kind
| ?Seminar lang = lang
| ?Seminar thema = thema
| ?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
|sort=Seminar year,Seminar month
|order=descending,descending
}}
|tableheader={{{!}} class='wikitable'
!name!!picture!!description!!description_de
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{description_de|}}}
{{!}}-
|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>|#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
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!picture
{{!}} {{#if:{{{picture|}}}|[[{{{picture|}}}]]|}}
{{!}}-
!description
{{!}} {{#if:{{{description|}}}|{{{description|}}}|}}
{{!}}-
!description de
{{!}} {{#if:{{{description_de|}}}|{{{description_de|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Trainer]]{{#default_form:Trainer}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.