Icon – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Fix category link, split Icon & doc, add arma3marksmen_alt) |
Lou Montana (talk | contribs) (Add BI) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch: {{#replace:{{lc:{{{1|}}}}}|<nowiki> </nowiki>|_}} | <includeonly>{{#switch: {{#replace:{{lc:{{{1|}}}}}|<nowiki> </nowiki>|_}} | ||
<!-- BOHEMIA INTERACTIVE --> | |||
| bi | bohemiainteractive = [[File:bohemia_interactive_logo_black.png|{{{2|48}}}px|link={{{link|{{Name|bi}}}}}]] | |||
<!-- OPERATION FLASHPOINT --> | <!-- OPERATION FLASHPOINT --> | ||
| ofp | cwa | arma0 = [[File:Logo_A0.png|{{{2|48}}}px|link={{{link|Category:{{Name|ofp|cat}} {{!}} {{ofp}}}}}]] | | ofp | cwa | arma0 = [[File:Logo_A0.png|{{{2|48}}}px|link={{{link|Category:{{Name|ofp|cat}} {{!}} {{ofp}}}}}]] | ||
Line 62: | Line 64: | ||
<!-- DEFAULT --> | <!-- DEFAULT --> | ||
| = -no [[Template:Icon|parameter]] defined!- | | = -no [[Template:Icon|parameter]] defined!- | ||
| #default = -wrong [[Template:Icon|parameter]] defined!- | | #default = -wrong [[Template:Icon|parameter]] ("{{{1}}}") defined!- | ||
}}</includeonly><noinclude>{{Icon/doc}}</noinclude> | }}</includeonly><noinclude>{{Icon/doc}}</noinclude> |
Revision as of 01:13, 29 July 2021
Examples
Preview | Additional Information |
---|---|
Errors | |
-no parameter defined!- | |
-wrong parameter ("lol") defined!- | |
Dimensions | |
Bohemia Interactive | |
bi, bohemiainteractive | |
-wrong parameter ("bi_alt") defined!- | bi_alt, bohemiainteractive_alt |
Operation Flashpoint | |
ofp, cwa, arma0 | |
ofpr | |
ofpe | |
Arma | |
arma1 | |
arma1_alt | |
Arma 2 | |
arma2, a2 | |
arma2oa, oa, arrowhead, operation arrowhead | |
arma2acr, acr | |
arma2baf, baf | |
arma2pmc, pmc | |
Arma 3 | |
arma3, a3 | |
arma3zeus, curator, zeus | |
arma3karts, kart, karts | |
arma3helicopters, heli, helicopter, helicopters | |
arma3marksmen, mark, marks, marksmen | |
arma3marksmen_alt, mark_alt | |
arma3eden | |
arma3apex, expansion, apex | |
arma3jets, jets | |
arma3malden, malden | |
arma3lawsofwar, orange, low, laws of war | |
arma3tacops, tacop, tac-op, tac-ops | |
arma3tanks, tank, tanks | |
arma3contact, enoch, contact | |
arma3artofwar, aow, artofwar | |
arma3oldman, oldman | |
arma3oldman_alt, oldman_alt | |
Argo | |
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 | |
tkoh | |
tkoh_alt | |
tkom | |
tkom_alt | |
Other Games | |
carriercommand, carrier command, cc | |
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 | |
Multiplayer Definitions | |
GAGlobal | globalArgument |
LALocal | localArgument |
GEGlobal | globalEffect |
LELocal | localEffect |
SEServer | serverExec |
Timeline | |
aan | |
person | |
real | |
Others | |
afm | |
Controls | |
-wrong parameter ("mouseL") defined!- | mouseL |
-wrong parameter ("mouseL2") defined!- | mouseL2 |
-wrong parameter ("mouseR") defined!- | mouseR |
-wrong parameter ("mouseM") defined!- | mouseM |
-wrong parameter ("mouseSW") defined!- | mouseSW |
-wrong parameter ("mouseSWU") defined!- | mouseSWU |
-wrong parameter ("mouseSWD") defined!- | mouseSWD |
-wrong parameter ("mouseN") defined!- | mouse, mouseN |
-wrong parameter ("controller") defined!- | gamepad, controller |
-wrong parameter ("keyboard") defined!- | keyboard |
-wrong parameter ("kbm") defined!- | kbm |
Wiki | |
disamb | |
unchecked | |
checked | |
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