Icon – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Add some more)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}
<includeonly>{{#switch: {{lc:{{{1|}}}}}
| ofp | cwa | arma0 = [[File:ofp version.gif|{{{3|48}}}px]]
| ofp | cwa | arma0 = [[File:Logo_A0.png|{{{3|48}}}px]]
| ofpr = [[File:ofpr version.gif|{{{3|48}}}px]]
| ofpr = [[File:ofpr version.gif|{{{3|48}}}px]]
| arma | arma1 = [[File:arma version.gif|{{{3|48}}}px]]
| arma | arma1 = [[File:Logo A1 black.png|{{{3|48}}}px]]
| 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]]
|  #default = [[File:arma2 version.gif|{{{3|48}}}px]]
|  #default = [[File:Logo A2.png|{{{3|48}}}px]]
}}
}}
| arma3 =
| arma3 =
Line 25: Line 25:
}}
}}
| tkoh = [[File:TKOH version.gif|{{{3|48}}}px]]
| tkoh = [[File:TKOH version.gif|{{{3|48}}}px]]
    | dayz = [[File:dayzlogoinv.png|{{{3|48}}}px]]
| dayz = [[File:dayzlogoinv.png|{{{3|48}}}px]]
| ylands = [[File:Ylands 3D Logo.png|{{{3|48}}}px]]
| #default = -no game defined!-
| #default = -no game defined!-
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 31: Line 32:
== Usage ==
== Usage ==
{{<nowiki/>Icon|'''''game'''''|'''''dlc'''''|'''''size'''''}}
{{<nowiki/>Icon|'''''game'''''|'''''dlc'''''|'''''size'''''}}
* game: the concerned game. Can be <tt>ofp / cwa / arma0</tt>, <tt>ofpr</tt>, <tt>arma / arma1</tt>, <tt>arma2</tt>, <tt>arma3</tt> or <tt>tkoh</tt>
* game: the concerned game. Can be <tt>ofp / cwa / arma0</tt>, <tt>ofpr</tt>, <tt>arma / arma1</tt>, <tt>arma2</tt>, <tt>arma3</tt>, <tt>tkoh</tt>, <tt>dayz</tt> or <tt>ylands</tt>
* dlc: (Optional, default "") DLC. Can be empty, or:
* dlc: (Optional, default "") DLC. Can be empty, or:
** arma2: <tt>oa / arrowhead / operation arrowhead</tt>
** arma2: <tt>oa / arrowhead / operation arrowhead</tt>
Line 73: Line 74:
| <nowiki>{{Icon|arma3}}</nowiki>
| <nowiki>{{Icon|arma3}}</nowiki>
| {{Icon|arma3}}
| {{Icon|arma3}}
|-
| <nowiki>{{Icon|tkoh}}</nowiki>
| {{Icon|tkoh}}
|-
|-
| <nowiki>{{Icon|dayz}}</nowiki>
| <nowiki>{{Icon|dayz}}</nowiki>
| {{Icon|dayz}}
| {{Icon|dayz}}
|-
|-
| <nowiki>{{Icon|tkoh}}</nowiki>
| <nowiki>{{Icon|ylands}}</nowiki>
| {{Icon|tkoh}}
| {{Icon|ylands}}
|-
|-
| <nowiki>{{Icon|arma3|karts}}</nowiki>
| <nowiki>{{Icon|arma3|karts}}</nowiki>

Revision as of 10:47, 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}} TKOH version.gif
{{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