Template:LoH/BadgeSet

From zoywiki.com
Revision as of 15:56, 26 September 2013 by Plujan (talk | contribs) (Plujan moved page Template:BadgeSet to Template:LoH/BadgeSet without leaving a redirect: forgot the namespace here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

|- | style="padding: 0px 20px" | {{{1}}} | style="padding: 0px 20px" | {{LoH/{{{2}}}|20}} {{{3}}}


Documentation[edit]

This is a simple template to display a set of badges for a single class. It's currently used in the sealed issue information in Template:LoH/SealedIssue but perhaps it will be useful elsewhere.

To use it, simply specify the class and then the badges and ranks in order, like so: {{LoH/BadgeSet|Strongharm|Power|5|Sculpting|3|Reflex|1}}

Currently this is written to support up to six badges. If a usage comes out which has more than six, you'll need to rewrite it to add a few more (should be pretty obvious how to do so). Don't use this for NPCs -- they can have badges from more than one class -- use Template:LoH/BadgeRow instead.

Note that the result is intended to be used in a table, so it has the syntax appropriate for a single table row. Make sure you surround it with actual table markup! See Template:LoH/SealedIssue for an example.