Icon – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (one moar)
(Add local/global argument/effect and serverExec icons)
Line 1: Line 1:
<includeonly>
<includeonly>{{#switch: {{#replace:{{lc:{{{1|}}}}}|<nowiki> </nowiki>|_}}
{{#switch: {{lc:{{{1|}}}}}
<!-- OPERATION FLASHPOINT -->
  <!---OPERATION FLASHPOINT --->
| ofp | cwa | arma0 = [[File:Logo_A0.png|{{{3|48}}}px|link=:Category:{{ofp}} | {{ofp}}]]
  | ofp | cwa | arma0 = [[File:Logo_A0.png|{{{3|48}}}px|link=:Category:{{ofp}} | {{ofp}}]]
| ofpr = [[File:ofpr version.gif|{{{3|48}}}px|link={{Name|ofpr}} | {{Name|ofpr}}]]
  | ofpr = [[File:ofpr version.gif|{{{3|48}}}px|link={{Name|ofpr}} | {{Name|ofpr}}]]
| ofpe = [[File:ofpe version.gif|{{{3|48}}}px|link=:Category:{{ofpe}} | {{Name|ofpe}}]]
  | ofpe = [[File:ofpe version.gif|{{{3|48}}}px|link=:Category:{{ofpe}} | {{Name|ofpe}}]]
<!-- ARMED ASSAULT -->
  <!---ARMED ASSAULT --->
| arma1 = [[File:Logo A1 black.png|{{{3|48}}}px|link=:Category:{{arma1}} | {{arma1}}]]
  | arma1 = [[File:Logo A1 black.png|{{{3|48}}}px|link=:Category:{{arma1}} | {{arma1}}]]
| arma1_alt = [[File:Logo_A1.png|{{{3|48}}}px|link=:Category:{{arma1}} | {{arma1}}]]
  | arma1_alt = [[File:Logo_A1.png|{{{3|48}}}px|link=:Category:{{arma1}} | {{arma1}}]]
<!-- ARMA2 & OA -->
  <!---ARMA2 & OA --->
| arma2 | a2 = [[File:Logo_A2.png|{{{3|48}}}px|link=:Category:{{arma2}} | {{arma2}}]]
  | arma2 | a2 = [[File:Logo_A2.png|{{{3|48}}}px|link=:Category:{{arma2}} | {{arma2}}]]
| arma2oa | oa | arrowhead | operation_arrowhead = [[File:A2 OA Logo.png|{{{3|48}}}px|link=:Category:{{arma2oa}} | {{arma2oa}}]]
  | arma2oa | oa | arrowhead | operation arrowhead = [[File:A2 OA Logo.png|{{{3|48}}}px|link=:Category:{{arma2oa}} | {{arma2oa}}]]
| arma2acr | acr = [[File:Logo_A2ACR.png|{{{3|48}}}px|link=Army of the Czech Republic | {{Name|arma2acr}}]]
  | arma2acr | acr = [[File:Logo_A2ACR.png|{{{3|48}}}px|link=Army of the Czech Republic | {{Name|arma2acr}}]]
| arma2baf | baf = [[File:Logo_A2BAF.png|{{{3|48}}}px|link=Arma 2: British Armed Forces | {{Name|arma2baf}}]]
  | arma2baf | baf = [[File:Logo_A2BAF.png|{{{3|48}}}px|link=Arma 2: British Armed Forces | {{Name|arma2baf}}]]
| arma2pmc | pmc = [[File:Logo_A2PMC.png|{{{3|48}}}px|link=Arma 2: Private Military Company | {{Name|arma2pmc}}]]
  | arma2pmc | pmc = [[File:Logo_A2PMC.png|{{{3|48}}}px|link=Arma 2: Private Military Company | {{Name|arma2pmc}}]]
<!-- ARMA3 -->
  <!---ARMA3 --->
| arma3 | a3 = [[File:Arma 3 logo black.png|{{{3|48}}}px|link=:Category:{{arma3}} | {{arma3}}]]
  | arma3 | a3 = [[File:Arma 3 logo black.png|{{{3|48}}}px|link=:Category:{{arma3}} | {{arma3}}]]
| arma3zeus | curator | zeus = [[File:arma3_curator_eye.png|{{{3|48}}}px|link=Arma 3 Zeus]]
  | arma3zeus | curator | zeus = [[File:arma3_curator_eye.png|{{{3|48}}}px|link=Arma 3 Zeus]]
| arma3karts | kart | karts = [[File:karts_icon_ca.png|{{{3|48}}}px|link=Arma 3 Karts]]
  | arma3karts | kart | karts = [[File:karts_icon_ca.png|{{{3|48}}}px|link=Arma 3 Karts]]
| arma3helicopters | heli | helicopter | helicopters = [[File:heli_icon_ca.png|{{{3|48}}}px|link=Arma 3 Helicopters]]
  | arma3helicopters | heli | helicopter | helicopters = [[File:heli_icon_ca.png|{{{3|48}}}px|link=Arma 3 Helicopters]]
| arma3marksmen | mark | marks | marksmen = [[File:mark_icon_ca.png|{{{3|48}}}px|link=Arma 3 Marksmen]]
  | arma3marksmen | mark | marks | marksmen = [[File:mark_icon_ca.png|{{{3|48}}}px|link=Arma 3 Marksmen]]
| arma3eden = [[File:edenEditor logo.png|{{{3|48}}}px|link=:Category:Eden Editor|Eden Editor]]
  | arma3eden = [[File:edenEditor logo.png|{{{3|48}}}px|link=:Category:Eden Editor|Eden Editor]]
| arma3apex | expansion | apex = [[File:apex_icon_ca.png|{{{3|48}}}px|link=Arma 3 Apex]]
  | arma3apex | expansion | apex = [[File:apex_icon_ca.png|{{{3|48}}}px|link=Arma 3 Apex]]
| arma3jets | jets = [[File:jets_icon_ca.png|{{{3|48}}}px|link=Arma 3 Jets]]
  | arma3jets | jets = [[File:jets_icon_ca.png|{{{3|48}}}px|link=Arma 3 Jets]]
| arma3malden | argo | malden = [[File:malden_icon_ca.png|{{{3|48}}}px|link=Arma 3 Malden]]
  | arma3malden | argo | malden = [[File:malden_icon_ca.png|{{{3|48}}}px|link=Arma 3 Malden]]
| arma3lawsofwar | arma3low | orange | low | laws_of_war = [[File:orange_icon_ca.png|{{{3|48}}}px|link=Arma 3 Laws of War]]
  | arma3lawsofwar | arma3low | orange | low | laws of war = [[File:orange_icon_ca.png|{{{3|48}}}px|link=Arma 3 Laws of War]]
| arma3tacops | tacop | tacops | tac-op | tac-ops = [[File:tacops_icon_ca.png|{{{3|48}}}px|link=Arma 3 Tac-Ops Mission Pack]]
  | arma3tacops | tacop | tacops | tac-op | tac-ops = [[File:tacops_icon_ca.png|{{{3|48}}}px|link=Arma 3 Tac-Ops Mission Pack]]
| arma3tanks | tank | tanks = [[File:tank_icon_ca.png|{{{3|48}}}px|link=Arma 3 Tanks]]
  | arma3tanks | tank | tanks = [[File:tank_icon_ca.png|{{{3|48}}}px|link=Arma 3 Tanks]]
| arma3contact | enoch | contact | arma3contact = [[File:enoch_icon_ca.png|{{{3|48}}}px|link=Arma 3 Contact]]
  | arma3contact | enoch | contact | arma3contact = [[File:enoch_icon_ca.png|{{{3|48}}}px|link=Arma 3 Contact]]
| oldman | arma3oldman = [[File:arma3apex oldman logo.png|{{{3|48}}}px|link=Arma 3 Apex: Old Man]]
  | oldman | arma3oldman = [[File:arma3apex oldman logo.png|{{{3|48}}}px|link=Arma 3 Apex: Old Man]]
| oldman_alt | arma3oldman_alt = [[File:arma3apex oldman logo simplyfied white.png|{{{3|48}}}px|link=Arma 3 Apex: Old Man]]
  | oldman_alt | arma3oldman_alt = [[File:arma3apex oldman logo simplyfied white.png|{{{3|48}}}px|link=Arma 3 Apex: Old Man]]
<!-- TAKE ON -->
  <!---TAKE ON --->
| tkoh = [[File:Logo TakOH_full.png|{{{3|48}}}px|link=:Category:{{tkoh}} | {{tkoh}}]]
  | tkoh = [[File:Logo TakOH full.png|{{{3|48}}}px|link=:Category:{{tkoh}} | {{tkoh}}]]
| tkoh_alt = [[File:Logo_TakOH.png|{{{3|48}}}px|link=:Category:{{tkoh}} | {{tkoh}}]]
  | tkoh_alt = [[File:Logo_TakOH.png|{{{3|48}}}px|link=:Category:{{tkoh}} | {{tkoh}}]]
| tkom = [[File:tkom_logo.png|{{{3|48}}}px|link=:Category:{{tkom}} | {{tkom}}]]
  | tkom = [[File:tkom logo.png|{{{3|48}}}px|link=:Category:{{tkom}} | {{tkom}}]]
<!-- OTHER GAMES -->
  <!---OTHER GAMES --->
| cc | carrier_command = [[File:CC_Logo.png|{{{3|48}}}px|link=:Category:Carrier Command: Gaea Mission | Carrier Command: Gaea Mission]]
  | cc | carrier command = [[File:CC Logo.png|{{{3|48}}}px|link=:Category:Carrier Command: Gaea Mission | Carrier Command: Gaea Mission]]
| dayz = [[File:dayzlogoinv.png|{{{3|48}}}px|link=Category:{{dayz}} | {{dayz}}]]
  | dayz = [[File:dayzlogoinv.png|{{{3|48}}}px|link=Category:{{dayz}} | {{dayz}}]]
| dayz_alt = [[File:dayz_logo_white.png|{{{3|48}}}px|link=:Category:{{dayz}} | {{dayz}}]]
  | dayz_alt = [[File:dayz_logo_white.png|{{{3|48}}}px|link=:Category:{{dayz}} | {{dayz}}]]
| ylands = [[File:Ylands_3D_Logo.png|{{{3|48}}}px|link=:Category:{{ylands}} | {{ylands}}]]
  | ylands = [[File:Ylands 3D Logo.png|{{{3|48}}}px|link=:Category:{{ylands}} | {{ylands}}]]
<!-- TIMELINE (TODO: remove divs) -->
  <!---TIMELINE--->
| aan = [[File:Logo_TVAAN.png|{{{3|48}}}px|link=http://aan.moricky.com | AAN]]
  | aan= [[File:Logo_TVAAN.png|48px|link=http://aan.moricky.com | AAN]]
| person = <div style="width: 50px; text-align: center">[[File:Icon_Person.png|{{{3|48}}}px | Person]]</div>
  | person = <div style="width:50px;text-align:center;">[[File:Icon_Person.png|{{{3|48}}}px | Person]]</div>
| real = <div style="width: 50px; text-align: center">[[File:Icon_History.png|{{{3|48}}}px | Historical event]]</div>
  | real = <div style="width:50px;text-align:center;">[[File:Icon_History.png|{{{3|48}}}px | Historical event]]</div>
<!-- OTHERS -->
  <!---OTHERS--->
| afm = [[File:BIS_Helicopter_DLC_Icon_v2.png|{{{3|48}}}px]]
  | afm = [[File:BIS_Helicopter_DLC_Icon_v2.png|{{{3|48}}}px]]
| globalargument = [[File:arguments_global.gif|{{{3|48}}}px|link=Multiplayer_Scripting#Locality]]
  <!---DEFAULT--->
| localargument = [[File:arguments_local.gif|{{{3|48}}}px|link=Multiplayer_Scripting#Locality]]
  | #default = -no [[Template:Icon|game]] defined!-
| globaleffect = [[File:effects_global.gif|{{{3|48}}}px|link=Multiplayer_Scripting#Locality]]
| localeffect = [[File:effects_local.gif|{{{3|48}}}px|link=Multiplayer_Scripting#Locality]]
| serverexec = [[File:Exec_Server.gif|{{{3|48}}}px|link=Multiplayer_Scripting#Locality]]
<!-- DEFAULT -->
| = -no [[Template:Icon|parameter]] defined!-
|#default = -wrong [[Template:Icon|parameter]] defined!-
}}</includeonly><noinclude>
}}</includeonly><noinclude>
One template to rule them all (icons).
One template to rule them all (icons).
Line 60: Line 65:
! Preview !! IconNames
! Preview !! IconNames
|-
|-
! colspan="2" style="background-color:#BDBDBD;" | {{ofp}}
! colspan="2" style="background-color:#BDBDBD" | Errors
|-
| {{Icon}}
| empty
|-
| {{Icon|lol}}
| wrong argument
|-
! colspan="2" style="background-color:#BDBDBD" | {{ofp}}
|-
|-
| {{Icon|ofp}}
| {{Icon|ofp}}
Line 71: Line 84:
| ofpe
| ofpe
|-
|-
! colspan="2" style="background-color:#BDBDBD;" | {{arma}}
! colspan="2" style="background-color:#BDBDBD" | {{arma}}
|-
|-
| {{Icon|arma1}}
| {{Icon|arma1}}
Line 79: Line 92:
| arma1_alt
| arma1_alt
|-
|-
! colspan="2" style="background-color:#BDBDBD;" | {{arma2}}
! colspan="2" style="background-color:#BDBDBD" | {{arma2}}
|-
|-
| {{Icon|arma2}}
| {{Icon|arma2}}
Line 96: Line 109:
| arma2pmc, pmc
| arma2pmc, pmc
|-
|-
! colspan="2" style="background-color:#BDBDBD;" | {{arma3}}
! colspan="2" style="background-color:#BDBDBD" | {{arma3}}
|-
|-
| {{Icon|arma3}}
| {{Icon|arma3}}
Line 143: Line 156:
| oldman_alt, arma3oldman_alt
| oldman_alt, arma3oldman_alt
|-
|-
! colspan="2" style="background-color:#BDBDBD;" | Take On
! colspan="2" style="background-color:#BDBDBD" | Take On
|-
|-
| {{Icon|tkoh}}
| {{Icon|tkoh}}
Line 154: Line 167:
| tkom
| tkom
|-
|-
! colspan="2" style="background-color:#BDBDBD;" | Misc.
! colspan="2" style="background-color:#BDBDBD" | Other Games
|-
|-
| {{Icon|cc}}
| {{Icon|cc}}
Line 168: Line 181:
| ylands
| ylands
|-
|-
! colspan="2" style="background-color:#BDBDBD;" | Timeline
! colspan="2" style="background-color:#BDBDBD" | Multiplayer Definitions
|-
| {{Icon|globalArgument}}
| globalArgument
|-
| {{Icon|localArgument}}
| localArgument
|-
| {{Icon|globalEffect}}
| globalEffect
|-
| {{Icon|localEffect}}
| localEffect
|-
| {{Icon|serverExec}}
| serverExec
|-
! colspan="2" style="background-color:#BDBDBD" | Timeline
|-
|-
| {{Icon|aan}}
| {{Icon|aan}}
Line 185: Line 215:
|}
|}
</div>
</div>
[[Category: Templates]]
 
[[Category: Templates|{{uc:{{PAGENAME}}}}]]</noinclude>

Revision as of 22:42, 25 January 2021

One template to rule them all (icons).

Usage

{{Icon|IconName|size}}

  • IconName: (case-insensitive) - see table below
  • size: (Optional, default 48) size in pixel

Icons:

Preview IconNames
Errors
-no parameter defined!- empty
-wrong parameter defined!- wrong argument
Operation Flashpoint
Operation Flashpoint ofp, cwa, arma0
Operation Flashpoint: Resistance ofpr
Operation Flashpoint: Elite ofpe
Arma
Armed Assault arma1
Armed Assault arma1_alt
Arma 2
Arma 2 arma2, a2
Arma 2: Operation Arrowhead arma2oa, oa, arrowhead, operation arrowhead
Arma 2: Army of the Czech Republic arma2acr, acr
Arma 2: British Armed Forces arma2baf, baf
Arma 2: Private Military Company arma2pmc, pmc
Arma 3
Arma 3 arma3, a3
arma3 curator eye.png arma3zeus, curator, zeus
karts icon ca.png arma3karts, kart, karts
heli icon ca.png arma3helicopters, heli, helicopter, helicopters
mark icon ca.png arma3marksmen, mark, marks, marksmen
Eden Editor arma3eden
apex icon ca.png arma3apex, expansion, apex
jets icon ca.png arma3jets, jets
malden icon ca.png arma3malden, argo, malden
orange icon ca.png arma3lawsofwar, orange, low, laws of war
tacops icon ca.png arma3tacops, tacop, tac-op, tac-ops
tank icon ca.png arma3tanks, tank, tanks
enoch icon ca.png arma3contact, enoch, contact
arma3apex oldman logo.png oldman, arma3oldman
arma3apex oldman logo simplyfied white.png oldman_alt, arma3oldman_alt
Take On
Take On Helicopters tkoh
Take On Helicopters tkoh_alt
Take On Mars tkom
Other Games
Carrier Command: Gaea Mission cc, carrier command
DayZ dayz
DayZ dayz_alt
Ylands ylands
Multiplayer Definitions
arguments global.gif globalArgument
arguments local.gif localArgument
effects global.gif globalEffect
effects local.gif localEffect
Exec Server.gif serverExec
Timeline
AAN aan
Person
person
Historical event
real
Others
BIS Helicopter DLC Icon v2.png afm