Difference between revisions of "Template:AspectLevelName"
From Reus
m |
Latest revision as of 16:45, 16 August 2013
[edit] Description
This template simply translates the level number of an aspect into its name. It allows the usage of a language code to translate into the correct language.
[edit] Parameter List
This template has two unnamed parameters.
{{AspectLevelName
| <!-- level value ranging from 1 to 4 -->
| <!-- language code for translation, en is the default -->
}}
[edit] Examples
| Example Description | Code to use | Output |
|---|---|---|
| Level 1 Aspect | {{AspectLevelName|1}}
|
Lesser |
| Level 2 Aspect | {{AspectLevelName|2}}
|
Potent |
| Level 3 Aspect | {{AspectLevelName|3}}
|
Greater |
| Level 4 Aspect | {{AspectLevelName|4}}
|
Sublime |
| Invalid value will default to level 1 | {{AspectLevelName|wrong value}}
|
Lesser |
| Level 2 Aspect in German | {{AspectLevelName|2|de}}
|
Mittlerer |
| The above documentation is transcluded from Template:AspectLevelName/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |