小无编辑摘要 |
无编辑摘要 |
||
第22行: | 第22行: | ||
| fieldhospital | | fieldhospital | ||
| field hospital = {{Icon/Substitution | link = Land units#Unit types | iconfile = Field hospital.png | caption = Field hospital | usertext = {{{2|}}} | width = {{{width|x22px}}} }} | | field hospital = {{Icon/Substitution | link = Land units#Unit types | iconfile = Field hospital.png | caption = Field hospital | usertext = {{{2|}}} | width = {{{width|x22px}}} }} | ||
| fuel silo = {{Icon/Substitution | link = Construction | iconfile = Fuel_silo.png | caption = | | 储油罐 | ||
| fuel silo = {{Icon/Substitution | link = Construction | iconfile = Fuel_silo.png | caption = 储油罐| usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| heavy armor | | heavy armor | ||
| heavy armour | | heavy armour | ||
第265行: | 第266行: | ||
<!-- autonomy levels --> | <!-- autonomy levels --> | ||
| 独立国 | | 独立国 | ||
| independent= {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Autonomy freedom icon.png | caption = | | independent= {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Autonomy freedom icon.png | caption = 独立国 | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| 自治领 | | 自治领 | ||
| dominion = {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Dominion.png | caption = | | dominion = {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Dominion.png | caption = 自治领 | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| 殖民地 | | 殖民地 | ||
| colony = {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Colony.png | caption = | | colony = {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Colony.png | caption = 殖民地 | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| 傀儡国 | | 傀儡国 | ||
| puppet = {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Autonomy puppet icon.png | caption = | | puppet = {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Autonomy puppet icon.png | caption = 傀儡国 | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| 半吞并傀儡国 | | 半吞并傀儡国 | ||
| integrated puppet= {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Integrated puppet.png | caption = | | integrated puppet= {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Integrated puppet.png | caption = 半吞并傀儡国 | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| 卫星国 | | 卫星国 | ||
| satellite = {{Icon/Substitution | link = Puppet#Autonomy_levels_.28fascism.29 | iconfile = Autonomy satellite.png | caption = 卫星国 | usertext = {{{2|}}} | width = {{{width|}}} }} | | satellite = {{Icon/Substitution | link = Puppet#Autonomy_levels_.28fascism.29 | iconfile = Autonomy satellite.png | caption = 卫星国 | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
第355行: | 第356行: | ||
| 无政府主义 | | 无政府主义 | ||
| anarchism | | anarchism | ||
| anarchist = {{Icon/Substitution | link = Ideology#Anarchism | iconfile = Anarchism.png | caption = | | anarchist = {{Icon/Substitution | link = Ideology#Anarchism | iconfile = Anarchism.png | caption = <span style="color: black;"> 无<span/><span style="color: red;"> 政<span/><span style="color: black;"> 府<span/><span style="color: red;"> 主<span/><span style="color: black;"> 义<span/> | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| unknownid = {{Icon/Substitution | link = Ideology | iconfile = Unknown Ideology.png | caption = Unknown Ideology | usertext = {{{2|}}} | width = {{{width|}}} }} | | unknownid = {{Icon/Substitution | link = Ideology | iconfile = Unknown Ideology.png | caption = Unknown Ideology | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
<!-- resources --> | <!-- resources --> |
2022年12月14日 (三) 10:59的版本
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
|
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
|