Difference between revisions of "Template:TrainerInfo"

From BITPlan Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
{{TrainerInfo|trainer=Wolfgang Fahl|lang=de}}
 
{{TrainerInfo|trainer=Wolfgang Fahl|lang=de}}
 
{{TrainerInfo|trainer=Wolfgang Fahl|lang=en}}
 
{{TrainerInfo|trainer=Wolfgang Fahl|lang=en}}
[[Category:Template]]</noinclude><includeonly>{{#ask: [[Trainer name::{{{trainer|}}}]]
+
[[Category:Template]]</noinclude><includeonly>{{switch: {{{lang|de}}}|de={{#ask: [[Trainer name::{{{trainer|}}}]]
 
|mainlabel=-
 
|mainlabel=-
 
|?Trainer name=name
 
|?Trainer name=name
Line 16: Line 16:
 
|template=TrainerRow
 
|template=TrainerRow
 
|link=none
 
|link=none
 +
|userparam=de
 
|named args=true
 
|named args=true
 
|order=desc
 
|order=desc
Line 28: Line 29:
 
|template=TrainerRow
 
|template=TrainerRow
 
|link=none
 
|link=none
 +
|userparam=en
 
|named args=true
 
|named args=true
 
|sort=Trainer rank
 
|sort=Trainer rank

Revision as of 18:00, 10 November 2017

{{#switch: de|de=

Usage

{{TrainerInfo|trainer=Wolfgang Fahl|lang=de}}
{{TrainerInfo|trainer=Wolfgang Fahl|lang=en}}

Example

{{#switch: de|de= Template:Switch: de

{{#switch: en|de= Template:Switch: en