|
|
第82行: |
第82行: |
| | Arms Against Tyranny | | | Arms Against Tyranny |
| | <code>aat</code> | | | <code>aat</code> |
| | |- |
| | | style="text-align: center" | {{icon|toa}} |
| | | Trial of Allegiance |
| | | <code>toa</code> |
| |} | | |} |
|
| |
|
2024年4月26日 (五) 10:55的版本
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
Resources
Strategic resources
Icon
|
Concept
|
Code
|
|
Aluminum
|
aluminum
|
|
Chromium
|
chromium
|
|
Oil
|
oil
|
|
Rubber
|
rubber
|
|
Steel
|
steel
|
|
Tungsten
|
tungsten
|
National resources
Icon
|
Concept
|
Code
|
|
Air Experience
|
air exp
|
|
Army Experience
|
army exp
|
|
Navy Experience
|
navy exp
|
|
Manpower
|
manpower
|
|
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
|
|
Production cost (naval)
|
naval production cost ,production cost n
|
|
Command power
|
command power , cp , command point
|
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
Conscription 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
|
|
The Chitet
|
the chitet
|
|
Swiss Citizen Militias
|
swiss citizen militias
|
|
Expanded Swiss Citizen Militias
|
expanded swiss citizen militias
|
Trade laws
Icon
|
Concept
|
Code
|
|
Closed Economy
|
closed economy
|
|
Limited Exports
|
limited exports
|
|
Export Focus
|
export focus
|
|
Free Trade
|
free trade
|
|
Embargoed Economy
|
embargoed economy
|
Economy laws
Icon
|
Concept
|
Code
|
|
Undisturbed Isolation
|
undisturbed isolation
|
|
Isolation
|
isolation
|
|
Civilian Economy
|
civilian economy
|
|
Early Mobilization
|
early mobilization
|
|
Partial Mobilization
|
partial mobilization
|
|
War Economy
|
war economy
|
|
Total Mobilization
|
total mobilization
|
|
Collectivized Society
|
collectivized society
|
|
New Economic Policy
|
new economic policy
|
Buildings
Icon
|
Concept
|
Code
|
|
Building slot
|
building slot
|
|
Military Factory
|
mic , military factory
|
|
Civilian Factory
|
cic , civilian factory
|
|
Naval Dockyard
|
nic , naval factory , naval dockyard
|
|
Infrastructure
|
infra , infrastructure
|
|
Railway
|
railway
|
|
Supply hub
|
supply hub
|
|
Anti-air (building)
|
static aa , static anti air , static anti-air , aa building , anti air building , anti-air building
|
|
Air base
|
air base
|
|
Naval base
|
naval base
|
|
Synthetic refinery
|
synth , synthetic , refinery , synthetic refinery
|
|
Fuel silo
|
fuel silo
|
|
Rocket site
|
rocket site
|
|
Nuclear reactor
|
reactor , nuclear reactor
|
|
Land fort
|
land fort
|
|
Coastal fort
|
coastal fort
|
Production
Icon
|
Concept
|
Code
|
|
Dockyard Output
|
dockyard output
|
|
Factory Output
|
factory output
|
|
Production Efficiency Cap
|
pe cap , production efficiency cap
|
|
Production Efficiency Retention
|
pe retention , production efficiency retention
|
|
Production Efficiency Growth Production Efficiency
|
pe growth , production efficiency growth
production efficiency
|
|
Factory Bomb Vulnerability
|
factory bomb vulnerability
|
Units
Codes given are examples. More are supported.
Infantry
Icon
|
Concept
|
Code
|
|
Infantry
|
inf , infantry
|
|
Marines
|
marines
|
|
Paratroopers
|
paratroopers
|
|
Mountaineers
|
mountaineers
|
Mobile
Icon
|
Concept
|
Code
|
|
Cavalry
|
cav , cavalry
|
|
Motorized
|
mot , motorized
|
|
Mechanized
|
mech , mechanized
|
Artillery
Icon
|
Concept
|
Code
|
|
Anti-Air
|
aa , anti-air
|
|
Anti-Tank
|
at , anti-tank
|
|
Artillery
|
arty , artillery
|
|
Rocket Artillery
|
rart , rocket artillery
|
|
Motorized Rocket Artillery
|
mot rart , motorized rocket artillery
|
Attachments
Icon
|
Concept
|
Code
|
|
Engineers
|
eng , engineers
|
|
Field Hospital
|
fh , field hospital
|
|
Logistics Company
|
logistics , logistics company
|
|
Maintenance Company
|
maintenance , maintenance company
|
|
Military Police
|
mp , military police
|
|
Recon Company
|
recon , recon company
|
|
Signal Company
|
signal , signal comapny
|
|
Support Anti-Air
|
sup aa , support anti-air
|
|
Support Anti-Tank
|
sup at , support anti-tank
|
|
Support Artillery
|
sup art , support artillery
|
|
Support Rocket Artillery
|
sup r art , support rocket artillery
|
Armor
Icon
|
Concept
|
Code
|
|
Light Tank
|
light tank , light armor
|
|
Light SP Artillery
|
light sp artillery , light sp art
|
|
Light Tank Destroyer
|
light tank destroyer , light td
|
|
Light SP Anti-Air
|
light sp anti-air , light sp aa
|
|
Medium Tank
|
medium tank , med armor
|
|
Medium SP Artillery
|
medium sp artillery , med sp art
|
|
Medium Tank Destroyer
|
medium tank destroyer , medium td
|
|
Medium SP Anti-Air
|
medium sp anti-air , medium sp aa
|
|
Heavy Tank
|
heavy tank , heavy armor
|
|
Heavy SP Artillery
|
heavy sp artillery , heavy sp art
|
|
Heavy Tank Destroyer
|
heavy tank destroyer , heavy td
|
|
Heavy SP Anti-Air
|
heavy sp anti-air , heavy sp aa
|
|
Super Heavy Tank
|
super heavy tank , s heavy armor
|
|
Super Heavy SP Artillery
|
super heavy sp artillery , s heavy sp art
|
|
Super Heavy Tank Destroyer
|
super heavy tank destroyer , s heavy td
|
|
Super Heavy SP Anti-Air
|
super heavy sp anti-air , s heavy sp aa
|
|
Modern Tank
|
modern tank , modern armor
|
|
Modern SP Artillery
|
modern sp artillery , modern sp art
|
|
Modern Tank Destroyer
|
modern tank destroyer , modern td
|
|
Modern SP Anti-Air
|
modern sp anti-air , modern sp aa
|