Usage[]
{{UnitIcon|1=name|size=|circle=}}
Has shorthand template {{Ui}}, and compatibility shorthands {{Hi}} and {{Ei}}.
Parameters[]
1
– The unit's namesize
– How large the unit's icon should be. For example,size=70px
.circle
– Optional. Turns the icon into a circular-shaped icon.resplendent
– Optional. Shows the icon for the resplendent attire of a unit.no cargo
- Optional. If true, don't use cargo query to improve page performance.
Examples[]
{{UnitIcon|Anna: Commander|size=70px}}
{{UnitIcon|Alfonse: Prince of Askr|size=70px}}
{{UnitIcon|Sharena: Princess of Askr|size=70px}}
{{UnitIcon|Sharena: Princess of Askr|size=70px|circle=1}}
{{UnitIcon|Lyn: Lady of the Plains|resplendent=1|size=70px}}
{{UnitIcon|Lyn: Lady of the Plains|resplendent=1|size=70px|circle=1}}
{{UnitIcon|Fáfnir: King of Desolation|size=70px}}
{{UnitIcon|Fáfnir: King of Desolation (Dragon)|size=70px}}
{{UnitIcon|Fafnir King of Desolation ENEMY|size=70px}}
{{UnitIcon|Red bow|size=70px}}
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.