Icon – Template

From Bohemia Interactive Community
Revision as of 13:19, 20 December 2021 by Lou Montana (talk | contribs) (Add alt text to mouse and wiki icons)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Examples

Preview Additional Information
Errors
-no parameter defined!-
{{Icon}}
-wrong parameter ("lol") defined!-
{{Icon|lol}} <!-- wrong argument -->
Dimensions
Operation Flashpoint
{{Icon|ofp}} <!-- default is 48 (px) -->
Operation Flashpoint
{{Icon|ofp|12}}
Operation Flashpoint
{{Icon|ofp|24}}
Operation Flashpoint
{{Icon|ofp|72}}
Operation Flashpoint
{{Icon|ofp|100}}
Bohemia Interactive
bohemia interactive logo black.png bi, bohemiainteractive
-wrong parameter ("bi_alt") defined!- bi_alt, bohemiainteractive_alt
Operation Flashpoint
Operation Flashpoint ofp, cwa, arma0
ofpr version.gif 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
arma3 mark logoOver ca.png arma3marksmen_alt, mark_alt
Eden Editor arma3eden
apex icon ca.png arma3apex, expansion, apex
jets icon ca.png arma3jets, jets
malden icon ca.png arma3malden, 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
aow icon ca.png arma3artofwar, aow, artofwar
arma3apex oldman logo.png arma3oldman, oldman
arma3apex oldman logo simplyfied white.png arma3oldman_alt, oldman_alt
Argo
malden icon ca.png argo
Arma Reforger
-wrong parameter ("armaR") defined!- armar
-wrong parameter ("armaR_alt") defined!- armaR_alt
Arma 4
-wrong parameter ("arma4") defined!- arma4
-wrong parameter ("arma4_alt") defined!- arma4_alt
Take On
Take On Helicopters tkoh
Take On Helicopters tkoh_alt
Take On Mars tkom
Take On Mars tkom_alt
Other Games
Carrier Command: Gaea Mission carriercommand, carrier command, cc
DayZ dayz
DayZ dayz_alt
-wrong parameter ("silica") defined!- silica
-wrong parameter ("silica") defined!-
-wrong parameter ("silica") defined!-
-wrong parameter ("vigor") defined!- vigor
-wrong parameter ("vigor") defined!-
-wrong parameter ("vigor") defined!-
Ylands ylands
Multiplayer Definitions
GAGlobal globalArgument
LALocal localArgument
GEGlobal globalEffect
LELocal localEffect
SEServer serverExec
Timeline
AAN aan
Person
person
Historical event
real
Others
Advanced Helicopter Flight Model afm
Controls
Left Mouse Button mouseL
Double Left Mouse Button mouseL2
Right Mouse Button mouseR
Middle Mouse Button mouseM
-wrong parameter ("mouseSW") defined!- mouseSW
-wrong parameter ("mouseSWU") defined!- mouseSWU
-wrong parameter ("mouseSWD") defined!- mouseSWD
Mouse mouse, mouseN
-wrong parameter ("controller") defined!- gamepad, controller
-wrong parameter ("keyboard") defined!- keyboard
-wrong parameter ("kbm") defined!- kbm
Wiki
Disambiguation disamb
Unchecked unchecked
Checked checked
Warning warning
unknown
Misc
-wrong parameter ("Steam") defined!- steam
-wrong parameter ("xbox") defined!- xbox
-wrong parameter ("playstation") defined!- playstation
-wrong parameter ("switch") defined!- switch

One template to rule them all (icons). Icons LALocal should GEGlobal appear SEServer inline.
It also adds the page to the Icon template usage error category on usage error.

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 32 for mouseL, mouseL2, mouseM, mouse/mouseN, mouseR
    • 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