Template:IconFrame/doc

Template to show a hero, item, or accessory icon portrait with a chosen frame. Has shorthand template If, and compatibility shorthands Af, and Hf.

Heroes

 * has to be the full name of a hero, such as.
 * has to be a number between 1 and 5, or the letter S (for support) or F (for forma). (defaults to 1 if not provided).
 * has to be a number between 0 and 10, or the string, but can be omitted (defaults to 0 if not provided).
 * has to be a boolean value (defaults to false if not provided).
 * can be any string, which will be appended to the name of the hero.

Items

 * has to be the full name of an item, such as  or the file name of a item icon (minus the file extension) such as.
 * can be set to the string, to trigger the brighter green look, but can be omitted (defaults to dark green if not provided).

Empty
To create an empty rarity indicator box, omit the,  , and the   parameters.

Menu
To emulate the look of icons in for example the Hero Merit screen or the Catalog of Heroes, when they are maxed out, set the rarity value to. The hero can also be set to  (in any rarity) for a question mark icon.

Size
The optional parameter  allows the values
 * : Useful for inline representations.
 * : Shows portraits better. Good for table cells with several heroes in them. Automatic if size is omitted.
 * : A larger version,, good for larger sections of text, or in some tables where each row is for one hero.
 * : Full size icon, not very useful in text.