小 (→Laws) |
小 (→Buildings) |
||
| 第511行: | 第511行: | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|building slot}} | | style="text-align: center;" | {{Icon|building slot}} | ||
| Building slot | | Building slot<br/> Building Slots | ||
| <code>building slot</code> | | <code>building slot</code><br/><code>building slots</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|military factory}} | | style="text-align: center;" | {{Icon|military factory}} | ||
| Military Factory | | Military Factory<br/>Military Factories | ||
| <code>mic</code>, <code>mics</code>, <code>military | | <code>mic</code>, <code>military factory</code><br/><code>mics</code>, <code>military factories</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|civilian factory}} | | style="text-align: center;" | {{Icon|civilian factory}} | ||
| Civilian Factory | | Civilian Factory<br/>Civilian Factories | ||
| <code>cic</code>, <code>cics</code>, <code>civilian | | <code>cic</code>, <code>civilian factory</code><br/><code>cics</code>, <code>civilian factories</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|naval dockyard}} | | style="text-align: center;" | {{Icon|naval dockyard}} | ||
| Naval Dockyard | | Naval Dockyard<br/>Naval Dockyards<br/>Dockyard<br/>Dockyards | ||
| <code>nic</code>, <code>nics</code>, <code>naval | | <code>nic</code>, <code>naval factory</code>, <code>naval dockyard</code><br/><code>nics</code>, <code>naval factories</code>, <code>naval dockyards</code><br/><code>dockyard</code><br/><code>dockyards</code> | ||
|- | |||
| style="text-align: center;" | {{Icon|convert}} | |||
| Convert<br/>Civilian to military factory conversion cost<br/>Military to Civilian factory conversion cost<br/> Factory conversion cost<br/> Civilian to military factory conversion speed<br/>Military to Civilian factory conversion speed<br/> Factory conversion speed | |||
| <code>convert</code><br/> <code>civilian to military factory conversion cost</code>, <code>cic to mic cost</code><br/><code>military to civilian factory conversion cost</code>, <code>mic to cic cost</code><br/> <code>factory conversion cost</code> <br/> <code>civilian to military factory conversion speed</code>, <code>cic to mic speed</code><br/><code>military to civilian factory conversion speed</code>, <code>mic to cic speed</code><br/> <code>factory conversion speed</code> | |||
|- | |- | ||
| style="text-align: center;" | {{Icon|infrastructure}} | | style="text-align: center;" | {{Icon|infrastructure}} | ||
| 第531行: | 第535行: | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|railway}} | | style="text-align: center;" | {{Icon|railway}} | ||
| Railway | | Railway<br/> Railways | ||
| <code>railway</code> | | <code>railway</code><br/><code>railways</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|supply hub}} | | style="text-align: center;" | {{Icon|supply hub}} | ||
| Supply hub | | Supply hub<br/>Supply hubs | ||
| <code>supply hub</code> | | <code>supply hub</code><br/><code>supply hubs</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|anti-air building}} | | style="text-align: center;" | {{Icon|anti-air building}} | ||
| 第543行: | 第547行: | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|air base}} | | style="text-align: center;" | {{Icon|air base}} | ||
| Air base | | Air base<br/>Air bases | ||
| <code>air base</code> | | <code>air base</code><br/><code>Air bases</code> | ||
|- | |||
| style="text-align: center;" | {{Icon|radar station}} | |||
| Radar station<br/>Radar stations | |||
| <code>radar station</code><br/><code>Radar stations</code> | |||
|- | |- | ||
| style="text-align: center;" | {{Icon|naval base}} | | style="text-align: center;" | {{Icon|naval base}} | ||
| Naval base | | Naval base<br/>Naval bases | ||
| <code>naval base</code> | | <code>naval base</code><br/><code>Naval bases</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|synthetic refinery}} | | style="text-align: center;" | {{Icon|synthetic refinery}} | ||
| Synthetic refinery | | Synthetic refinery<br/>Synthetic refineries | ||
| <code>synth</code>, <code>synthetic</code>, <code>refinery</code>, <code>synthetic refinery</code> | | <code>synth</code>, <code>synthetic</code>, <code>refinery</code>, <code>synthetic refinery</code><br/><code>synths</code>, <code>synthetics</code>, <code>refineries</code>, <code>synthetic refineries</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|fuel silo}} | | style="text-align: center;" | {{Icon|fuel silo}} | ||
| Fuel silo | | Fuel silo<br/>Fuel silos | ||
| <code>fuel silo</code> | | <code>fuel silo</code><br/><code>fuel silos</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|rocket site}} | | style="text-align: center;" | {{Icon|rocket site}} | ||
| 第563行: | 第571行: | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|nuclear reactor}} | | style="text-align: center;" | {{Icon|nuclear reactor}} | ||
| Nuclear reactor | | Nuclear reactor<br/>Heavy water nuclear reactor | ||
| <code>reactor</code>, <code>nuclear reactor</code> | | <code>reactor</code>, <code>nuclear reactor</code><br/><code>hw reactor</code>, <code>heavy water nuclear reactor</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|land fort}} | | style="text-align: center;" | {{Icon|land fort}} | ||
| Land fort | | Land fort<br/>Land forts | ||
| <code>land fort</code> | | <code>land fort</code><br/><code>land forts</code> | ||
|- | |- | ||
| style="text-align: center;" | {{Icon|coastal fort}} | | style="text-align: center;" | {{Icon|coastal fort}} | ||
| Coastal fort | | Coastal fort<br/>Coastal forts | ||
| <code>coastal fort</code> | | <code>coastal fort</code><br/><code>coastal forts</code> | ||
|- | |||
| style="text-align: center;" | {{Icon|Naval Engineering Facility}} | |||
| Naval engineering facility<br/>Naval facility | |||
| <code>naval facility</code><br/><code>naval engineering facility</code> | |||
|- | |||
| style="text-align: center;" | {{Icon|Nuclear Research Facility}} | |||
| Nuclear research facility<br/>Nuclear facility | |||
| <code>nuclear research facility</code><br/><code>nuclear facility</code> | |||
|- | |||
| style="text-align: center;" | {{Icon|Aerodynamics and Avionics Facility}} | |||
| Aerodynamics and Avionics Facility<br/>Air facility | |||
| <code>aerodynamics and avionics facility</code><br/><code>air facility</code> | |||
|- | |||
| style="text-align: center;" | {{Icon|Land Warfare Facility}} | |||
| Land warfare facility | |||
| <code>land warfare facility</code> | |||
|- | |||
| style="text-align: center;" | {{Icon|Stronghold Network}} | |||
| Stronghold network | |||
| <code>stronghold network</code> | |||
|- | |||
| style="text-align: center;" | {{Icon|multi-charge large caliber gun}} | |||
| Multi-charge large caliber gun | |||
| <code>mega gun</code>,<code>mega gun emplacement</code>, <code>multi-charge large caliber gun</code> | |||
|- | |||
| style="text-align: center;" | {{Icon|Civilian Nuclear Reactor}} | |||
| Civilian nuclear reactor | |||
| <code>civilian nuclear reactor</code> | |||
|- | |||
| style="text-align: center;" | {{Icon|Dam}} | |||
| Dam | |||
| <code>Dam</code> | |||
|- | |||
| style="text-align: center;" | {{Icon|Canal Locks}} | |||
| Canal<br/>Canal Locks<br/>Kiel Canal<br/>Kiel Canal Locks<br/>Panama Canal<br/>Panama Canal Locks | |||
| <code>canal</code><br/><code>canal locks</code><br/><code>kiel canal</code><br/><code>kiel canal locks</code><br/><code>panama canal</code><br/><code>panama canal locks</code> | |||
|- | |||
| style="text-align: center;" | {{Icon|Landmark}} | |||
| Landmark | |||
| <code>landmark</code> | |||
|} | |} | ||
2025年6月16日 (一) 22:02的版本
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
Resources
| Icon | Concept | Code |
|---|---|---|
| Aluminum | aluminum
| |
| Chromium | chromium
| |
| Oil | oil
| |
| Rubber | rubber
| |
| Steel | steel
| |
| Tungsten | tungsten
| |
| Fuel | fuel
|
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
Buildings
Production
Units
Codes given are examples. More are supported.
| Icon | Concept | Code |
|---|---|---|
| Infantry | inf, infantry
| |
| Marines | marines
| |
| Paratroopers | paratroopers
| |
| Mountaineers | mountaineers
|
| Icon | Concept | Code |
|---|---|---|
| Cavalry | cav, cavalry
| |
| Motorized | mot, motorized
| |
| Mechanized | mech, mechanized
|