Template:Icon/doc

From AoW: Planetfall
< Template:Icon
Revision as of 16:19, 13 July 2019 by SolSys (talk | contribs) (Created page with "<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This is the documentation page for Template:Icon.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

This template can be used for embedding icons in the Imperator: Rome wiki, thus making them more colorful, easy to read and standardized. The available icons link to the concept they represent.

Parameters

1
The first parameter is the identifier for the icon. It has no default value and is always required.
2
The second parameter is the width of the icon. It is optional. The default value is normally 28px, for advisor icons 77px, for attitude icons and rebel icons 24px and for building icons 48px.

Usage

Syntax
{{icon|identifier}} or {{icon|identifier|width}}

Insert the relevant identifier in the above syntax. The available identifier can be found in the table below.

Example
{{icon|mil}} will generate (unrecognized string “mil” for Template:Icon).

Improve this template

This template is protected due to high traffic. If you have suggestions for improvements or extensions please note them on the talk page.

List of available icons