(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW T…”) |
无编辑摘要 |
||
第32行: | 第32行: | ||
| civ, civic power || {{icon|civ}} | | civ, civic power || {{icon|civ}} | ||
|- | |- | ||
| mil, military power || | | mil, military power || {{icon|mil}} | ||
|- | |- | ||
| ora, oratory power || {{icon|ora}} | | ora, oratory power || {{icon|ora}} |
2019年3月9日 (六) 14:34的版本
This template can be used for embedding icons in the EU4 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.
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
Common
Power | |
---|---|
all power, all power costs | |
civ, civic power | |
mil, military power | |
ora, oratory power | |
rel, religious power |
Unit types | |
---|---|
archers | |
camels | |
cavalry | (unrecognized string “cavalry” for Template:Icon) |
chariots | |
heavy infantry | |
horse archers | |
light cavalry | |
light infantry, militia | |
war elephants |