Vault-Tec Labs
Advertisement
[view · edit · purge]
Template documentation (for the template shown above, sometimes hidden or invisible)

Small template which retrieves the name of a Fallout game for a given user entry.

Auxiliary template for {{Infobox}}.

Usage

{{abb|abbreviation}}

Parameters

R
<unnamed 1> or abb
Game abbrevation; see #Abbreviations below for list of valid inputs.
N
icon size
If mode is set to "icon", this parameter can be used to specify the icon's dimensions. For example, setting it to "40x30px" creates an icon which is (at most) 40px wide and 30px high. By default, the icon is displayed at original size.
N
(default: "text")
mode
Determines the template output.

Available options:

  • icon: Returns an icon which links to the game's overview article.
  • short: Returns a shortened version of the game's name for display in narrow spaces.
  • text: Returns the game's name.

Abbreviations

Abbreviation text short icon
AR All Roads Gametitle-AR.png
D20 Fallout d20 Gametitle-D20.png
FB Fallout Bible Gametitle-FB.png
FNV FO: New Vegas Gametitle-FNV.png
FO1 Fallout Gametitle-FO1.png
FO2 Fallout 2 Gametitle-FO2.png
FO3 Fallout 3 Gametitle-FO3.png
FO3BS Fallout 3: BS Gametitle-FO3 BS.png
FO3MZ Fallout 3: MZ Gametitle-FO3 MZ.png
FO3OA Fallout 3: OA Gametitle-FO3 OA.png
FO3PL Fallout 3: PL Gametitle-FO3 PL.png
FO3TP Fallout 3: TP Gametitle-FO3 TP.png
FOBOS Fallout: BoS Gametitle-FOBOS.png
FOBOS2 Fallout: BoS 2 Gametitle-FOBOS2.png
FOOL FO Online File:Gametitle-FOOL.png
FOT FO Tactics Gametitle-FOT.png
FOT2 FO Tactics 2 Gametitle-FOT2.png
FOW FO: Warfare Gametitle-FOW.png
FOX FO Extreme Gametitle-FOX.png
JES JES FO RPG Gametitle-JES.png
LH Lionheart Gametitle-LH.png
PA Penny Arcade Penny Arcade.gif
TORN TORN Gametitle-TORN.png
Wiki Vault-Tec Labs Vault-Tec Labs Gametitle-Wiki-icon.png
none mentioned-only mentioned-only

Adding new abbrevations

Simply add the following to the template and fill it out:

-->|ABBREVIATION=<!--
 -->{{#switch:{{lc:{{{mode|}}}}}<!--
  -->|icon          =<!--
  -->|short         =<!--
  -->|text|#default =<!--
 -->}}<!--

Please note that the abbreviation needs to be in uppercase. In addition, please try to maintain alphabetical order of abbreviations within the template.

Examples

Input Result
{{abb|FOBOS}} Fallout: Brotherhood of Steel
{{abb|mode=short|FOBOS}} Fallout: BoS
{{abb|mode=icon|FOBOS}} Gametitle-FOBOS.png
Documentation transcluded from Template:Abb/doc.
Advertisement