Icon – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add some more)
m (Add links to games)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}
<includeonly>{{#switch: {{lc:{{{1|}}}}}
| ofp | cwa | arma0 = [[File:Logo_A0.png|{{{3|48}}}px]]
| ofp | cwa | arma0 = [[File:Logo_A0.png|{{{3|48}}}px|link=:Category:Operation Flashpoint]]
| ofpr = [[File:ofpr version.gif|{{{3|48}}}px]]
| ofpr = [[File:ofpr version.gif|{{{3|48}}}px|link=Operation Flashpoint: Resistance Introduction]]
| arma | arma1 = [[File:Logo A1 black.png|{{{3|48}}}px]]
| arma | arma1 = [[File:Logo A1 black.png|{{{3|48}}}px|link=ArmA: The Game]]
| arma2 = {{#switch: {{lc:{{{2}}}}}
| arma2 = {{#switch: {{lc:{{{2}}}}}
| oa
| oa
| arrowhead
| arrowhead
| operation arrowhead = [[File:A2 OA Logo.png|{{{3|48}}}px]]
| operation arrowhead = [[File:A2 OA Logo.png|{{{3|48}}}px|link=:Category:Arma 2: Operation Arrowhead]]
|  #default = [[File:Logo A2.png|{{{3|48}}}px]]
|  #default = [[File:Logo A2.png|{{{3|48}}}px|link={{arma2}}]]
}}
}}
| arma3 =
| arma3 =
{{#switch: {{lc:{{{2|}}}}}
{{#switch: {{lc:{{{2|}}}}}
| curator | zeus = [[File:arma3_curator_eye.png|{{{3|48}}}px]]
| curator | zeus = [[File:arma3_curator_eye.png|{{{3|48}}}px|link=Arma 3 Zeus]]
| kart | karts = [[File:karts_icon_ca.png|{{{3|48}}}px]]
| kart | karts = [[File:karts_icon_ca.png|{{{3|48}}}px]]
| heli | helicopter | helicopters = [[File:heli_icon_ca.png|{{{3|48}}}px]]
| heli | helicopter | helicopters = [[File:heli_icon_ca.png|{{{3|48}}}px]]
Line 22: Line 22:
| tank | tanks = [[File:tank_icon_ca.png|{{{3|48}}}px]]
| tank | tanks = [[File:tank_icon_ca.png|{{{3|48}}}px]]
| enoch | contact = [[File:enoch_icon_ca.png|{{{3|48}}}px]]
| enoch | contact = [[File:enoch_icon_ca.png|{{{3|48}}}px]]
| #default = [[File:Arma 3 logo black.png|{{{3|48}}}px]]
| #default = [[File:Arma 3 logo black.png|{{{3|48}}}px|link={{arma3}}]]
}}
}}
| tkoh = [[File:TKOH version.gif|{{{3|48}}}px]]
| tkoh = [[File:Logo TakOH full.png|{{{3|48}}}px|link=Take On Helicopters]]
| dayz = [[File:dayzlogoinv.png|{{{3|48}}}px]]
| tkom = [[File:tkom logo.png|{{{3|48}}}px|link=Take On Mars]]
| ylands = [[File:Ylands 3D Logo.png|{{{3|48}}}px]]
| dayz = [[File:dayzlogoinv.png|{{{3|48}}}px|link=DayZ]]
| #default = -no game defined!-
| ylands = [[File:Ylands 3D Logo.png|{{{3|48}}}px|link=Ylands]]
| #default = -no [[Template:Icon|game]] defined!-
}}</includeonly><noinclude>
}}</includeonly><noinclude>


Line 77: Line 78:
| <nowiki>{{Icon|tkoh}}</nowiki>
| <nowiki>{{Icon|tkoh}}</nowiki>
| {{Icon|tkoh}}
| {{Icon|tkoh}}
|-
| <nowiki>{{Icon|tkom}}</nowiki>
| {{Icon|tkom}}
|-
|-
| <nowiki>{{Icon|dayz}}</nowiki>
| <nowiki>{{Icon|dayz}}</nowiki>

Revision as of 09:54, 27 March 2020


Usage

{{Icon|game|dlc|size}}

  • game: the concerned game. Can be ofp / cwa / arma0, ofpr, arma / arma1, arma2, arma3, tkoh, dayz or ylands
  • dlc: (Optional, default "") DLC. Can be empty, or:
    • arma2: oa / arrowhead / operation arrowhead
    • arma3:
      • curator / zeus
      • kart / karts
      • heli / helicopter / helicopters
      • mark / marks / marksmen
      • expansion / apex
      • jets
      • argo / malden
      • orange / low / laws of war
      • tacop / tacops / tac-op / tac-ops
      • tank / tanks
      • enoch / contact
  • size: (Optional, default 48) in pixels
Examples
Code Result
{{Icon}} -no game defined!-
{{Icon|ofp}} Logo A0.png
{{Icon|ofpr}} ofpr version.gif
{{Icon|arma}} Logo A1 black.png
{{Icon|arma2}} Logo A2.png
{{Icon|arma2|oa}} A2 OA Logo.png
{{Icon|arma3}} Arma 3 logo black.png
{{Icon|tkoh}} Logo TakOH full.png
{{Icon|tkom}} tkom logo.png
{{Icon|dayz}} dayzlogoinv.png
{{Icon|ylands}} Ylands 3D Logo.png
{{Icon|arma3|karts}} karts icon ca.png
{{Icon|arma3|heli}} heli icon ca.png
{{Icon|arma3|marksmen}} mark icon ca.png
{{Icon|arma3|apex}} apex icon ca.png
{{Icon|arma3|tacops}} tacops icon ca.png
{{Icon|arma3|malden}} malden icon ca.png
{{Icon|arma3|low}} orange icon ca.png
{{Icon|arma3|tacops}} tacops icon ca.png
{{Icon|arma3|tanks}} tank icon ca.png
{{Icon|arma3|enoch}} enoch icon ca.png
{{Icon|arma3|contact}} enoch icon ca.png