无编辑摘要 |
无编辑摘要 |
||
| 第383行: | 第383行: | ||
| 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|}}} }} | ||
| yes = {{Icon/Substitution | link = File:Yes.png | iconfile = Yes.png | caption = Yes | usertext = {{{2|}}} | width = {{{width|}}} }} | | yes = {{Icon/Substitution | link = File:Yes.png | iconfile = Yes.png | caption = Yes | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| opinion = {{Icon/Substitution | link = Opinion | iconfile = Opinion.png | caption = | | 关系 | ||
| opinion = {{Icon/Substitution | link = Opinion | iconfile = Opinion.png | caption = 关系 | usertext = {{{2|}}} | width = {{{width|}}} }} | |||
| unknown = {{Icon/Substitution | link = | iconfile = Unknown.png | caption = Unknown | usertext = {{{2|}}} | width = {{{width|}}} }} | | unknown = {{Icon/Substitution | link = | iconfile = Unknown.png | caption = Unknown | usertext = {{{2|}}} | width = {{{width|}}} }} | ||
| cb | | cb | ||
2022年11月25日 (五) 19:32的版本
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}}
|
|
{{Icon|super heavy tank|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
|
| (unrecognized string "gd" for Template:Icon) | Götterdämmerung | gtd, gd, wuw
|
| (unrecognized string "goe" for Template:Icon) | Graveyard of Empires | goe
|
| Icon | Concept | Code |
|---|---|---|
| Yes | yes
| |
| No | no
| |
| Time | time
| |
| Unknown | unknown
| |
| Mutually Exclusive | exclusivem
| |
| Mutually Exclusive | exclusiver
| |
| (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
|
| Icon | Concept | Code |
|---|---|---|
| Independent Free |
independentfree
| |
| Dominion | dominion
| |
| Colony | colony
| |
| Puppet | puppet
| |
| Integrated Puppet | integrated puppet
| |
| (unrecognized string "Annex" for Template:Icon) | Annex Annexed |
AnnexAnnexed
|
| 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
| |
| (unrecognized string "Nordic defense council member" for Template:Icon) | Nordic defense council member | nordic defense council member
|
| (unrecognized string "Austro-Hungarian Vassal" for Template:Icon) | Austro-hungarian vassal | austro-hungarian vassal, ah vassal
|
| (unrecognized string "eu member state" for Template:Icon) | EU member state | eu member state, eu member
|
| (unrecognized string "volkskommissariat" for Template:Icon) | Volkskommissariat | volkskommissariat
|
Resources
| Icon | Concept | Code |
|---|---|---|
| Aluminum | aluminum
| |
| Chromium | chromium
| |
| Oil | oil
| |
| Rubber | rubber
| |
| Steel | steel
| |
| Tungsten | tungsten
| |
| (unrecognized string "fuel" for Template:Icon) | Fuel | fuel
|
| Icon | Concept | Code |
|---|---|---|
| Air Experience | air exp
| |
| Army Experience | army exp
| |
| Navy Experience | navy exp
| |
| Manpower Recruitable Population |
manpowerrecruitable 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 Communist |
communismcommunist
| |
| Democracy Democratic |
democracydemocratic
| |
| Fascism Fascist |
fascismfascist
| |
| Neutrality Non-Aligned Unaligned |
neutralitynon-alignedunaligned
| |
| Anarchism Anarchist |
anarchismanarchist
| |
| 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
| |
| (unrecognized string "autarky" for Template:Icon) | Autarky | autarky
|
| (unrecognized string "special economic zones" for Template:Icon) | Special Economic Zones | special economic zones
|
| 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
| |
| (unrecognized string "Totaler Krieg" for Template:Icon) | Totaler Krieg | totaler krieg
|
| (unrecognized string "Capital Investment Model" for Template:Icon) | Capital Investment Model | capital investment model
|
Buildings
| Icon | Concept | Code |
|---|---|---|
| Building slot Building Slots |
building slotbuilding slots
| |
| Military Factory Military Factories |
mic, military factorymics, military factories
| |
| Civilian Factory Civilian Factories |
cic, civilian factorycics, civilian factories
| |
| Naval Dockyard Naval Dockyards Dockyard Dockyards |
nic, naval factory, naval dockyardnics, naval factories, naval dockyardsdockyarddockyards
| |
| (unrecognized string "convert" for 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 |
convertcivilian to military factory conversion cost, cic to mic costmilitary to civilian factory conversion cost, mic to cic costfactory conversion cost civilian to military factory conversion speed, cic to mic speedmilitary to civilian factory conversion speed, mic to cic speedfactory conversion speed
|
| Infrastructure | infra, infrastructure
| |
| |
Railway Railways |
railwayrailways
|
| |
Supply hub Supply hubs |
supply hubsupply hubs
|
| Anti-air (building) | static aa, static anti air, static anti-air, aa building, anti air building, anti-air building
| |
| Air base Air bases |
air baseAir bases
| |
| Radar station Radar stations |
radar stationRadar stations
| |
| Naval base Naval bases |
naval baseNaval bases
| |
| Synthetic refinery Synthetic refineries |
synth, synthetic, refinery, synthetic refinerysynths, synthetics, refineries, synthetic refineries
| |
| Fuel silo Fuel silos |
fuel silofuel silos
| |
| Rocket site | rocket site
| |
| Nuclear reactor Heavy water nuclear reactor |
reactor, nuclear reactorhw reactor, heavy water nuclear reactor
| |
| Land fort Land forts |
land fortland forts
| |
| Coastal fort Coastal forts |
coastal fortcoastal forts
| |
| (unrecognized string "Naval Engineering Facility" for Template:Icon) | Naval engineering facility Naval facility |
naval facilitynaval engineering facility
|
| (unrecognized string "Nuclear Research Facility" for Template:Icon) | Nuclear research facility Nuclear facility |
nuclear research facilitynuclear facility
|
| (unrecognized string "Aerodynamics and Avionics Facility" for Template:Icon) | Aerodynamics and Avionics Facility Air facility |
aerodynamics and avionics facilityair facility
|
| (unrecognized string "Land Warfare Facility" for Template:Icon) | Land warfare facility | land warfare facility
|
| (unrecognized string "Stronghold Network" for Template:Icon) | Stronghold network | stronghold network
|
| (unrecognized string "multi-charge large caliber gun" for Template:Icon) | Multi-charge large caliber gun | mega gun,mega gun emplacement, multi-charge large caliber gun
|
| (unrecognized string "Civilian Nuclear Reactor" for Template:Icon) | Civilian nuclear reactor | civilian nuclear reactor
|
| (unrecognized string "Dam" for Template:Icon) | Dam | Dam
|
| (unrecognized string "Canal Locks" for Template:Icon) | Canal Canal Locks Kiel Canal Kiel Canal Locks Panama Canal Panama Canal Locks |
canalcanal lockskiel canalkiel canal lockspanama canalpanama canal locks
|
| (unrecognized string "Landmark" for Template:Icon) | Landmark | landmark
|
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 Gain Production Efficiency |
pe growth, production efficiency growthpe gain, production efficiency gainproduction 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
| |
| (unrecognized string "Bicycle" for Template:Icon) | Bicycle Battalion | bicycle battalion,bicycle
|
| (unrecognized string "penal battalion" for Template:Icon) | Penal Battalion | penal battalion,penal
|
| (unrecognized string "irregular infantry" for Template:Icon) | Irregular Infantry | irregular inf,irregulars,irregular infantry
|
| (unrecognized string "militia" for Template:Icon) | Militia | militia
|
| Marines | marines
| |
| (unrecognized string "marine commandos" for Template:Icon) | Marine Commandos | marine commandos
|
| Paratroopers | paratroopers
| |
| Mountaineers | mountaineers
|
| Icon | Concept | Code |
|---|---|---|
| Cavalry | cav, cavalry
| |
| (unrecognized string "camelry" for Template:Icon) | Camelry | cam, camelry
|
| (unrecognized string "elephantry" for Template:Icon) | Elephantry | elephantry
|
| Motorized | mot, motorized
| |
| Mechanized | mech, mechanized
| |
| (unrecognized string "Amtrac" for Template:Icon) | Amtrac Battalion | amtrac Battalion,amtrac
|
| (unrecognized string "Armored car" for Template:Icon) | Armored Car | armored car,armoured car
|
| Icon | Concept | Code |
|---|---|---|
| Anti-Air | aa, anti-air
| |
| Anti-Tank | at, anti-tank
| |
| Artillery | arty, artillery
| |
| Rocket Artillery | rart, rocket artillery
|
| Icon | Concept | Code |
|---|---|---|
| (unrecognized string "motorized anti-air" for Template:Icon) | Motorized Anti-Air | mot aa,mot antiair, mot anti-air, motorised antiair, motorized antiair
|
| (unrecognized string "motorized anti-tank" for Template:Icon) | Motorized Anti-Tank | mot at,mot antitank, mot anti-tank, motorised antitank, motorized antitank
|
| (unrecognized string "motorized artillery" for Template:Icon) | Motorized Artillery | mot arty,motorised artillery, motorized artillery
|
| (unrecognized string "truck drawn rocket artillery" for Template:Icon) | Truck-Drawn Rocket Artillery | td rart, td r artillery, truck drawn rocket artillery, truck-drawn rocket artillery
|
| Motorized Rocket Artillery | mot rart, motorized rocket artillery
|
| Icon | Concept | Code |
|---|---|---|
| Engineer company | eng, engineers, engineer company
| |
| (unrecognized string "armored engineers" for Template:Icon) | Armored engineer company | armored eng, armored engineers, armored engineer company
|
| (unrecognized string "assault engineers" for Template:Icon) | Assault engineer company | ass eng, assault engineers, assault engineer company
|
| Field Hospital | fh, field hospital
| |
| (unrecognized string "heli fh" for Template:Icon) | Helicopter Med-Evac | heli fh, helicopter field hospital, heli med evac, helicopter med-evac
|
| Logistics Company | logistics, logistics company
| |
| (unrecognized string "heli transports" for Template:Icon) | Helicopter Transports | heli logistics, heli transports,helicopter logistics, helicopter transports
|
| Maintenance Company | maintenance, maintenance company
| |
| (unrecognized string "armored maintenance" for Template:Icon) | Armored maintenance Company | armored maintenance, armored maintenance company
|
| Military Police | mp, military police
| |
| (unrecognized string "motorized military police" for Template:Icon) | Motorized Military Police | mot mp, motorized military police
|
| Cavalry Recon | recon, recon company, cavalry recon detachment, cavalry recon, cav recon
| |
| (unrecognized string "mot recon" for Template:Icon) | Motorized Recon | mot recon, motorized recon company, motorized recon
|
| (unrecognized string "light armored recon" for Template:Icon) | Light Armored Recon | light armored recon, light armored recon company, armored car recon
|
| (unrecognized string "armored recon" for Template:Icon) | Armored Recon | armored recon, armored recon company, light tank recon
|
| (unrecognized string "helicopter recon" for Template:Icon) | Helicopter Recon | helicopter recon, heli recon
|
| Signal Company | signal, signal company
| |
| (unrecognized string "armored signal" for Template:Icon) | Armored Signal Company | armored signal, armored signal company
|
| 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
| |
| (unrecognized string "self-propelled super-heavy artillery" for Template:Icon) | Self-Propelled Super-Heavy Artillery | super-heavy artillery, sp s heavy art
|
| (unrecognized string "super-heavy artillery" for Template:Icon) | Super-Heavy Artillery | super-heavy artillery, s heavy art
|
| (unrecognized string "helicopter brigade" for Template:Icon) | Helicopter brigade | Helicopter brigade, heli brigade
|
| (unrecognized string "land cruiser" for Template:Icon) | Land Cruiser | land cruiser
|
| (unrecognized string "rangers" for Template:Icon) | Rangers | rangers
|
| (unrecognized string "pioneers" for Template:Icon) | Pioneers | pioneers
|
| (unrecognized string "airborne light armor" for Template:Icon) | Airborne light armor | airborne light armor, airborne armored recon
|
| (unrecognized string "assault battalion" for Template:Icon) | Assault battalion | assault, assault battalion
|
| (unrecognized string "winter logistics" for Template:Icon) | Winter logistics | winter logistics, winter logistics company
|
| (unrecognized string "long range patrol" for Template:Icon) | Long range patrol | long range patrol, long range patrol company
|
| (unrecognized string "jungle pioneers" for Template:Icon) | Jungle pioneers | jungle pioneers, jungle pioneers company
|
| (unrecognized string "sturmtruppe battalion" for Template:Icon) | Sturmtruppe Battalion | sturmtruppe battalion
|
| 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
| |
| (unrecognized string "light amphibious tank" for Template:Icon) | Light Amphibious Tank | light amphibious tank, light amphibious armor, light a armor
|
| (unrecognized string "light flame tank" for Template:Icon) | Light Flame Tank | light flame tank, light flame armor, light f armor
|
| 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
| |
| (unrecognized string "medium amphibious tank" for Template:Icon) | Medium Amphibious Tank | medium amphibious tank, medium amphibious armor, med a armor
|
| (unrecognized string "medium flame tank" for Template:Icon) | Medium Flame Tank | medium flame tank, medium flame armor, med f armor
|
| 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
| |
| (unrecognized string "heavy amphibious tank" for Template:Icon) | Heavy Amphibious Tank | heavy amphibious tank, heavy amphibious armor, heavy a armor
|
| (unrecognized string "medium flame tank" for Template:Icon) | Heavy Flame Tank | heavy flame tank, heavy flame armor, heavy f armor
|
| 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
| |
| (unrecognized string "amphibious tank" for Template:Icon) | Amphibious Tank | amphibious tank, amphibious armor
|
| Icon | Concept | Code |
|---|---|---|
| (unrecognized string "railway gun" for Template:Icon) | Railway gun | rail arty, rail gun, railway gun, railway artillery
|
| (unrecognized string "super-heavy railway gun" for Template:Icon) | Super-Heavy Railway gun | sh rail arty, sh rail gun, super heavy railway gun, super-heavy railway artillery
|
| Icon | Concept | Code |
|---|---|---|
| (unrecognized string "integralist militia" for Template:Icon) | Integralist militia | integralist militia
|