无编辑摘要 |
无编辑摘要 |
||
第368行: | 第368行: | ||
| steel = {{Icon/Substitution | link = Production#Resources | iconfile = Steel.png | caption = Steel | usertext = {{{2|}}} | width = {{{width|}}} }} | | steel = {{Icon/Substitution | link = Production#Resources | iconfile = Steel.png | caption = Steel | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| tungsten= {{Icon/Substitution | link = Production#Resources | iconfile = Tungsten.png | caption = Tungsten| usertext = {{{2|}}} | width = {{{width|}}} }} | | tungsten= {{Icon/Substitution | link = Production#Resources | iconfile = Tungsten.png | caption = Tungsten| usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| political power = {{Icon/Substitution | link = Government#Political power | iconfile = Political power.png | caption = | | 政治点数 | ||
| 政治力量 | |||
| political power = {{Icon/Substitution | link = Government#Political power | iconfile = Political power.png | caption = 政治点数 | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| time = {{Icon/Substitution | link = File:Time.png | iconfile = Time.png | caption = Time | usertext = {{{2|}}} | width = {{{width|}}} }} | | time = {{Icon/Substitution | link = File:Time.png | iconfile = Time.png | caption = Time | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
<!-- DLC --> | <!-- DLC --> | ||
第406行: | 第408行: | ||
| war goal | | war goal | ||
| wargoal= {{Icon/Substitution | link = War goal | iconfile = Relation wargoal.png | caption = 战争目标 | usertext = {{{2|}}} | width = {{{width|}}} }} | | wargoal= {{Icon/Substitution | link = War goal | iconfile = Relation wargoal.png | caption = 战争目标 | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| world tension = {{Icon/Substitution | link = World tension | iconfile = World Tension.png | caption = | | 紧张度 | ||
| 全球紧张度 | |||
| 世界紧张度 | |||
| world tension = {{Icon/Substitution | link = World tension | iconfile = World Tension.png | caption = 全球紧张度 | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| nap | | nap | ||
| 互不侵犯条约 | | 互不侵犯条约 |
2022年11月29日 (二) 19:14的版本
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
|
Icon | Concept | Code |
---|---|---|
Yes | yes
| |
No | no
| |
Time | time
| |
Unknown | unknown
| |
(unrecognized string "bop left" for Template:Icon) | Left | left , bop left
|
(unrecognized string "bop right" for Template:Icon) | Right | right , bop right
|
Opinion | opinion
| |
War goal | cb , war goal
| |
World Tension | world tension
| |
Non aggression pact | nap , non-aggression pact
| |
Autonomy | autonomy
|
Resources
Icon | Concept | Code |
---|---|---|
Aluminum | aluminum
| |
Chromium | chromium
| |
Oil | oil
| |
Rubber | rubber
| |
Steel | steel
| |
Tungsten | tungsten
|
Icon | Concept | Code |
---|---|---|
Air Experience | air exp
| |
Army Experience | army exp
| |
Navy Experience | navy exp
| |
Manpower Recruitable Population |
manpower recruitable population ,recruitable pop
| |
Population | pop , population
| |
Victory point | vp , victory point
| |
Political Power | political power
| |
Stability | stability
| |
War support | war support
| |
Construction cost | construction cost
| |
Production cost | production cost
| |
(unrecognized string "production cost n" for Template:Icon) | Production cost (naval) | naval production cost ,production cost n
|
(unrecognized string "Command power" for Template:Icon) | Command power | command power , cp , command point
|
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 |
---|---|---|
Disarmed Nation | disarmed nation
| |
Volunteer Only | volunteer only
| |
Limited Conscription | limited conscription
| |
Extensive Conscription | extensive conscription
| |
Service by Requirement | service by requirement
| |
All Adults Serve | all adults serve
| |
Scraping the Barrel | scraping the barrel
| |
(unrecognized string "the chitet" for Template:Icon) | The Chitet | the chitet
|
(unrecognized string "swiss citizen militias" for Template:Icon) | Swiss Citizen Militias | swiss citizen militias
|
(unrecognized string "expanded swiss citizen militias" for Template:Icon) | Expanded Swiss Citizen Militias | expanded swiss citizen militias
|
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
Icon | Concept | Code |
---|---|---|
(unrecognized string "dockyard output" for Template:Icon) | Dockyard Output | dockyard output
|
(unrecognized string "factory output" for Template:Icon) | Factory Output | factory output
|
(unrecognized string "Production Efficiency Cap" for Template:Icon) | Production Efficiency Cap | pe cap , production efficiency cap
|
(unrecognized string "Production Efficiency Retention" for Template:Icon) | Production Efficiency Retention | pe retention , production efficiency retention
|
(unrecognized string "Production Efficiency Growth" for Template:Icon) | Production Efficiency Growth Production Efficiency |
pe growth , production efficiency growth production efficiency
|
(unrecognized string "Factory Bomb Vulnerability" for Template:Icon) | Factory Bomb Vulnerability | factory bomb vulnerability
|
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
|