小无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly>{{#switch:{{lc:{{{1}}}}} | <includeonly>{{#switch:{{lc:{{{1}}}}} | ||
| #default = <span style="color: red; font-size: 11px;"> | | #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Icon]])</span>[[Category:Pages with unrecognized icon strings]] | ||
<!-- brigade types --> | <!-- brigade types --> | ||
| aa | | aa | ||
第120行: | 第120行: | ||
| mot r artillery | | mot r artillery | ||
| motorised rocket artillery | | motorised rocket artillery | ||
| motorized rocket artillery = {{Icon/Substitution | link = Land units#Unit types | iconfile = | | motorized rocket artillery = {{Icon/Substitution | link = Land units#Unit types | iconfile = Motorized_rocket_artillery.png | caption = Motorized Rocket Artillery | usertext = {{{2|}}} | width = {{{width|x22px}}} }} | ||
| mountain troop | | mountain troop | ||
| mountain troops | | mountain troops | ||
第245行: | 第245行: | ||
| coastal fort = {{Icon/Substitution | link = Construction | iconfile = Coastal fort.png | caption = Coastal fort| usertext = {{{2|}}} | width = {{{width|}}} }} | | coastal fort = {{Icon/Substitution | link = Construction | iconfile = Coastal fort.png | caption = Coastal fort| usertext = {{{2|}}} | width = {{{width|}}} }} | ||
<!-- government --> | <!-- government --> | ||
<!-- autonomy levels --> | |||
| independent= {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Autonomy freedom icon.png | caption = Independent | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| dominion = {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Dominion.png | caption = Dominion | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| colony = {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Colony.png | caption = Colony | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| puppet = {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Autonomy puppet icon.png | caption = Puppet | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| integrated puppet= {{Icon/Substitution | link = Puppet#Autonomy_levels | iconfile = Integrated puppet.png | caption = Integrated Puppet | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| satellite = {{Icon/Substitution | link = Puppet#Autonomy_levels_.28fascism.29 | iconfile = Autonomy satellite.png | caption = Satellite | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| reichsprotectorate = {{Icon/Substitution | link = Puppet#Autonomy_levels_.28fascism.29 | iconfile = Autonomy reichsprotectorate.png | caption = Reichsprotectorate | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| reichskomissariat = {{Icon/Substitution | link = Puppet#Autonomy_levels_.28fascism.29 | iconfile = Autonomy reichskommissariat.png | caption = Reichskomissariat | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| imperial subject = {{Icon/Substitution | link = Puppet#Autonomy_levels_.28Imperial_Japan.29 | iconfile = Autonomy imperial associate.png | caption = Imperial Subject | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| imperial associate = {{Icon/Substitution | link = Puppet#Autonomy_levels_.28Imperial_Japan.29 | iconfile = Autonomy imperial associate.png | caption = Imperial Associsate | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| imperial protectorate = {{Icon/Substitution | link = Puppet#Autonomy_levels_.28Imperial_Japan.29 | iconfile = Autonomy imperial protectorate.png | caption = Imperial Protectorate | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| supervised state = {{Icon/Substitution | link = Puppet#Supervised_State_.28democratic.29 | iconfile = Supervised state.png | caption = Supervised State | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| collaboration government = {{Icon/Substitution | link = Puppet#Collaboration_Government | iconfile = Collaboration Government.png | caption = Collaboration Government | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| personal union = {{Icon/Substitution | link = Puppet#Personal_Union | iconfile = Autonomy personal union puppet.png | caption = Personal Union | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
<!-- conscription --> | <!-- conscription --> | ||
| all adults serve= {{Icon/Substitution | link = Ideas#Conscription laws | iconfile = All Adults Serve.png | caption = All Adults Serve | usertext = {{{2|}}} | width = {{{width|}}} }} | | all adults serve= {{Icon/Substitution | link = Ideas#Conscription laws | iconfile = All Adults Serve.png | caption = All Adults Serve | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
第258行: | 第273行: | ||
| free trade= {{Icon/Substitution | link = Ideas#Trade laws | iconfile = Free Trade.png | caption = Free Trade | usertext = {{{2|}}} | width = {{{width|}}} }} | | free trade= {{Icon/Substitution | link = Ideas#Trade laws | iconfile = Free Trade.png | caption = Free Trade | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| limited exports= {{Icon/Substitution | link = Ideas#Trade laws | iconfile = Limited Exports.png | caption = Limited Exports | usertext = {{{2|}}} | width = {{{width|}}} }} | | limited exports= {{Icon/Substitution | link = Ideas#Trade laws | iconfile = Limited Exports.png | caption = Limited Exports | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| embargoed economy= {{Icon/Substitution | link = Ideas#Trade laws | iconfile =Isolation.png | caption = Embargoed Economy | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
<!-- economy --> | <!-- economy --> | ||
| civilian economy= {{Icon/Substitution | link = Ideas#Economy laws | iconfile = Civilian Economy.png | caption = Civilian Economy | usertext = {{{2|}}} | width = {{{width|}}} }} | | civilian economy= {{Icon/Substitution | link = Ideas#Economy laws | iconfile = Civilian Economy.png | caption = Civilian Economy | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
第270行: | 第286行: | ||
| war economy= {{Icon/Substitution | link = Ideas#Economy laws | iconfile = War Economy.png | caption = War Economy | usertext = {{{2|}}} | width = {{{width|}}} }} | | war economy= {{Icon/Substitution | link = Ideas#Economy laws | iconfile = War Economy.png | caption = War Economy | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| collectivized society= {{Icon/Substitution | link = Ideas#Economy laws | iconfile = Collectivized Society.png | caption = Collectivized Society | usertext = {{{2|}}} | width = {{{width|}}} }} | | collectivized society= {{Icon/Substitution | link = Ideas#Economy laws | iconfile = Collectivized Society.png | caption = Collectivized Society | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| new economic policy= {{Icon/Substitution | link = Ideas#Economy laws | iconfile = New Economy Policy.png | caption = New Economic Policy | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
<!-- national statistics --> | <!-- national statistics --> | ||
| autonomy = {{Icon/Substitution | link = Puppet#Autonomy system | iconfile = Integrated puppet.png | caption = Autonomy | usertext = {{{2|}}} | width = {{{width|}}} }} | | autonomy = {{Icon/Substitution | link = Puppet#Autonomy system | iconfile = Integrated puppet.png | caption = Autonomy | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
第314行: | 第332行: | ||
| bfb | | bfb | ||
| bftb = {{Icon/Substitution | link = Battle for the Bosporus | iconfile = Battle for the Bosporus icon.png | caption = Battle for the Bosporus | usertext = {{{2|}}} | width = {{{width|}}} }} | | bftb = {{Icon/Substitution | link = Battle for the Bosporus | iconfile = Battle for the Bosporus icon.png | caption = Battle for the Bosporus | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| bba = {{Icon/Substitution | link = By Blood Alone | iconfile = By Blood Alone icon.png | caption = By Blood Alone | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| dod = {{Icon/Substitution | link = Death or Dishonor | iconfile = Death or Dishonor icon.png | caption = Death or Dishonor | usertext = {{{2|}}} | width = {{{width|}}} }} | | dod = {{Icon/Substitution | link = Death or Dishonor | iconfile = Death or Dishonor icon.png | caption = Death or Dishonor | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| hoi4 = {{Icon/Substitution | link = Hearts of Iron IV | iconfile = HoI4 icon.png | caption = Hearts of Iron IV | usertext = {{{2|}}} | width = {{{width|}}} }} | | hoi4 = {{Icon/Substitution | link = Hearts of Iron IV | iconfile = HoI4 icon.png | caption = Hearts of Iron IV | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| lar = {{Icon/Substitution | link = La Résistance | iconfile = La Resistance icon.png | caption = La Résistance | usertext = {{{2|}}} | width = {{{width|}}} }} | | lar = {{Icon/Substitution | link = La Résistance | iconfile = La Resistance icon.png | caption = La Résistance | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| mtg = {{Icon/Substitution | link = Man the Guns | iconfile = Man the Guns icon.png | caption = Man the Guns | usertext = {{{2|}}} | width = {{{width|}}} }} | | mtg = {{Icon/Substitution | link = Man the Guns | iconfile = Man the Guns icon.png | caption = Man the Guns | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| nsb = {{Icon/Substitution | link = No Step Back | iconfile = No Step Back icon.png | caption = No Step Back | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| tfv = {{Icon/Substitution | link = Together for Victory | iconfile = Together for Victory icon.png | caption = Together for Victory | usertext = {{{2|}}} | width = {{{width|}}} }} | | tfv = {{Icon/Substitution | link = Together for Victory | iconfile = Together for Victory icon.png | caption = Together for Victory | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| wtt = {{Icon/Substitution | link = Waking the Tiger | iconfile = Waking the Tiger icon.png | caption = Waking the Tiger | usertext = {{{2|}}} | width = {{{width|}}} }} | | wtt = {{Icon/Substitution | link = Waking the Tiger | iconfile = Waking the Tiger icon.png | caption = Waking the Tiger | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
<!-- misc --> | <!-- misc --> | ||
| no = {{Icon/Substitution | link = File:No.png | iconfile = No.png | caption = No | usertext = {{{2|}}} | width = {{{width|}}} }} | | no = {{Icon/Substitution | link = File:No.png | iconfile = No.png | caption = No | usertext = {{{2|}}} | width = {{{width|}}} }} |
2022年10月13日 (四) 10:57的版本
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 | Communism Communist |
communism communist
|
democracy | Democracy Democratic |
democracy democratic
|
fascism | Fascism Fascist |
fascism fascist
|
neutrality | Neutrality Non-Aligned Unaligned |
neutrality non-aligned unaligned
|
anarchism | 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
|