Template:MainHeroes/Port
From Gigantic Wiki
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:MainHeroes/Port/doc to edit this documentation. (How does this work?) |
- Description
- This template is used by Template:MainHeroes to provide wide icons of heroes (portraits), which will link to corresponding pages and have tooltips with names. They appear on screens over 500px, and otherwise are replaced by square icons of heroes provided by Template:MainHeroes/Icon.
- Additional styling is applied only on root template via Template:Mainpage/styles.css (see: Extension:TemplateStyles).
- Syntax
- Type
{{MainHeroes/Port|hero name}}
in case page title is same as the name. - Type
{{MainHeroes/Port|page name|hero name}}
otherwise. - As for now the only case with second method is linking to Category:Unreleased heroes.
- Usage example
- Normal icon code:
{{MainHeroes/Port|Aisling}}
- Results: