无编辑摘要 |
无编辑摘要 |
||
第366行: | 第366行: | ||
| naval exp | | naval exp | ||
| navy exp = {{Icon/Substitution | link = Experience | iconfile = Navy experience.png | caption = 海军经验 | usertext = {{{2|}}} | width = {{{width|}}} }} | | navy exp = {{Icon/Substitution | link = Experience | iconfile = Navy experience.png | caption = 海军经验 | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| construction cost = {{Icon/Substitution | link = Construction | iconfile = Construction cost.png | caption = | | 建造花费 | ||
| production cost = {{Icon/Substitution | link = Production | iconfile = Production cost.png | caption = Production cost | usertext = {{{2|}}} | width = {{{width|}}} }} | | construction cost = {{Icon/Substitution | link = Construction | iconfile = Construction cost.png | caption = 建造花费 | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| 生产花费 | |||
| production cost = {{Icon/Substitution | link = Production | iconfile = Production cost.png | caption = 生产花费 | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| 海军生产花费 | |||
| production cost n | |||
| naval production cost = {{Icon/Substitution | link = Production | iconfile = Production cost (naval).png | caption = Production cost | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| 指挥点数 | |||
| command point | |||
| cp | |||
| command power = {{Icon/Substitution | link = Command power | iconfile = Command power.png | caption = Command power | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
<!-- ideology --> | <!-- ideology --> | ||
| 共产主义 | | 共产主义 |
2023年2月18日 (六) 10:28的版本
Overview
Should be the go-to for inline text-sized icons on this wiki.
Parameters
{{Icon|icon name|text|width=22px}}
Parameter | Info | Required | Notes | Examples |
---|---|---|---|---|
1 | icon name | Required | The concept you want an icon for | infantry , heavy tank
|
2 | text | Optional | Text linked to be displayed alongside the icon. Leave it blank if you don't want any text. Write 1 if you want the default text that goes with the icon |
1 , Paradox
|
width | size | Optional | The size of the image, as in MediaWiki image syntax. Defaults to 22px , except for unit icons, which default to x22px (22px height) instead. |
30px
|
Usage Examples
Code | Result |
---|---|
{{Icon|infantry}}
|
|
{{Icon|lighttank|1}}
|
Light tank |
{{Icon|super heavy tank|Bananas}}
|
Bananas |
Index
The following icons are understood by the template. Feel free to add more in the source!
Common
Icon | Concept | Code |
---|---|---|
Hearts of Iron 4 | hoi4
| |
Together for Victory | tfv
| |
Death or Dishonor | dod
| |
Waking the Tiger | wtt
| |
Man the Guns | mtg
| |
La Résistance | lar
| |
Battle for the Bosporus | bfb , bftb
| |
No Step Back | nsb
| |
By Blood Alone | bba
| |
(unrecognized string "aat" for Template:Icon) | Arms Against Tyranny | aat
|
(unrecognized string "toa" for Template:Icon) | Trial of Allegiance | toa
|
Resources
Icon | Concept | Code |
---|---|---|
Aluminum | aluminum
| |
Chromium | chromium
| |
Oil | oil
| |
Rubber | rubber
| |
Steel | steel
| |
Tungsten | tungsten
|
Ideology
Icon | Concept | Code |
---|---|---|
共产主义 | Communism Communist |
communism communist
|
民主主义 | Democracy Democratic |
democracy democratic
|
法西斯主义 | Fascism Fascist |
fascism fascist
|
中立主义 | Neutrality Non-Aligned Unaligned |
neutrality non-aligned unaligned
|
无政府主义 | Anarchism Anarchist |
anarchism anarchist
|
Unknown Ideology | Unknown Ideology | unknownid
|
Laws
Icon | Concept | Code |
---|---|---|
Closed Economy | closed economy
| |
Limited Exports | limited exports
| |
Export Focus | export focus
| |
Free Trade | free trade
| |
Embargoed Economy | embargoed economy
|
Buildings
Production
Units
Codes given are examples. More are supported.
Icon | Concept | Code |
---|---|---|
Infantry | inf , infantry
| |
Marines | marines
| |
Paratroopers | paratroopers
| |
Mountaineers | mountaineers
|
Icon | Concept | Code |
---|---|---|
Cavalry | cav , cavalry
| |
Motorized | mot , motorized
| |
Mechanized | mech , mechanized
|