Difference between revisions of "Template:InfoboxLevelColoriser"

From Istaria Lexica

imported>Elteria Shadowhand
(Revamp of templates, massive updates)
 
Line 2: Line 2:
 
   {{#iferror:{{#expr:{{{1}}}}}|
 
   {{#iferror:{{#expr:{{{1}}}}}|
 
   |[[:Category:Tier {{Dec2rom|{{TierByLevel|{{{1}}}}}}}|<span class="tier{{TierByLevel|{{{1}}}}}" title="Equals to Tier {{Dec2rom|{{TierByLevel|{{{1}}}}}}}."><span style="font-size:0.5em">&plusmn;</span>{{{1}}}</span>]]}}
 
   |[[:Category:Tier {{Dec2rom|{{TierByLevel|{{{1}}}}}}}|<span class="tier{{TierByLevel|{{{1}}}}}" title="Equals to Tier {{Dec2rom|{{TierByLevel|{{{1}}}}}}}."><span style="font-size:0.5em">&plusmn;</span>{{{1}}}</span>]]}}
}}</includeonly><noinclude>{{documentation}}[[Category:Infobox Templates]][[Category:Non-standalone Templates]]</noinclude>
+
}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox Templates]][[Category:Non-standalone Templates]][[Category:Add Data Templates]]</noinclude>

Latest revision as of 18:45, 21 October 2022

Template documentation (for the template shown above, sometimes hidden or invisible)

Description[edit]

Used in Infoboxes of NPCs, Creatures or Named Creatures to render a colorful version of their level. Also creates a 'tier hint' and a link to the Tier page for further details.


Syntax[edit]

{{InfoboxLevelColoriser|1}}

Parameters[edit]

1 = the level to be shown

Examples[edit]

{{InfoboxLevelColoriser|12}}
{{InfoboxLevelColoriser|74}}
{{InfoboxLevelColoriser|118}}
Visit Template:InfoboxLevelColoriser/doc to edit this text. (How to: document correctly)