Icon – Template
Jump to navigation
Jump to search
(Arma 3 Art of War update) |
Lou Montana (talk | contribs) (Add link support) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{#replace:{{lc:{{{1|}}}}}|<nowiki> </nowiki>|_}} | <includeonly>{{#switch: {{#replace:{{lc:{{{1|}}}}}|<nowiki> </nowiki>|_}} | ||
<!-- OPERATION FLASHPOINT --> | <!-- OPERATION FLASHPOINT --> | ||
| ofp | cwa | arma0 = [[File:Logo_A0.png|{{{2|48}}}px|link=:Category:{{ofp}} | | ofp | cwa | arma0 = [[File:Logo_A0.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{ofp}} {{!}} {{ofp}}}}]] | ||
| ofpr = [[File:ofpr version.gif|{{{2|48}}}px|link={{ | | ofpr = [[File:ofpr version.gif|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|{{Name|ofpr}}}}]] | ||
| ofpe = [[File:ofpe version.gif|{{{2|48}}}px|link=:Category:{{ofpe}} | | ofpe = [[File:ofpe version.gif|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{ofpe}} {{!}} {{Name|ofpe}}}}]] | ||
<!-- ARMED ASSAULT --> | <!-- ARMED ASSAULT --> | ||
| arma1 = [[File:Logo A1 black.png|{{{2|48}}}px|link=:Category:{{arma1}} | | arma1 = [[File:Logo A1 black.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{arma1}} {{!}} {{arma1}}}}]] | ||
| arma1_alt = [[File:Logo_A1.png|{{{2|48}}}px|link=:Category:{{arma1}} | | arma1_alt = [[File:Logo_A1.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{arma1}} {{!}} {{arma1}}}}]] | ||
<!-- ARMA2 & OA --> | <!-- ARMA2 & OA --> | ||
| arma2 | a2 = [[File:Logo_A2.png|{{{2|48}}}px|link=:Category:{{arma2}} | | arma2 | a2 = [[File:Logo_A2.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{arma2}} {{!}} {{arma2}}}}]] | ||
| arma2oa | oa | arrowhead | operation_arrowhead = [[File:A2 OA Logo.png|{{{2|48}}}px|link=:Category:{{arma2oa}} | | arma2oa | oa | arrowhead | operation_arrowhead = [[File:A2 OA Logo.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{arma2oa}} {{!}} {{arma2oa}}}}]] | ||
| arma2acr | acr = [[File:Logo_A2ACR.png|{{{2|48}}}px|link=Army of the Czech Republic | | arma2acr | acr = [[File:Logo_A2ACR.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Army of the Czech Republic {{!}} {{Name|arma2acr}}}}]] | ||
| arma2baf | baf = [[File:Logo_A2BAF.png|{{{2|48}}}px|link=Arma 2: British Armed Forces | | arma2baf | baf = [[File:Logo_A2BAF.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 2: British Armed Forces {{!}} {{Name|arma2baf}}}}]] | ||
| arma2pmc | pmc = [[File:Logo_A2PMC.png|{{{2|48}}}px|link=Arma 2: Private Military Company | | arma2pmc | pmc = [[File:Logo_A2PMC.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 2: Private Military Company {{!}} {{Name|arma2pmc}}}}]] | ||
<!-- ARMA3 --> | <!-- ARMA3 --> | ||
| a3 | | a3 | ||
| arma3 | | arma3 | ||
| arma3dev | | arma3dev | ||
| arma3diag = [[File:Arma 3 logo black.png|{{{2|48}}}px|link=:Category:{{arma3}} | | arma3diag = [[File:Arma 3 logo black.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{arma3}} {{!}} {{arma3}}}}]] | ||
| arma3zeus | curator | zeus = [[File:arma3_curator_eye.png|{{{2|48}}}px|link=Arma 3 Zeus]] | | arma3zeus | curator | zeus = [[File:arma3_curator_eye.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Zeus}}]] | ||
| arma3karts | kart | karts = [[File:karts_icon_ca.png|{{{2|48}}}px|link=Arma 3 Karts]] | | arma3karts | kart | karts = [[File:karts_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Karts}}]] | ||
| arma3helicopters | heli | helicopter | helicopters = [[File:heli_icon_ca.png|{{{2|48}}}px|link=Arma 3 Helicopters]] | | arma3helicopters | heli | helicopter | helicopters = [[File:heli_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Helicopters}}]] | ||
| arma3marksmen | mark | marks | marksmen = [[File:mark_icon_ca.png|{{{2|48}}}px|link=Arma 3 Marksmen]] | | arma3marksmen | mark | marks | marksmen = [[File:mark_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Marksmen}}]] | ||
| arma3eden = [[File:edenEditor logo.png|{{{2|48}}}px|link=:Category:Eden Editor | | arma3eden = [[File:edenEditor logo.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:Eden Editor {{!}} Eden Editor}}]] | ||
| arma3apex | expansion | apex = [[File:apex_icon_ca.png|{{{2|48}}}px|link=Arma 3 Apex]] | | arma3apex | expansion | apex = [[File:apex_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Apex}}]] | ||
| arma3jets | jets = [[File:jets_icon_ca.png|{{{2|48}}}px|link=Arma 3 Jets]] | | arma3jets | jets = [[File:jets_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Jets}}]] | ||
| arma3malden | argo | malden = [[File:malden_icon_ca.png|{{{2|48}}}px|link=Arma 3 Malden]] | | arma3malden | argo | malden = [[File:malden_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Malden}}]] | ||
| arma3lawsofwar | arma3low | orange | low | laws_of_war = [[File:orange_icon_ca.png|{{{2|48}}}px|link=Arma 3 Laws of War]] | | arma3lawsofwar | arma3low | orange | low | laws_of_war = [[File:orange_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Laws of War}}]] | ||
| arma3tacops | tacop | tacops | tac-op | tac-ops = [[File:tacops_icon_ca.png|{{{2|48}}}px|link=Arma 3 Tac-Ops Mission Pack]] | | arma3tacops | tacop | tacops | tac-op | tac-ops = [[File:tacops_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Tac-Ops Mission Pack}}]] | ||
| arma3tanks | tank | tanks = [[File:tank_icon_ca.png|{{{2|48}}}px|link=Arma 3 Tanks]] | | arma3tanks | tank | tanks = [[File:tank_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Tanks}}]] | ||
| arma3contact | enoch | contact | arma3contact = [[File:enoch_icon_ca.png|{{{2|48}}}px|link=Arma 3 Contact]] | | arma3contact | enoch | contact | arma3contact = [[File:enoch_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Contact}}]] | ||
| arma3artofwar | aow | artofwar = [[File:aow_icon_ca.png|{{{2|48}}}px|link=Arma 3 Art of War]] | | arma3artofwar | aow | artofwar = [[File:aow_icon_ca.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Art of War}}]] | ||
| oldman | arma3oldman = [[File:arma3apex oldman logo.png|{{{2|48}}}px|link=Arma 3 Apex: Old Man]] | | oldman | arma3oldman = [[File:arma3apex oldman logo.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Apex: Old Man}}]] | ||
| oldman_alt | arma3oldman_alt = [[File:arma3apex oldman logo simplyfied white.png|{{{2|48}}}px|link=Arma 3 Apex: Old Man]] | | oldman_alt | arma3oldman_alt = [[File:arma3apex oldman logo simplyfied white.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3 Apex: Old Man}}]] | ||
<!-- TAKE ON --> | <!-- TAKE ON --> | ||
| tkoh = [[File:tkoh_logo_small.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{tkoh}} {{!}} {{tkoh}}}}]] | |||
| tkoh_alt = [[File:Logo TakOH_full.png|{{{2|48}}}px|link=:Category:{{tkoh}} | | tkoh_alt = [[File:Logo TakOH_full.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{tkoh}} {{!}} {{tkoh}}}}]] | ||
| tkom = [[File:tkom_logo_small_v2.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{tkom}} {{!}} {{tkom}}}}]] | |||
| tkom_alt = [[File:tkom_logo.png|{{{2|48}}}px|link=:Category:{{tkom}} | | tkom_alt = [[File:tkom_logo.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{tkom}} {{!}} {{tkom}}}}]] | ||
<!-- OTHER GAMES --> | <!-- OTHER GAMES --> | ||
| cc | carriercommand | carrier_command = [[File:CC_Logo.png|{{{2|48}}}px|link=:Category:Carrier Command: Gaea Mission | | cc | carriercommand | carrier_command = [[File:CC_Logo.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:Carrier Command: Gaea Mission {{!}} Carrier Command: Gaea Mission}}]] | ||
| dayz = [[File:dayzlogoinv.png|{{{2|48}}}px|link=Category:{{dayz}} | | dayz = [[File:dayzlogoinv.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{dayz}} {{!}} {{dayz}}}}]] | ||
| dayz_alt = [[File:dayz_logo_white.png|{{{2|48}}}px|link=:Category:{{dayz}} | | dayz_alt = [[File:dayz_logo_white.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{dayz}} {{!}} {{dayz}}}}]] | ||
| ylands = [[File:Ylands_3D_Logo.png|{{{2|48}}}px|link=:Category:{{ylands}} | | ylands = [[File:Ylands_3D_Logo.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Category:{{ylands}} {{!}} {{ylands}}}}]] | ||
<!-- TIMELINE (TODO: remove divs) --> | <!-- TIMELINE (TODO: remove divs) --> | ||
| aan = [[File:Logo_TVAAN.png|{{{2|48}}}px|link=http://aan.moricky.com | | aan = [[File:Logo_TVAAN.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|http://aan.moricky.com {{!}} AAN}}]] | ||
| person = <div style="width: 50px; text-align: center">[[File:Icon_Person.png|{{{2|48}}}px | Person]]</div> | | person = <div style="width: 50px; text-align: center">[[File:Icon_Person.png|{{{2|48}}}px | Person]]</div> | ||
| real = <div style="width: 50px; text-align: center">[[File:Icon_History.png|{{{2|48}}}px | Historical event]]</div> | | real = <div style="width: 50px; text-align: center">[[File:Icon_History.png|{{{2|48}}}px | Historical event]]</div> | ||
<!-- MULTIPLAYER DEFINITIONS --> | <!-- MULTIPLAYER DEFINITIONS --> | ||
| globalargument = {{Icon2|global|argument|darkorange; background: linear-gradient(to top, #D00, #DD0); -webkit-background-clip: text; background-clip: text; color: transparent|link= | | globalargument = {{Icon2|global|argument|darkorange; background: linear-gradient(to top, #D00, #DD0); -webkit-background-clip: text; background-clip: text; color: transparent|link={{#if:{{{link|}}}|{{{link}}}|Multiplayer Scripting#Locality}}|size={{#expr:{{{2|48}}}/32}}}} | ||
| localargument = {{Icon2|local|argument|blue; background: linear-gradient(to top, #00D, #0DD); -webkit-background-clip: text; background-clip: text; color: transparent|link= | | localargument = {{Icon2|local|argument|blue; background: linear-gradient(to top, #00D, #0DD); -webkit-background-clip: text; background-clip: text; color: transparent|link={{#if:{{{link|}}}|{{{link}}}|Multiplayer Scripting#Locality}}|size={{#expr:{{{2|48}}}/32}}}} | ||
| globaleffect = {{Icon2|global|effect|darkorange; background: linear-gradient(to top, #D00, #DD0); -webkit-background-clip: text; background-clip: text; color: transparent|link= | | globaleffect = {{Icon2|global|effect|darkorange; background: linear-gradient(to top, #D00, #DD0); -webkit-background-clip: text; background-clip: text; color: transparent|link={{#if:{{{link|}}}|{{{link}}}|Multiplayer Scripting#Locality}}|size={{#expr:{{{2|48}}}/32}}}} | ||
| localeffect = {{Icon2|local|effect|blue; background: linear-gradient(to top, #00D, #0DD); -webkit-background-clip: text; background-clip: text; color: transparent|link= | | localeffect = {{Icon2|local|effect|blue; background: linear-gradient(to top, #00D, #0DD); -webkit-background-clip: text; background-clip: text; color: transparent|link={{#if:{{{link|}}}|{{{link}}}|Multiplayer Scripting#Locality}}|size={{#expr:{{{2|48}}}/32}}}} | ||
| serverexec = {{Icon2|server|execution|green; background: linear-gradient(to top, #080 25%, #8F8); -webkit-background-clip: text; background-clip: text; color: transparent|link=Multiplayer_Scripting#Locality|size={{#expr:{{{2|48}}}/32}}}} | | serverexec = {{Icon2|server|execution|green; background: linear-gradient(to top, #080 25%, #8F8); -webkit-background-clip: text; background-clip: text; color: transparent|link={{#if:{{{link|}}}|{{{link}}}|Multiplayer_Scripting#Locality}}|size={{#expr:{{{2|48}}}/32}}}} | ||
<!-- OTHERS --> | <!-- OTHERS --> | ||
| afm = [[File:BIS_Helicopter_DLC_Icon_v2.png|{{{2|48}}}px|link={{#if:{{{link|}}}|{{{link}}}|Arma 3: Advanced Helicopter Flight Model {{!}} Advanced Helicopter Flight Model}}]] | |||
<!-- WIKI --> | <!-- WIKI --> | ||
| disamb = [[File:Disambig.png|{{{2|24}}}px|link={{{link|}}}]] | |||
| unchecked = [[File:Ico_none.png|{{{2|24}}}px|link={{{link|}}}]] | |||
| checked = [[File:Ico_ok.png|{{{2|24}}}px|link={{{link|}}}]] | |||
| warning = [[File:Ico_warning.png|{{{2|24}}}px|link={{{link|}}}]] | |||
| unknown = ❓ | |||
<!-- DEFAULT --> | <!-- DEFAULT --> | ||
| = -no [[Template:Icon|parameter]] defined!- | | = -no [[Template:Icon|parameter]] defined!- | ||
Line 67: | Line 67: | ||
One template to rule them all (icons). | One template to rule them all (icons). | ||
== Usage == | == Usage == | ||
{{<nowiki/>Icon|'''''iconName'''''|'''''size'''''}} | {{<nowiki/>Icon|'''''iconName'''''|'''''size'''''|'''''link='''''}} | ||
* iconName: (case-insensitive) - see table below | * iconName: (case-insensitive) - see table below | ||
* size: (Optional, default 48 | * size: (Optional, default 48 but for exceptions below) size in pixel | ||
** Default value is 24 for ''checked'', ''unchecked'' | ** Default value is 24 for ''checked'', ''unchecked'' | ||
** ''unknown'' is not (yet?) an image | |||
* link: (Optional, default game category, image link or nothing) link accessed on click, format <tt>page address</tt> or <tt>page address <nowiki>{{!}}</nowiki> hover text</tt> | |||
'''Icons:''' | '''Icons:''' |
Revision as of 12:36, 20 April 2021
One template to rule them all (icons).
Usage
{{Icon|iconName|size|link=}}
- iconName: (case-insensitive) - see table below
- size: (Optional, default 48 but for exceptions below) size in pixel
- Default value is 24 for checked, unchecked
- unknown is not (yet?) an image
- link: (Optional, default game category, image link or nothing) link accessed on click, format page address or page address {{!}} hover text
Icons:
Preview | IconNames |
---|---|
Errors | |
-no parameter defined!- | empty |
-wrong parameter defined!- | wrong argument |
Operation Flashpoint | |
ofp, cwa, arma0 | |
ofpr | |
ofpe | |
Arma | |
arma1 | |
arma1_alt | |
Arma 2 | |
arma2, a2 | |
arma2oa, oa, arrowhead, operation arrowhead | |
arma2acr, acr | |
arma2baf, baf | |
arma2pmc, pmc | |
Arma 3 | |
arma3, a3 | |
arma3zeus, curator, zeus | |
arma3karts, kart, karts | |
arma3helicopters, heli, helicopter, helicopters | |
arma3marksmen, mark, marks, marksmen | |
arma3eden | |
arma3apex, expansion, apex | |
arma3jets, jets | |
arma3malden, argo, malden | |
arma3lawsofwar, orange, low, laws of war | |
arma3tacops, tacop, tac-op, tac-ops | |
arma3tanks, tank, tanks | |
arma3contact, enoch, contact | |
arma3artofwar, aow, artofwar | |
oldman, arma3oldman | |
oldman_alt, arma3oldman_alt | |
Take On | |
tkoh | |
tkoh_alt | |
tkom | |
tkom_alt | |
Other Games | |
cc, carriercommand, carrier command | |
dayz | |
dayz_alt | |
ylands | |
Multiplayer Definitions | |
GAGlobal | globalArgument |
LALocal | localArgument |
GEGlobal | globalEffect |
LELocal | localEffect |
SEServer | serverExec |
Timeline | |
aan | |
person | |
real | |
Others | |
afm | |
Wiki | |
disamb | |
unchecked | |
checked | |
warning | |
❓ | unknown |