Template:图标:修订间差异

无编辑摘要
(04:33, 5 December 2021‎ AkatsukiEmpire)
第1行: 第1行:
<includeonly>{{#switch:{{lc:{{{1}}}}}
<includeonly>{{#switch:{{lc:{{{1}}}}}
| #default = <span style="color: red; font-size: 11px;">(unrecognized string "{{{1}}}" for [[Template:Icon]])</span>[[Category:页面有未识别的图标字符串]]
| #default = <span style="color: red; font-size: 11px;"> (未识别的字符串“{{{1}}} ”用于 [[Template:Icon]] </span>[[Category:页面有未识别的图标字符串]]
<!-- brigade types -->
<!-- brigade types -->
| aa
| aa
第226行: 第226行:
| infra
| infra
| infrastructure = {{Icon/Substitution | link = Construction | iconfile = Infrastructure.png | caption = Infrastructure| usertext = {{{2|}}} | width = {{{width|}}} }}
| infrastructure = {{Icon/Substitution | link = Construction | iconfile = Infrastructure.png | caption = Infrastructure| usertext = {{{2|}}} | width = {{{width|}}} }}
| railway =  {{Icon/Substitution | link = Construction | iconfile = Railway.png | caption = Railway| usertext = {{{2|}}} | width = {{{width|}}} }}
| supply hub =  {{Icon/Substitution | link = Construction | iconfile = Supply hub.png | caption = Supply Hub| usertext = {{{2|}}} | width = {{{width|}}} }}
| static aa
| static aa
| static anti air
| static anti air
第310行: 第312行:
| time = {{Icon/Substitution | link = File:Time.png | iconfile = Time.png | caption = Time | usertext = {{{2|}}} | width = {{{width|}}} }}
| time = {{Icon/Substitution | link = File:Time.png | iconfile = Time.png | caption = Time | usertext = {{{2|}}} | width = {{{width|}}} }}
<!-- DLC -->
<!-- DLC -->
| 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|}}} }}
| 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|}}} }}
第316行: 第320行:
| 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|}}} }}
| bfb
| bftb = {{Icon/Substitution | link = Battle for the Bosporus | iconfile = HoI4 icon.png | caption = Battle for the Bosporus | usertext = {{{2|}}} | width = {{{width|}}} }}
| nsb = {{Icon/Substitution | link = No Step Back | iconfile = HoI4 icon.png | caption = No Step Back | usertext = {{{2|}}} | width = {{{width|}}} }}
| nsb = {{Icon/Substitution | link = No Step Back | iconfile = HoI4 icon.png | caption = No Step Back | usertext = {{{2|}}} | width = {{{width|}}} }}
<!-- misc -->
<!-- misc -->

2022年1月22日 (六) 14:51的版本

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
(未识别的字符串“bba”用于 Template:Icon By Blood Alone bba
(未识别的字符串“aat”用于 Template:Icon Arms Against Tyranny aat
(未识别的字符串“toa”用于 Template:Icon Trial of Allegiance toa


Miscellaneous
Icon Concept Code
Yes Yes yes
No No no
Time Time time
Unknown Unknown unknown
(未识别的字符串“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 independent
(未识别的字符串“Dominion”用于 Template:Icon Dominion dominion
(未识别的字符串“Colony”用于 Template:Icon Colony colony
(未识别的字符串“Puppet”用于 Template:Icon Puppet puppet
(未识别的字符串“Integrated Puppet”用于 Template:Icon Integrated Puppet integrated puppet
(未识别的字符串“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

Resources

Strategic resources
Icon Concept Code
Aluminum Aluminum aluminum
Chromium Chromium chromium
Oil Oil oil
Rubber Rubber rubber
Steel Steel steel
Tungsten Tungsten tungsten
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
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

Buildings

Icon Concept Code
Building slot Building slot building slot
Military factory Military Factory mic, military factory
Civilian factory Civilian Factory cic, civilian factory
Naval dockyard Naval Dockyard nic, naval factory, naval dockyard
Infrastructure Infrastructure infra, infrastructure
Railway Railway railway
Supply Hub Supply hub supply hub
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 base
Naval base Naval base naval base
Synthetic refinery Synthetic refinery synth, synthetic, refinery, synthetic refinery
Fuel silo Fuel silo fuel silo
Rocket site Rocket site rocket site
Nuclear reactor Nuclear reactor reactor, nuclear reactor
Land fort Land fort land fort
Coastal fort Coastal fort coastal fort

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
pe growth, production efficiency growth
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
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