FANDOM


(adding doc for two new icons)
 
(33 intermediate revisions by 10 users not shown)
Line 4: Line 4:
 
==Usage==
 
==Usage==
 
<pre>{{icon|name of icon}}</pre>
 
<pre>{{icon|name of icon}}</pre>
  +
  +
To update the available icons, the [[Module:Icons|Icon]] module requires a new parameter in the <code>iconTip</code> (default tooltip) and <code>gameIcon</code> (icon filename) lists.
   
 
===Parameters===
 
===Parameters===
{{Docparam|name=<unnamed 1>|req=yes|default=|desc=
+
{{Docparam|name=&lt;unnamed 1>|req=yes|default=|desc=
Which icon should be displayed.
+
Which icon should be displayed. Multiple icons can be listed by separating them with a comma. (<nowiki>{{Icon|FO1,FO2,FO3}}</nowiki>)
 
}}
 
}}
   
{{Docparam|name=<unnamed 2>|req=no|default=x14px|desc=
+
{{Docparam|name=&lt;unnamed 2>|req=no|default=x14px|desc=
Specifies size of the icon. Can either be set to one of the presets below or directly given as a px value (same syntax as for setting image size of a normal file link).
+
Specifies size of the icon. Can either be set to one of the presets below or directly given as a px value (same syntax as for setting image size of a normal file link).
   
 
The presets are:
 
The presets are:
Line 28: Line 30:
   
 
==Available icons==
 
==Available icons==
{| class="va-table va-table-top" style="width: 208px; float: left; margin-right: 4px;"
+
{{#invoke:Icons|documentation}}
|-
 
! style="width: 70%;" | Name(s)
 
! style="width: 30%;" | Icon
 
|-
 
| '''ability'''
 
| style="text-align: center;" | {{icon|ability}}
 
|-
 
| '''ac''', '''shieldbronze'''
 
| style="text-align: center;" | {{icon|ac}}
 
|-
 
| '''acid'''
 
| style="text-align: center;" | {{icon|acid}}
 
|-
 
| '''action''', '''ap'''
 
| style="text-align: center;" | {{icon|action}}
 
|-
 
| '''amber'''
 
| style="text-align: center;" | {{icon|amber}}
 
|-
 
| '''ammo''', '''bullet'''
 
| style="text-align:center;" | {{icon|ammo}}
 
|-
 
| '''android'''
 
| style="text-align:center;" | {{icon|android}}
 
|-
 
| '''apple''', '''ios'''
 
| style="text-align:center;" | {{icon|apple}}
 
|-
 
| '''attack''', '''crosshair'''
 
| style="text-align: center;" | {{icon|attack}}
 
|-
 
| '''big gun'''
 
| style="text-align:center;" | {{icon|big gun}}
 
|-
 
| '''bigger gun'''
 
| style="text-align:center;" | {{icon|bigger gun}}
 
|-
 
| '''blade'''
 
| style="text-align:center;" | {{icon|blade}}
 
|-
 
| '''blunt'''
 
| style="text-align:center;" | {{icon|blunt}}
 
|-
 
| '''bonus effect'''
 
| style="text-align: center;" | {{icon|bonus effect}}
 
|-
 
| '''caravan''', '''cards'''
 
| style="text-align: center;" | {{icon|cards}}
 
|-
 
| '''chance''', '''percent'''
 
| style="text-align: center;" | {{icon|chance}}
 
|-
 
| '''check''', '''yes'''
 
| style="text-align: center;" | {{icon|check}}
 
|-
 
| '''checkbrown''', '''temp'''
 
| style="text-align: center;" | {{icon|checkbrown}}
 
|-
 
| '''companion'''
 
| style="text-align: center;" | {{icon|companion}}
 
|-
 
| '''confidence'''
 
| style="text-align: center;" | {{icon|confidence}}
 
|-
 
| '''craft'''
 
| style="text-align: center;" | {{icon|craft}}
 
|-
 
| '''crit''', '''crit dmg'''
 
| style="text-align: center;" | {{icon|crit}}
 
|-
 
| '''crit effect'''
 
| style="text-align: center;" | {{icon|crit effect}}
 
|-
 
| '''cross''', '''no'''
 
| style="text-align: center;" | {{icon|cross}}
 
|-
 
| '''cut'''
 
| style="text-align: center;" | {{icon|cut}}
 
|-
 
| '''damage'''
 
| style="text-align: center;" | {{icon|damage}}
 
|-
 
| '''dps'''
 
| style="text-align: center;" | {{icon|dps}}
 
|-
 
| '''dap''', '''dam/AP'''
 
| style="text-align: center;" | {{icon|dap}}
 
|-
 
| '''dead'''
 
| style="text-align: center;" | {{icon|dead}}
 
|-
 
| '''defense''', '''dr''', '''shieldsilver'''
 
| style="text-align: center;" | {{icon|dr}}
 
|-
 
| '''detect''', '''detection''', '''eye'''
 
| style="text-align: center;" | {{icon|detect}}
 
|}
 
 
{| class="va-table va-table-top" style="width: 208px; float: left; margin-right: 4px;"
 
|-
 
! style="width: 70%;" | Name(s)
 
! style="width: 30%;" | Icon
 
|-
 
| '''dial''', '''dialogue'''
 
| style="text-align: center;" | {{icon|dialogue}}
 
|-
 
| '''distance''', '''range'''
 
| style="text-align: center;" | {{icon|distance}}
 
|-
 
| '''doctor'''
 
| style="text-align: center;" | {{icon|doctor}}
 
|-
 
| '''dr''', '''shieldsilver'''
 
| style="text-align: center;" | {{icon|dr}}
 
|-
 
| '''dt''', '''shieldgold'''
 
| style="text-align: center;" | {{icon|dt}}
 
|-
 
| '''effect'''
 
| style="text-align: center;" | {{icon|effect}}
 
|-
 
| '''electrical'''
 
| style="text-align: center;" | {{icon|electrical}}
 
|-
 
| '''emp'''
 
| style="text-align: center;" | {{icon|emp}}
 
|-
 
| '''energy'''
 
| style="text-align: center;" | {{icon|energy}}
 
|-
 
| '''enslave'''
 
| style="text-align: center;" | {{icon|enslave}}
 
|-
 
| '''essential'''
 
| style="text-align: center;" | {{icon|essential}}
 
|-
 
| '''experience''', '''xp'''
 
| style="text-align: center;" | {{icon|experience}}
 
|-
 
| '''explosion'''
 
| style="text-align: center;" | {{icon|explosion}}
 
|-
 
| '''fire'''
 
| style="text-align: center;" | {{icon|fire}}
 
|-
 
| '''fist'''
 
| style="text-align: center;" | {{icon|fist}}
 
|-
 
| '''frost'''
 
| style="text-align: center;" | {{icon|frost}}
 
|-
 
| '''gas'''
 
| style="text-align: center;" | {{icon|gas}}
 
|-
 
| '''grenade'''
 
| style="text-align: center;" | {{icon|grenade}}
 
|-
 
| '''green'''
 
| style="text-align: center;" | {{icon|green}}
 
|-
 
| '''group'''
 
| style="text-align: center;" | {{icon|group}}
 
|-
 
| '''gun''', '''pistol'''
 
| style="text-align: center;" | {{icon|gun}}
 
|-
 
| '''healing''', '''healing rate'''
 
| style="text-align: center;" | {{icon|healing}}
 
|-
 
| '''health''', '''heart''', '''hp'''
 
| style="text-align: center;" | {{icon|health}}
 
|-
 
| '''image'''
 
| style="text-align: center;" | {{icon|image}}
 
|-
 
| '''info'''
 
| style="text-align: center;" | {{icon|info}}
 
|-
 
| '''jury'''
 
| style="text-align: center;" | {{icon|jury}}
 
|-
 
| '''laser'''
 
| style="text-align: center;" | {{icon|laser}}
 
|-
 
| '''level'''
 
| style="text-align: center;" | {{icon|level}}
 
|-
 
| '''mac'''
 
| style="text-align: center;" | {{icon|mac}}
 
|-
 
| '''macclassic'''
 
| style="text-align: center;" | {{icon|macclassic}}
 
|-
 
| '''mag'''
 
| style="text-align: center;" | {{icon|mag}}
 
|-
 
| '''melee'''
 
| style="text-align: center;" | {{icon|melee}}
 
|-
 
| '''mentioned'''
 
| style="text-align: center;" | {{icon|mentioned}}
 
|}
 
   
{| class="va-table va-table-top" style="width: 208px;"
 
|-
 
! style="width: 70%;" | Name(s)
 
! style="width: 30%;" | Icon
 
|-
 
| '''merchant'''
 
| style="text-align: center;" | {{icon|merchant}}
 
|-
 
| '''mine'''
 
| style="text-align: center;" | {{icon|mine}}
 
|-
 
| '''neutral'''
 
| style="text-align: center;" | {{icon|neutral}}
 
|-
 
| '''optional'''
 
| style="text-align: center;" | {{icon|optional}}
 
|-
 
| '''pc'''
 
| style="text-align: center;" | {{icon|pc}}
 
|-
 
| '''plasma'''
 
| style="text-align: center;" | {{icon|plasma}}
 
|-
 
| '''poison'''
 
| style="text-align: center;" | {{icon|poison}}
 
|-
 
| '''ps3'''
 
| style="text-align: center;" | {{icon|ps3}}
 
|-
 
| '''ps4'''
 
| style="text-align: center;" | {{icon|ps4}}
 
|-
 
| '''radiation'''
 
| style="text-align: center;" | {{icon|radiation}}
 
|-
 
| '''range'''
 
| style="text-align: center;" | {{icon|range}}
 
|-
 
| '''rarity'''
 
| style="text-align: center;" | {{icon|rarity}}
 
|-
 
| '''red'''
 
| style="text-align: center;" | {{icon|red}}
 
|-
 
| '''ratio'''
 
| style="text-align: center;" | {{icon|ratio}}
 
|-
 
| '''repair'''
 
| style="text-align: center;" | {{icon|repair}}
 
|-
 
| '''repeat'''
 
| style="text-align: center;" | {{icon|repeat}}
 
|-
 
| '''required'''
 
| style="text-align: center;" | {{icon|required}}
 
|-
 
| '''rifle'''
 
| style="text-align: center;" | {{icon|rifle}}
 
|-
 
| '''semi-required'''
 
| style="text-align: center;" | {{icon|semi-required}}
 
|-
 
| '''sequence'''
 
| style="text-align: center;" | {{icon|sequence}}
 
|-
 
| '''shotgun'''
 
| style="text-align: center;" | {{icon|shotgun}}
 
|-
 
| '''sic'''
 
| style="text-align: center;" | {{icon|sic}}
 
|-
 
| '''smg'''
 
| style="text-align: center;" | {{icon|smg}}
 
|-
 
| '''sound'''
 
| style="text-align: center;" | {{icon|sound}}
 
|-
 
| '''spawn'''
 
| style="text-align: center;" | {{icon|spawn}}
 
|-
 
| '''spread'''
 
| style="text-align: center;" | {{icon|spread}}
 
|-
 
| '''unarmed'''
 
| style="text-align: center;" | {{icon|unarmed}}
 
|-
 
| '''text'''
 
| style="text-align: center;" | {{icon|text}}
 
|-
 
| '''xbox360'''
 
| style="text-align: center;" | {{icon|xbox360}}
 
|-
 
| '''xboxone'''
 
| style="text-align: center;" | {{icon|xboxone}}
 
|-
 
| '''weight'''
 
| style="text-align: center;" | {{icon|weight}}
 
|-
 
| '''ww, wild wasteland'''
 
| style="text-align: center;" | {{icon|ww}}
 
|-
 
| '''windows'''
 
| style="text-align: center;" | {{icon|windows}}
 
|}
 
 
{{clear}}
 
{{clear}}
 
In addition, all abbreviations supported by {{tl|Abb}} can be used to produce an icon for the corresponding game.
 
In addition, all abbreviations supported by {{tl|Abb}} can be used to produce an icon for the corresponding game.
   
<includeonly>[[ja:Template:Icon]]
+
[[pt:Predefinição:Icon/doc]]
[[ru:Шаблон:Иконка]]</includeonly>
 

Latest revision as of 20:27, May 24, 2020

Icon template doc
This page contains usage information for Template:Icon.

Template for displaying small icons.

UsageEdit

{{icon|name of icon}}

To update the available icons, the Icon module requires a new parameter in the iconTip (default tooltip) and gameIcon (icon filename) lists.

ParametersEdit

Icon required
<unnamed 1>
Which icon should be displayed. Multiple icons can be listed by separating them with a comma. ({{Icon|FO1,FO2,FO3}})
Icon optional
(default: "x14px")
<unnamed 2>
Specifies size of the icon. Can either be set to one of the presets below or directly given as a px value (same syntax as for setting image size of a normal file link).

The presets are:

  • small: Icons will be displayed at 10px height.
  • medium/normal: Icons will be displayed at 14px height.
  • big: Icons will be displayed at 20px height.
Icon optional
link
Page the icon should link to (without enclosing "[[]]"). If tooltip is not specified, this is also used as the tooltip text.
Icon optional
tooltip
Tooltip text displayed when hovering over the icon. Overrides the icon's default text.

Available iconsEdit

prefixIconprefixIconprefixIcon
ARGametitle-ARD20Gametitle-D20FBGametitle-FB
FBGGametitle-FBGFBGNCGametitle-FBGNCFBGWWGametitle-FBGWW
FILMFilmFNVGametitle-FNVFNVCSGametitle-FNV CS
FNVDMGametitle-FNV DMFNVGRAGametitle-FNV GRAFNVHHGametitle-FNV HH
FNVLRGametitle-FNV LRFNVOWBGametitle-FNV OWBFOGametitle-FO1
FO1Gametitle-FO1FO2Gametitle-FO2FO3Gametitle-FO3
FO3BSGametitle-FO3 BSFO3MZGametitle-FO3 MZFO3OAGametitle-FO3 OA
FO3PLGametitle-FO3 PLFO3TPGametitle-FO3 TPFO4Gametitle-FO4
FO4AUTGametitle-FO4 AUTFO4CCGametitle-FO4 CCFO4CWGametitle-FO4 CW
FO4FHGametitle-FO4 FHFO4NWGametitle-FO4 NWFO4VRGametitle-FO4VR
FO4VWGametitle-FO4 VWFO4WWGametitle-FO4 WWFO76Gametitle-FO76
FO76LRGametitle-FO76 LRFO76NWGametitle-FO76 NWFO76WAGametitle-FO76 WA
FO76WLGametitle-FO76 WLFOBOSGametitle-FOBOSFOBOS2Gametitle-FOBOS2
FOOLPV13FOSGametitle-FOSFOTGametitle-FOT
FOT2Gametitle-FOT2FOWGametitle-FOWFOXGametitle-FOX
FPBGametitle-FPBFWWGametitle-FWWFWWRPGGametitle-FWWRPG
JESGametitle-JESLHGametitle-LHPAPenny Arcade
PV13PV13TARGametitle-TARTORNGametitle-TORN
VBGametitle-VBWIKIGametitle-WikiabilityIcon ability
acIcon shield bronzeacidIcon acidactionIcon action
amberIcon amberammoIcon ammoandroidIcon android
apIcon actionappleIcon appleiosarmorwbFo4 Armor Work Icon
atomIcon Fo76 AtomattackIcon attackbig gunIcon heavy weapon
bigger gunIcon big gunbladeIcon bladebleedIcon bleed
bluntIcon bluntbonus effectIcon bonus effectbossFoS Boss
bronzeBronzebugged unavRadroachcaravanIcon cards
cardsIcon cardschanceIcon chancecheckIcon check
checkbrownIcon check tempchemstFo4 Chem Work IconcompanionIcon companion
confidenceIcon confidencecookstFo4 Cook Work IconcraftIcon crafting
critIcon critical damagecrit effectIcon crit effectcrossIcon cross
crosshairIcon attackcutIcon cutdamageIcon damage
dapIcon dapdeadIcon deaddefenseIcon shield silver
detectIcon eyedetectionIcon eyedialIcon dialogue
dialogueIcon dialoguedislikeDislikedistanceIcon range
doctorIcon doctordpsIcon dpsdrIcon shield silver
dtIcon shield goldeffectIcon effectelectricalIcon electrical
empIcon EMPenergyIcon electricalenslaveIcon cage
essentialIcon essentialexperienceIcon XPexplmillIcon fo4cw builder
explosionIcon explosioneyeIcon eyefacebookFacebookIcon
fireIcon firefistIcon fistfnvwwPerk wild wasteland
fo4chain01Icon Fo4 chain01fo4chain02Icon Fo4 chain02fo4chain03Icon Fo4 chain03
fo4gencardIcon Fo4 gen keycardfo4holoIcon Fo4 holotapefo4key01Icon Fo4 key01
fo4key02Icon Fo4 key02fo4key03Icon Fo4 key03fo4noteIcon Fo4 note
fo4vaultidIcon Fo4 vaultidfoodprIcon fo4cw builderfrostIcon effect
gamerscoreGamerscoregasIcon gasgoldGold
greenIcon greengrenadeIcon grenadegroupIcon group
gunIcon gunhateHatehealingIcon healing
healing rateIcon healinghealthIcon heartheartIcon heart
hpIcon heartimageIcon imageinfoIcon info
instagramInstagram iconiosIcon appleiosjuryJuryRigging
laserIcon laserlevelIcon levellikeLike
limitedtimeIcon limitedtimelinkedinLinkedin iconloveLove
macIcon macmacclassicIcon macmagAssault carbine extended magazines
meleeIcon meleementionedIcon mentionedmerchantIcon merchant
mineIcon minemodIcon plusmyspaceMyspace icon
neutralIcon neutralneutralfaceNeutralnoIcon cross
nukamixIcon Nuka-mixer stationoptionalIcon optionalparmorstFo4 Power Work Icon
pbgameFo4 Pip-Boy gamepcIcon pcpercentIcon chance
pistolIcon gunplasmaIcon plasmaplatinumPlat
poisonIcon poisonps3Icon ps3ps4Icon ps4
questionIcon questionradiationIcon radiationrangeIcon range
rarityIcon rarityratioIcon ratioredIcon red
repairIcon repairrepeatIcon repeatrequiredIcon required
rifleIcon riflerobotwbIcon robot workbenchsemiIcon semi-required
semi-requiredIcon semi-requiredsequenceIcon sequenceshieldbronzeIcon shield bronze
shieldgoldIcon shield goldshieldsilverIcon shield silvershotgunIcon shotgun
sicIcon sicsilverSilversmgIcon smg
soundIcon soundspawnIcon spawnspreadIcon spread
switchNintendo Switch icontempIcon check temptextIcon text
tumblrTumblr IcontwitchTwitch icontwitterTwitter icon
unarmedIcon unarmedweapwbFo4 Weapon Work IconweightIcon weight
wild wastelandPerk wild wastelandwindowsIcon windowsworkshopIcon workshop
wwPerk wild wastelandxbox360Icon xbox360xboxoneIcon xboxone
xpIcon XPyesIcon check

In addition, all abbreviations supported by {{Abb}} can be used to produce an icon for the corresponding game.

Community content is available under CC-BY-SA unless otherwise noted.