FANDOM


Documentation de modèle (pour le modèle ci-dessus, parfois caché ou invisible)
Description
Displays a unit image with at a fixed size depending on option provided and graphic ID.
Usage
{{UnitImage|<option>|<id>|<additional options>}}
Full Usage (with optionnal parameters)
{{UnitImage|<option>|<id>|<size (optional)>|<link (optional)>|<stars (optional)>}}

or

{{UnitImage|<option>|<id>|size=42|link=...|stars=5}}
Options
  • element
    • Displays image with default width of 25px
  • anime
    • Displays the static/animated image used in game battles.
  • full
    • Displays image with default width of 355px
  • full-link
    • Same as fullAvatar but image is linked to the provided <link> or to <id>
  • thum
    • Displays image with default width of 42px and displays <stars> if provided
  • thum-link
    • Same as thumbnail but image is linked to the provided <link> or to <id>
  • thum-id
    • Same as thumbnail but displays unit ID when hovering over the image

Visitez Modèle:UnitImage/doc pour modifier ce texte ! (Comment ça fonctionne ?)
Sauf mention contraire, le contenu de la communauté est disponible sous licence CC-BY-SA .