Template:Icon: Difference between revisions
m (Autonomy Icons) |
mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| iconyes = [[File:Trigger yes.png|link=|{{{2|17px}}}]] |
| iconyes = [[File:Trigger yes.png|link=|{{{2|17px}}}]] |
||
| iconno = [[File:Trigger no.png|link=|{{{2|17px}}}]] |
| iconno = [[File:Trigger no.png|link=|{{{2|17px}}}]] |
||
| |
| politicalpower = [[File:Political Power icon.png|link=|{{{2|17px}}}]] |
||
| stability = [[File:Stability icon.png|link=|{{{2|17px}}}]] |
| stability = [[File:Stability icon.png|link=|{{{2|17px}}}]] |
||
| manpower = [[File:Manpower icon.png|link=|{{{2|17px}}}]] |
| manpower = [[File:Manpower icon.png|link=|{{{2|17px}}}]] |
||
Line 21: | Line 21: | ||
| infinity = [[File:Infinity icon.png|link=|{{{2|17px}}}]] |
| infinity = [[File:Infinity icon.png|link=|{{{2|17px}}}]] |
||
| questionmark = [[File:Question mark icon.png|link=|{{{2|17px}}}]] |
| questionmark = [[File:Question mark icon.png|link=|{{{2|17px}}}]] |
||
⚫ | |||
⚫ | |||
| redbox = [[File:Icon red box.png|link=|{{{2|17px}}}]] |
|||
| orangebox = [[File:Icon orange box.png|link=|{{{2|17px}}}]] |
|||
| greybox = [[File:Icon grey box.png|link=|{{{2|17px}}}]] |
|||
| greenbox = [[File:Icon green box.png|link=|{{{2|17px}}}]] |
|||
| purplebox = [[File:Purple box.png|link=|{{{2|17px}}}]] |
|||
| indigobox = [[File:Icon dark purple box.png|link=|{{{2|17px}}}]] |
|||
| yellowbox = [[File:Icon yellow box.png|link=|{{{2|17px}}}]] |
|||
<!-- arrows --> |
|||
| arrowup1 = [[File:Arrow improve 1.png|link=|{{{2|17px}}}]] |
|||
| arrowup2 = [[File:Arrow improve 2.png|link=|{{{2|17px}}}]] |
|||
| arrowup3 = [[File:Arrow improve 3.png|link=|{{{2|17px}}}]] |
|||
| arrowneutral = [[File:Arrow neutral.png|link=|{{{2|17px}}}]] |
|||
| arrowdown1 = [[File:Arrow worsen 1.png|link=|{{{2|17px}}}]] |
|||
| arrowdown2 = [[File:Arrow worsen 2.png|link=|{{{2|17px}}}]] |
|||
| arrowdown3 = [[File:Arrow worsen 3.png|link=|{{{2|17px}}}]] |
|||
| arrowupgreen = [[File:Arrow Increase Green.png|link=|{{{2|17px}}}]] |
|||
| arrowupred = [[File:Arrow Increase Red.png|link=|{{{2|17px}}}]] |
|||
| arrowdowngreen = [[File:Arrow Decrease Green.png|link=|{{{2|17px}}}]] |
|||
| arrowdownred = [[File:Arrow Decrease Red.png|link=|{{{2|17px}}}]] |
|||
<!-- economy --> |
|||
| gdp = [[File:Gdp texticon.png|link=|{{{2|17px}}}]] |
|||
| gdpgrowth = [[File:Gdp growth texticon.png|link=|{{{2|17px}}}]] |
|||
| poverty = [[File:TNO Economy Poverty Icon.png|link=|{{{2|17px}}}]] |
|||
| creditrating = [[File:TNO Economy Credit Rating Icon.png|link=|{{{2|17px}}}]] |
|||
| inflation = [[File:Inflation texticon.png|link=|{{{2|17px}}}]] |
|||
| power = [[File:Tt power.png|link=|{{{2|17px}}}]] |
|||
| produnit = [[File:Tt prod unit.png|link=|{{{2|17px}}}]] |
|||
| produnitred = [[File:Tt prod unit r.png|link=|{{{2|17px}}}]] |
|||
| produnityellow = [[File:Tt prod unit y.png|link=|{{{2|17px}}}]] |
|||
| usdblue = [[File:Dollar sign icon.png|link=|{{{2|17px}}}]] |
|||
| usdgreen = [[File:Dollar green sign icon.png|link=|{{{2|17px}}}]] |
|||
| usdred = [[File:Dollar red sign icon.png|link=|{{{2|17px}}}]] |
|||
| civ = [[File:Tt civ factory.png|link=|{{{2|17px}}}]] |
|||
| mil = [[File:Tt mil factory.png|link=|{{{2|17px}}}]] |
|||
| workshop = [[File:Tt mil workshop.png|link=|{{{2|17px}}}]] |
|||
<!-- autonomy --> |
<!-- autonomy --> |
||
Line 50: | Line 89: | ||
| autonomytransnistria = [[File:Autonomy transnistria governate.png|link=|{{{2|17px}}}]] |
| autonomytransnistria = [[File:Autonomy transnistria governate.png|link=|{{{2|17px}}}]] |
||
<!-- |
<!-- ofn --> |
||
| |
| ofnleader = [[File:Ofn leader icon.webp|link=|{{{2|24px}}}]] |
||
| |
| ofnmember = [[File:OFN Leader.png|link=|{{{2|24px}}}]] |
||
| |
| ofndepend = [[File:OFN dependent ofn member.png|link=|{{{2|24px}}}]] |
||
| |
| ofnpartner = [[File:OFN Observer.png|link=|{{{2|24px}}}]] |
||
| |
| ofnmilitary = [[File:OFN ofn military government.png|link=|{{{2|24px}}}]] |
||
| |
| ofnmandate = [[File:OFN ofn mandate.png|link=|{{{2|24px}}}]] |
||
⚫ | |||
<!-- pakt --> |
|||
⚫ | |||
| |
| paktleader = [[File:GFX Pakt Leader.png|link=|{{{2|24px}}}]] |
||
| |
| paktmitstreiter = [[File:GFX Pakt Mitstreiter.png|link=|{{{2|24px}}}]] |
||
| |
| paktmartionette = [[File:GFX Pakt Marionettenstaat.png|link=|{{{2|24px}}}]] |
||
| paktordensstaat = [[File:GFX Pakt Ordensstaat.png|link=|{{{2|24px}}}]] |
|||
| paktobserver = [[File:GFX Pakt Observer.png|link=|{{{2|24px}}}]] |
|||
| paktpartner = [[File:GFX Pakt Bundnispartner.png|link=|{{{2|24px}}}]] |
|||
| paktmilitary = [[File:GFX Pakt Military Authority.png|link=|{{{2|24px}}}]] |
|||
| paktprotektorat = [[File:GFX Pakt Protektorat.png|link=|{{{2|24px}}}]] |
|||
| paktautonomous = [[File:GFX Pakt Autonomous Reichskommissariat.png|link=|{{{2|24px}}}]] |
|||
| paktintegrated = [[File:GFX Pakt Integrated Reichskommissariat.png|link=|{{{2|24px}}}]] |
|||
<!-- sphere --> |
|||
| sphereleader = [[File:GFX Sphere Leader.png|link=|{{{2|24px}}}]] |
|||
| sphereman = [[File:GFX Sphere Core Member MAN.png|link=|{{{2|24px}}}]] |
|||
| spherechi = [[File:GFX Sphere Core Member CHI.png|link=|{{{2|24px}}}]] |
|||
| spherecorporate = [[File:GFX Sphere Corporate Dependency.png|link=|{{{2|24px}}}]] |
|||
| sphereprotectorate = [[File:GFX Sphere Imperial Protectorate.png|link=|{{{2|24px}}}]] |
|||
| sphereequal = [[File:GFX Sphere CoEqual Partner.png|link=|{{{2|24px}}}]] |
|||
| sphereecodepend = [[File:GFX Sphere Economically Dependent.png|link=|{{{2|24px}}}]] |
|||
| spherefullydepend = [[File:GFX Sphere Fully Dependent.png|link=|{{{2|24px}}}]] |
|||
| spherewarlord = [[File:GFX Sphere Chinese Warlord.png|link=|{{{2|24px}}}]] |
|||
| sphereobserver = [[File:GFX Sphere Observer.png|link=|{{{2|24px}}}]] |
|||
<!-- triumvirate --> |
|||
| triumitaly = [[File:GFX TRI Founder IT.png|link=|{{{2|24px}}}]] |
|||
| triumiberia = [[File:GFX TRI Founder IB.png|link=|{{{2|24px}}}]] |
|||
| triumturkey = [[File:GFX TRI Founder TR.png|link=|{{{2|24px}}}]] |
|||
| triummember = [[File:GFX TRI Member.png|link=|{{{2|24px}}}]] |
|||
| triumclient = [[File:GFX TRI Member Client.png|link=|{{{2|24px}}}]] |
|||
| triumobserver = [[File:GFX TRI Observer.png|link=|{{{2|24px}}}]] |
|||
<!-- guangdong --> |
<!-- guangdong --> |
Latest revision as of 09:35, 22 June 2024
This template can be used for embedding icons in the wiki, thus making them more colorful, easy to read and standardized. The available icons link to the concept they represent. If an icon is not listed here, please feel free to add it.
Parameters[edit source]
- 1
- The first parameter is the identifier for the icon. It has no default value and is always required.
- 2
- The second parameter is the width of the icon. It is optional.
- 3
- The third parameter adds the identifier as text which follows the icon. It is optional. The default is no text.
- If the second parameter is not set, this parameter must be used with
3=
rather than just using pipes.
- If the second parameter is not set, this parameter must be used with
Usage[edit source]
- Syntax
{{icon|identifier}}
or{{icon|identifier|width|text}}
Insert the relevant identifier in the above syntax. The available identifiers can be found in the table below.
- Example
{{icon|japanese}}
will generate{{icon|japanese|40px}}
will generate{{icon|Japanese|3=1}}
will generate Japanese
List of available icons[edit source]
Note: Capitalization does NOT affect the identifier's use: japan
, Japan
, and JAPAN
all give the same icon; however, if using the third parameter, the output text matches the identifier's input capitalization.
Common[edit source]
Generic | |
---|---|
iconyes = | |
iconno = | |
politicalpower = | |
stability = | |
manpower = | |
decision = | |
warsupport = | |
vp = | |
approval = | |
intel = | |
handshake = | |
toaster = | |
science = | |
fuel = | |
combat = | |
infinity = |
Boxes | |
---|---|
bluebox = | |
tealbox = | |
redbox = | |
orangebox = | |
greybox = | |
greenbox = | |
purplebox = | |
indigobox = | |
yellowbox = |
Arrows | |
---|---|
arrowup1 = | |
arrowup2 = | |
arrowup3 = | |
arrowneutral = | |
arrowdown1 = | |
arrowdown2 = | |
arrowdown3 = | |
arrowupgreen = | |
arrowupred = | |
arrowdowngreen = | |
arrowdownred = |
Economy | |
---|---|
gdp = | |
gdpgrowth = | |
poverty = | |
creditrating = | |
inflation = | |
power = | |
produnit = | |
produnitred = | |
produnityellow = | |
usdblue = | |
usdgreen = | |
usdred = | |
civ = | |
mil = | |
workshop = |
Diplomacy[edit source]
Autonomy | |
---|---|
autonomyannexed = | |
autonomycollaboration = | |
autonomypuppet = | |
autonomycolony = | |
autonomydominion = | |
autonomysupervised = | |
autonomyfreedom = | |
autonomybreakaway = | |
reichsprotektorat = | |
reichskommissariat = | |
integratedreichskommissariat = | |
integratedpuppet = | |
integratedpuppet = | |
imperialassociate = | |
imperialprotectorate = | |
italyantiimperialist = | |
italyassociate = | |
italygovernate = | |
italyinfluence = | |
italyprotectorate = | |
autonomyclient = | |
autonomyliberated = | |
autonomymildistrict = | |
autonomymilgovernment = | |
autonomywarlord = | |
autonomytransnistria = |
Factions[edit source]
OFN | |
---|---|
ofnleader = | |
ofnmember = | |
ofndepend = | |
ofnpartner = | |
ofnmilitary = | |
ofnmandate = |
Pakt | |
---|---|
paktleader = | |
paktpartner = | |
paktmitstreiter = | |
paktmartionette = | |
paktprotektorat = | |
paktintegrated = | |
paktautonomous = | |
paktordensstaat = | |
paktobserver = | |
paktmilitary = |
Sphere | |
---|---|
sphereleader = | |
sphereman = | |
spherechi = | |
spherecorporate = | |
sphereprotectorate = | |
sphereequal = | |
sphereecodepend = | |
spherefullydepend = | |
spherewarlord = | |
sphereobserver = |
Triumvirate | |
---|---|
triumitaly = | |
triumiberia = | |
triumturkey = | |
triummember = | |
triumclient = | |
triumobserver = |
Specific[edit source]
Guangdong | |
---|---|
gng = | |
china = | |
japan = | |
manchuria = | |
gpf = | |
yakuza = | |
triad = | |
kenpeitai = | |
cheungkong = | |
sony = | |
matsushita = | |
fujitsu = | |
yasuda = | |
hitachi = | |
nissan = | |
chinese = | |
japanese = | |
zhujin = | |
gngija = | |
legco = | |
corruption = | |
gngevils = | |
gnginterest = | |
gngquality = | |
gngprofit = | |
gngdespair = | |
gngrioters = | |
gngstrength = | |
gngradicalism = | |
gngfrustration = | |
gngccl = | |
gnggft = |
United States | |
---|---|
rd = | |
rd_d = | |
rd_r = | |
npp = | |
npp_c = | |
npp_fr = | |
npp_l = | |
npp_y = |
Smuta | |
---|---|
smuta = | |
smutared = | |
smutachaos = | |
smutasupplies = |
Adding new Icons[edit source]
To add new Icons to the template, so they can be used by the {{icon}}
function, follow these steps:
1: Upload the icon to the wiki (remember to follow the Filename Guidelines)
2: Edit the Template:Icon page to add it to the template.
2.1: Add |iconname = [[File:ICON FILE NAME.png|link=|{{{2|17px}}}]]
to the relevant section made in the code, such as 'generic' or 'germany'
2.2: Be aware that the {{{2|17px}}}
specifies the size of the icon, mainly the 17px
, which is used by texticons. Icons can be scaled up so it doesn't matter too much, but to eliminate tedious work later on, please make sure to have consistent default sizes for icons.
3: Save changes and go to Template:Template:Icon/doc (it says Template twice because of a mistake, it doesnt matter though)
4: Add the icon to the List of available icons
so that it appears on the main Icon page, otherwise it is only shown in code. Adding the Icon to the documentation makes it easier to find the icon you want.