Difference between revisions of "Template:Aspect"

From Reus
Jump to: navigation, search
 

Latest revision as of 15:47, 16 August 2013

[view] [edit] [history] [purge] Documentation icon Template documentation

[edit] Description

This template creates an aspect with an image and a link to the page that describes the aspect. It allows to define the level of the aspect as well as the language to use. The terms will be automatically translated if they are provided within the template Template:MLsupport.

[edit] Parameter List

This template has three unnamed parameters.

{{Aspect
| <!-- level value ranging from 1 to 4 -->
| <!-- the name of the aspect -->
| <!-- language code for translation, en is the default -->
}}

[edit] Examples

Example Description Code to use Output
Level 1 Leaf Aspect
{{Aspect|1|Leaf}}
LeafLesser.png Lesser Leaf Aspect
Level 2 Leaf Aspect
{{Aspect|2|Leaf}}
24px Potent Leaf Aspect
Level 1 Herd Aspect
{{Aspect|1|Herd}}
HerdLesser.png Lesser Herd Aspect
Level 1 Leaf Aspect in German
{{Aspect|1|Leaf|de}}
LeafLesser.png Kleiner Blatt Aspekt

[edit] ToDo

  • some images for the aspects are still missing
  • add another show style that allows showing only the image with a link within the image
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox