Template:图标/doc

这是Template:图标的模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

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}} Infantry
{{Icon|lighttank|1}} Light tankLight tank
{{Icon|super heavy tank|Bananas}} Super heavy tankBananas

Index

The following icons are understood by the template. Feel free to add more in the source!

Common

Expansions
Icon Concept Code
钢铁雄心IV 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
以力御暴 Arms Against Tyranny aat
忠诚试炼 Trial of Allegiance toa


Miscellaneous
Icon Concept Code
是 Yes yes
No No no
Time Time time
Unknown Unknown unknown
Left Left left, bop left
Right Right right, bop right
关系 Opinion opinion
战争目标 War goal cb, war goal
全球紧张度 World Tension world tension
互不侵犯条约 Non aggression pact nap, non-aggression pact
Autonomy Autonomy autonomy
Autonomy
Icon Concept Code
独立国 Independent independent
自治领 Dominion dominion
殖民地 Colony colony
傀儡国 Puppet puppet
半吞并傀儡国 Integrated Puppet integrated puppet
卫星国 Satellite satellite
保护国 Reichsprotectorate reichsprotectorate
专员辖区 Reichskomissariat reichskomissariat
皇国臣属国 Imperial Subject imperial subject
皇国协从国 Imperial Associate imperial associate
皇国保护国 Imperial Protectorate imperial protectorate
监管国 Supervised State supervised state
合作政府 Collaboration Government collaboration government
共主邦联 Personal Union personal union

Resources

Strategic resources
Icon Concept Code
Aluminum Aluminum aluminum
Chromium Chromium chromium
Oil Oil oil
橡胶 Rubber rubber
Steel Steel steel
Tungsten 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 Production cost (naval) naval production cost,production cost n
Command power 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 IdeologyUnknown Ideology Unknown Ideology unknownid

Laws

Conscription laws
Icon Concept Code
非军事化国家 Disarmed Nation disarmed nation
志愿兵役制 Volunteer Only volunteer only
Limited Conscription Limited Conscription limited conscription
Extensive 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 closed economy
Limited Exports Limited Exports limited exports
Export Focus Export Focus export focus
Free Trade Free Trade free trade
Embargoed Economy Embargoed Economy embargoed economy
Economy laws
Icon Concept Code
Undisturbed Isolation Undisturbed Isolation undisturbed isolation
Isolation Isolation isolation
Civilian Economy Civilian Economy civilian economy
Early Mobilization Early Mobilization early mobilization
Partial Mobilization Partial Mobilization partial mobilization
战时经济 War Economy war economy
Total Mobilization Total Mobilization total mobilization
Collectivized Society Collectivized Society collectivized society
New Economic Policy 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 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 Infantry inf, infantry
Marine Marines marines
Paratroop Paratroopers paratroopers
Mountain Mountaineers mountaineers
Mobile
Icon Concept Code
Cavalry Cavalry cav, cavalry
Motorized Motorized mot, motorized
Mechanized Mechanized mech, mechanized
Artillery
Icon Concept Code
Anti-air Anti-Air aa, anti-air
Anti-tank Anti-Tank at, anti-tank
Artillery Artillery arty, artillery
Rocket Artillery Rocket Artillery rart, rocket artillery
Motorized Rocket Artillery Motorized Rocket Artillery mot rart, motorized rocket artillery
Attachments
Icon Concept Code
Engineers Engineers eng, engineers
Field hospital Field Hospital fh, field hospital
Logistics company Logistics Company logistics, logistics company
Maintenance company Maintenance Company maintenance, maintenance company
Military police Military Police mp, military police
Recon Recon Company recon, recon company
Signal company Signal Company signal, signal comapny
Support Anti-air Support Anti-Air sup aa, support anti-air
Support Anti-tank Support Anti-Tank sup at, support anti-tank
Support Artillery Support Artillery sup art, support artillery
Support Rocket Artillery Support Rocket Artillery sup r art, support rocket artillery
Armor
Icon Concept Code
Light tank Light Tank light tank, light armor
Light SP Artillery Light SP Artillery light sp artillery, light sp art
Light Tank Destroyer Light Tank Destroyer light tank destroyer, light td
Light SP Anti-Air Light SP Anti-Air light sp anti-air, light sp aa
Medium tank Medium Tank medium tank, med armor
Medium SP Artillery Medium SP Artillery medium sp artillery, med sp art
Medium Tank Destroyer Medium Tank Destroyer medium tank destroyer, medium td
Medium SP Anti-Air Medium SP Anti-Air medium sp anti-air, medium sp aa
Heavy tank Heavy Tank heavy tank, heavy armor
Heavy SP Artillery Heavy SP Artillery heavy sp artillery, heavy sp art
Heavy Tank Destroyer Heavy Tank Destroyer heavy tank destroyer, heavy td
Heavy SP Anti-Air Heavy SP Anti-Air heavy sp anti-air, heavy sp aa
Super heavy tank Super Heavy Tank super heavy tank, s heavy armor
Super Heavy SP Artillery Super Heavy SP Artillery super heavy sp artillery, s heavy sp art
Super Heavy Tank Destroyer Super Heavy Tank Destroyer super heavy tank destroyer, s heavy td
Super Heavy SP Anti-Air Super Heavy SP Anti-Air super heavy sp anti-air, s heavy sp aa
Modern tank Modern Tank modern tank, modern armor
Modern SP Artillery Modern SP Artillery modern sp artillery, modern sp art
Modern Tank Destroyer Modern Tank Destroyer modern tank destroyer, modern td
Modern SP Anti-Air Modern SP Anti-Air modern sp anti-air, modern sp aa