Template:图标:修订间差异

无编辑摘要
无编辑摘要
第321行: 第321行:
| 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|}}} }}
| nsb = {{Icon/Substitution | link = No Step Back | iconfile = No Step Back icon.png | caption = No Step Back | 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|}}} }}
| bba = {{Icon/Substitution | link = By Blood Alone | iconfile = HoI4 icon.png | caption = By Blood Alone | 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|}}} }}
<!-- 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月8日 (六) 09:14的版本

[阅读] [编辑]Template-info.png 模板文档

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
Hearts of Iron IV Hearts of Iron 4 hoi4
Together for Victory Together for Victory tfv
Death or Dishonor Death or Dishonor dod
Waking the Tiger Waking the Tiger wtt
Man the Guns Man the Guns mtg
La Résistance La Résistance lar
Battle for the Bosporus Battle for the Bosporus bfb, bftb
No Step Back No Step Back nsb
By Blood Alone By Blood Alone bba
(未识别的字符串“aat”用于 Template:Icon Arms Against Tyranny aat
(未识别的字符串“toa”用于 Template:Icon Trial of Allegiance toa
(未识别的字符串“gd”用于 Template:Icon Götterdämmerung gtd, gd, wuw
(未识别的字符串“goe”用于 Template:Icon Graveyard of Empires goe


Miscellaneous
Icon Concept Code
Yes Yes yes
No No no
Time Time time
Unknown Unknown unknown
Mutually Exclusive Mutually Exclusive exclusivem
Mutually Exclusive Mutually Exclusive exclusiver
(未识别的字符串“bop left”用于 Template:Icon Left left, bop left
(未识别的字符串“bop right”用于 Template:Icon Right right, bop right
Opinion Opinion opinion
War goal War goal cb, war goal
World Tension World Tension world tension
Non-aggression pact Non aggression pact nap, non-aggression pact
Autonomy Autonomy autonomy
Autonomy
Icon Concept Code
(未识别的字符串“independent”用于 Template:Icon Independent
Free
independent
free
(未识别的字符串“Dominion”用于 Template:Icon Dominion dominion
(未识别的字符串“Colony”用于 Template:Icon Colony colony
(未识别的字符串“Puppet”用于 Template:Icon Puppet puppet
(未识别的字符串“Integrated Puppet”用于 Template:Icon Integrated Puppet integrated puppet
(未识别的字符串“Annex”用于 Template:Icon Annex
Annexed
Annex
Annexed
(未识别的字符串“Satellite”用于 Template:Icon Satellite satellite
(未识别的字符串“Reichsprotectorate”用于 Template:Icon Reichsprotectorate reichsprotectorate
(未识别的字符串“Reichskomissariat”用于 Template:Icon Reichskomissariat reichskomissariat
(未识别的字符串“Imperial Subject”用于 Template:Icon Imperial Subject imperial subject
(未识别的字符串“Imperial Associate”用于 Template:Icon Imperial Associate imperial associate
(未识别的字符串“Imperial Protectorate”用于 Template:Icon Imperial Protectorate imperial protectorate
(未识别的字符串“Supervised State”用于 Template:Icon Supervised State supervised state
(未识别的字符串“Collaboration Government”用于 Template:Icon Collaboration Government collaboration government
(未识别的字符串“Personal Union”用于 Template:Icon Personal Union personal union
(未识别的字符串“Nordic defense council member”用于 Template:Icon Nordic defense council member nordic defense council member
(未识别的字符串“Austro-Hungarian Vassal”用于 Template:Icon Austro-hungarian vassal austro-hungarian vassal, ah vassal
(未识别的字符串“eu member state”用于 Template:Icon EU member state eu member state, eu member
(未识别的字符串“volkskommissariat”用于 Template:Icon Volkskommissariat volkskommissariat

Resources

Strategic resources
Icon Concept Code
Aluminum Aluminum aluminum
Chromium Chromium chromium
Oil Oil oil
Rubber Rubber rubber
Steel Steel steel
Tungsten Tungsten tungsten
(未识别的字符串“fuel”用于 Template:Icon Fuel fuel
National resources
Icon Concept Code
Air experience Air Experience air exp
Army experience Army Experience army exp
Navy experience Navy Experience navy exp
Manpower Manpower
Recruitable Population
manpower
recruitable population,recruitable pop
Population Population pop, population
Victory point Victory point vp, victory point
Political Power Political Power political power
Stability Stability stability
War support War support war support
Construction cost Construction cost construction cost
Production cost Production cost production cost
(未识别的字符串“production cost n”用于 Template:Icon Production cost (naval) naval production cost,production cost n
(未识别的字符串“Command power”用于 Template:Icon Command power command power, cp, command point

Ideology

Icon Concept Code
communismcommunism Communism
Communist
communism
communist
democracydemocracy Democracy
Democratic
democracy
democratic
fascismfascism Fascism
Fascist
fascism
fascist
neutralityneutrality Neutrality
Non-Aligned
Unaligned
neutrality
non-aligned
unaligned
anarchismanarchism Anarchism
Anarchist
anarchism
anarchist
Unknown IdeologyUnknown Ideology Unknown Ideology unknownid

Laws

Conscription laws
Icon Concept Code
Disarmed Nation Disarmed Nation disarmed nation
Volunteer Only Volunteer Only volunteer only
Limited Conscription Limited Conscription limited conscription
Extensive Conscription Extensive Conscription extensive conscription
Service by Requirement Service by Requirement service by requirement
All Adults Serve All Adults Serve all adults serve
Scraping the Barrel Scraping the Barrel scraping the barrel
(未识别的字符串“the chitet”用于 Template:Icon The Chitet the chitet
(未识别的字符串“swiss citizen militias”用于 Template:Icon Swiss Citizen Militias swiss citizen militias
(未识别的字符串“expanded swiss citizen militias”用于 Template:Icon 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”用于 Template:Icon Embargoed Economy embargoed economy
(未识别的字符串“autarky”用于 Template:Icon Autarky autarky
(未识别的字符串“special economic zones”用于 Template:Icon Special Economic Zones special economic zones
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 war economy
Total Mobilization Total Mobilization total mobilization
Collectivized Society Collectivized Society collectivized society
(未识别的字符串“New Economic Policy”用于 Template:Icon New Economic Policy new economic policy
(未识别的字符串“Totaler Krieg”用于 Template:Icon Totaler Krieg totaler krieg
(未识别的字符串“Capital Investment Model”用于 Template:Icon Capital Investment Model capital investment model

Buildings

Icon Concept Code
Building slot Building slot
Building Slots
building slot
building slots
Military factory Military Factory
Military Factories
mic, military factory
mics, military factories
Civilian factory Civilian Factory
Civilian Factories
cic, civilian factory
cics, civilian factories
Naval dockyard Naval Dockyard
Naval Dockyards
Dockyard
Dockyards
nic, naval factory, naval dockyard
nics, naval factories, naval dockyards
dockyard
dockyards
(未识别的字符串“convert”用于 Template:Icon Convert
Civilian to military factory conversion cost
Military to Civilian factory conversion cost
Factory conversion cost
Civilian to military factory conversion speed
Military to Civilian factory conversion speed
Factory conversion speed
convert
civilian to military factory conversion cost, cic to mic cost
military to civilian factory conversion cost, mic to cic cost
factory conversion cost
civilian to military factory conversion speed, cic to mic speed
military to civilian factory conversion speed, mic to cic speed
factory conversion speed
Infrastructure Infrastructure infra, infrastructure
Railway Railway
Railways
railway
railways
Supply Hub Supply hub
Supply hubs
supply hub
supply hubs
Anti-air Anti-air (building) static aa, static anti air, static anti-air, aa building, anti air building, anti-air building
Air base Air base
Air bases
air base
Air bases
Radar station Radar station
Radar stations
radar station
Radar stations
Naval base Naval base
Naval bases
naval base
Naval bases
Synthetic refinery Synthetic refinery
Synthetic refineries
synth, synthetic, refinery, synthetic refinery
synths, synthetics, refineries, synthetic refineries
Fuel silo Fuel silo
Fuel silos
fuel silo
fuel silos
Rocket site Rocket site rocket site
Nuclear reactor Nuclear reactor
Heavy water nuclear reactor
reactor, nuclear reactor
hw reactor, heavy water nuclear reactor
Land fort Land fort
Land forts
land fort
land forts
Coastal fort Coastal fort
Coastal forts
coastal fort
coastal forts
(未识别的字符串“Naval Engineering Facility”用于 Template:Icon Naval engineering facility
Naval facility
naval facility
naval engineering facility
(未识别的字符串“Nuclear Research Facility”用于 Template:Icon Nuclear research facility
Nuclear facility
nuclear research facility
nuclear facility
(未识别的字符串“Aerodynamics and Avionics Facility”用于 Template:Icon Aerodynamics and Avionics Facility
Air facility
aerodynamics and avionics facility
air facility
(未识别的字符串“Land Warfare Facility”用于 Template:Icon Land warfare facility land warfare facility
(未识别的字符串“Stronghold Network”用于 Template:Icon Stronghold network stronghold network
(未识别的字符串“multi-charge large caliber gun”用于 Template:Icon Multi-charge large caliber gun mega gun,mega gun emplacement, multi-charge large caliber gun
(未识别的字符串“Civilian Nuclear Reactor”用于 Template:Icon Civilian nuclear reactor civilian nuclear reactor
(未识别的字符串“Dam”用于 Template:Icon Dam Dam
(未识别的字符串“Canal Locks”用于 Template:Icon Canal
Canal Locks
Kiel Canal
Kiel Canal Locks
Panama Canal
Panama Canal Locks
canal
canal locks
kiel canal
kiel canal locks
panama canal
panama canal locks
(未识别的字符串“Landmark”用于 Template:Icon Landmark landmark

Production

Icon Concept Code
(未识别的字符串“dockyard output”用于 Template:Icon Dockyard Output dockyard output
(未识别的字符串“factory output”用于 Template:Icon Factory Output factory output
(未识别的字符串“Production Efficiency Cap”用于 Template:Icon Production Efficiency Cap pe cap, production efficiency cap
(未识别的字符串“Production Efficiency Retention”用于 Template:Icon Production Efficiency Retention pe retention, production efficiency retention
(未识别的字符串“Production Efficiency Growth”用于 Template:Icon Production Efficiency Growth
Production Efficiency Gain
Production Efficiency
pe growth, production efficiency growth
pe gain, production efficiency gain
production efficiency
(未识别的字符串“Factory Bomb Vulnerability”用于 Template:Icon Factory Bomb Vulnerability factory bomb vulnerability

Units

Codes given are examples. More are supported.

Infantry
Icon Concept Code
Infantry Infantry inf, infantry
(未识别的字符串“Bicycle”用于 Template:Icon Bicycle Battalion bicycle battalion,bicycle
(未识别的字符串“penal battalion”用于 Template:Icon Penal Battalion penal battalion,penal
(未识别的字符串“irregular infantry”用于 Template:Icon Irregular Infantry irregular inf,irregulars,irregular infantry
(未识别的字符串“militia”用于 Template:Icon Militia militia
Marine Marines marines
(未识别的字符串“marine commandos”用于 Template:Icon Marine Commandos marine commandos
Paratroop Paratroopers paratroopers
Mountain Mountaineers mountaineers
Mobile
Icon Concept Code
Cavalry Cavalry cav, cavalry
(未识别的字符串“camelry”用于 Template:Icon Camelry cam, camelry
(未识别的字符串“elephantry”用于 Template:Icon Elephantry elephantry
Motorized Motorized mot, motorized
Mechanized Mechanized mech, mechanized
(未识别的字符串“Amtrac”用于 Template:Icon Amtrac Battalion amtrac Battalion,amtrac
(未识别的字符串“Armored car”用于 Template:Icon Armored Car armored car,armoured car
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
Mobile Combat Support Battalions
Icon Concept Code
(未识别的字符串“motorized anti-air”用于 Template:Icon Motorized Anti-Air mot aa,mot antiair, mot anti-air, motorised antiair, motorized antiair
(未识别的字符串“motorized anti-tank”用于 Template:Icon Motorized Anti-Tank mot at,mot antitank, mot anti-tank, motorised antitank, motorized antitank
(未识别的字符串“motorized artillery”用于 Template:Icon Motorized Artillery mot arty,motorised artillery, motorized artillery
(未识别的字符串“truck drawn rocket artillery”用于 Template:Icon Truck-Drawn Rocket Artillery td rart, td r artillery, truck drawn rocket artillery, truck-drawn rocket artillery
Motorized Rocket Artillery Motorized Rocket Artillery mot rart, motorized rocket artillery
Attachments
Icon Concept Code
Engineers Engineer company eng, engineers, engineer company
(未识别的字符串“armored engineers”用于 Template:Icon Armored engineer company armored eng, armored engineers, armored engineer company
(未识别的字符串“assault engineers”用于 Template:Icon Assault engineer company ass eng, assault engineers, assault engineer company
Field hospital Field Hospital fh, field hospital
(未识别的字符串“heli fh”用于 Template:Icon Helicopter Med-Evac heli fh, helicopter field hospital, heli med evac, helicopter med-evac
Logistics company Logistics Company logistics, logistics company
(未识别的字符串“heli transports”用于 Template:Icon Helicopter Transports heli logistics, heli transports,helicopter logistics, helicopter transports
Maintenance company Maintenance Company maintenance, maintenance company
(未识别的字符串“armored maintenance”用于 Template:Icon Armored maintenance Company armored maintenance, armored maintenance company
Military police Military Police mp, military police
(未识别的字符串“motorized military police”用于 Template:Icon Motorized Military Police mot mp, motorized military police
Recon Cavalry Recon recon, recon company, cavalry recon detachment, cavalry recon, cav recon
(未识别的字符串“mot recon”用于 Template:Icon Motorized Recon mot recon, motorized recon company, motorized recon
(未识别的字符串“light armored recon”用于 Template:Icon Light Armored Recon light armored recon, light armored recon company, armored car recon
(未识别的字符串“armored recon”用于 Template:Icon Armored Recon armored recon, armored recon company, light tank recon
(未识别的字符串“helicopter recon”用于 Template:Icon Helicopter Recon helicopter recon, heli recon
Signal company Signal Company signal, signal company
(未识别的字符串“armored signal”用于 Template:Icon Armored Signal Company armored signal, armored signal company
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
(未识别的字符串“self-propelled super-heavy artillery”用于 Template:Icon Self-Propelled Super-Heavy Artillery super-heavy artillery, sp s heavy art
(未识别的字符串“super-heavy artillery”用于 Template:Icon Super-Heavy Artillery super-heavy artillery, s heavy art
(未识别的字符串“helicopter brigade”用于 Template:Icon Helicopter brigade Helicopter brigade, heli brigade
(未识别的字符串“land cruiser”用于 Template:Icon Land Cruiser land cruiser
(未识别的字符串“rangers”用于 Template:Icon Rangers rangers
(未识别的字符串“pioneers”用于 Template:Icon Pioneers pioneers
(未识别的字符串“airborne light armor”用于 Template:Icon Airborne light armor airborne light armor, airborne armored recon
(未识别的字符串“assault battalion”用于 Template:Icon Assault battalion assault, assault battalion
(未识别的字符串“winter logistics”用于 Template:Icon Winter logistics winter logistics, winter logistics company
(未识别的字符串“long range patrol”用于 Template:Icon Long range patrol long range patrol, long range patrol company
(未识别的字符串“jungle pioneers”用于 Template:Icon Jungle pioneers jungle pioneers, jungle pioneers company
(未识别的字符串“sturmtruppe battalion”用于 Template:Icon Sturmtruppe Battalion sturmtruppe battalion
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
(未识别的字符串“light amphibious tank”用于 Template:Icon Light Amphibious Tank light amphibious tank, light amphibious armor, light a armor
(未识别的字符串“light flame tank”用于 Template:Icon Light Flame Tank light flame tank, light flame armor, light f armor
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
(未识别的字符串“medium amphibious tank”用于 Template:Icon Medium Amphibious Tank medium amphibious tank, medium amphibious armor, med a armor
(未识别的字符串“medium flame tank”用于 Template:Icon Medium Flame Tank medium flame tank, medium flame armor, med f armor
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
(未识别的字符串“heavy amphibious tank”用于 Template:Icon Heavy Amphibious Tank heavy amphibious tank, heavy amphibious armor, heavy a armor
(未识别的字符串“medium flame tank”用于 Template:Icon Heavy Flame Tank heavy flame tank, heavy flame armor, heavy f armor
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
(未识别的字符串“amphibious tank”用于 Template:Icon Amphibious Tank amphibious tank, amphibious armor
Railway artillery
Icon Concept Code
(未识别的字符串“railway gun”用于 Template:Icon Railway gun rail arty, rail gun, railway gun, railway artillery
(未识别的字符串“super-heavy railway gun”用于 Template:Icon Super-Heavy Railway gun sh rail arty, sh rail gun, super heavy railway gun, super-heavy railway artillery
Other
Icon Concept Code
(未识别的字符串“integralist militia”用于 Template:Icon Integralist militia integralist militia