Icon – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Changed default size of cb and updated template description)
(added unknown (question mark))
Line 51: Line 51:
     | afm = [[File:BIS_Helicopter_DLC_Icon_v2.png|{{{2|48}}}px]]
     | afm = [[File:BIS_Helicopter_DLC_Icon_v2.png|{{{2|48}}}px]]
<!-- WIKI -->
<!-- WIKI -->
     | disamb = [[File:Disambig.png|{{{2|48}}}px]]
     | disamb = [[File:Disambig.png|{{{2|24px}}}px]]
     | unchecked = [[File:Ico ok.png|24px]]
     | unchecked = [[File:Ico ok.png|{{{2|24px}}}px]]
     | checked = [[File:Ico none.png|24px]]
     | checked = [[File:Ico none.png|{{{2|24px}}}px]]
    | unknown = ❓|{{{2|24px}}}]]
<!-- DEFAULT -->
<!-- DEFAULT -->
| = -no [[Template:Icon|parameter]] defined!-
| = -no [[Template:Icon|parameter]] defined!-
Line 63: Line 64:
* iconName: (case-insensitive) - see table below
* iconName: (case-insensitive) - see table below
* size: (Optional, default 48, except for ''checked'', ''unchecked'', default is 24 for these) size in pixel
* size: (Optional, default 48, except for ''checked'', ''unchecked'', default is 24 for these) size in pixel
** Default value is 24 for ''checked'', ''unchecked'' and ''unknown''


'''Icons:'''
'''Icons:'''
Line 229: Line 231:
| {{Icon|checked}}
| {{Icon|checked}}
| checked
| checked
|-
| {{Icon|unknown}}
| unknown
|}
|}
</div>
</div>


[[Category: Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
[[Category: Templates|{{uc:{{PAGENAME}}}}]]</noinclude>

Revision as of 01:06, 8 February 2021

One template to rule them all (icons).

Usage

{{Icon|iconName|size}}

  • iconName: (case-insensitive) - see table below
  • size: (Optional, default 48, except for checked, unchecked, default is 24 for these) size in pixel
    • Default value is 24 for checked, unchecked and unknown

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 are global globalArgument
Arguments have to be local localArgument
Effect is global on the network globalEffect
Effect is local to the client localEffect
Must be run on the server serverExec
Timeline
AAN aan
Person
person
Historical event
real
Others
BIS Helicopter DLC Icon v2.png afm
Wiki
Disambig.png disamb
Ico ok.png unchecked
Ico none.png checked
unknown