Modèle:Quality
Révision datée du 20 mai 2013 à 22:22 par Admin (discussion | contributions) (Page créée avec « <includeonly><onlyinclude><span class="qc-{{lc: {{{1|}}} }}" {{#if: {{{title|}}} | title="{{ucfirst:{{{2|{{{3|}}}}}}}} is a{{#switch:{{lc:{{{1|}}}}}|epic|incomparable|unco... »)
Description
The template colours text according to the quality.
Quality of an item determines the color of its text.
Quality |
---|
Fichier:White-icon.png Common |
Fichier:Yellow-icon.png Uncommon |
Fichier:Purple-icon.png Rare |
Fichier:Cyan-icon.png Incomparable |
Fichier:Orange-icon.png Epic |
It's also possible to add the title "text is a quality quality item." to the text (for mouse hovering) by specifing the title variable (the value of title is irrelevant; any nonempty value will generate the hover text).
Usage
{{Quality|quality|text}}
It's also possible to add an quality title (not recommended on popups!)
{{Quality|quality|text|title=1}}
Example
Without title
- {{Quality|epic|Map to Ost Guruth}}
gives
- Map to Ost Guruth
With title
- {{Quality|epic|Map to Ost Guruth|title=1}}
gives
- Map to Ost Guruth