Template:Abb

From The Vault - Fallout Wiki
Jump to: navigation, search
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

RequiredIcon required.png
<unnamed 1> or abb

Game abbrevation; see #Abbreviations below for list of valid inputs.

OptionalIcon optional.png
(default: "text")
mode

Determines the template output.

Available options:

  • icon: Returns the name of the game's icon (without "File:" prefix).
  • link: Returns the name of 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 link icon
AR All Roads All Roads All Roads Gametitle-AR.png
D20 Fallout Pen and Paper d20 Fallout d20 Fallout Pen and Paper d20 Gametitle-D20.png
FB Fallout Bible Fallout Bible Fallout Bible Gametitle-FB.png
FILM Fallout (film) Fallout (film) Fallout (film) Film.png
FNV Fallout: New Vegas FO: New Vegas Fallout: New Vegas Gametitle-FNV.png
FNVCS Courier's Stash Courier's Stash Courier's Stash Gametitle-FNV CS.png
FNVDM Dead Money Dead Money Dead Money Gametitle-FNV DM.png
FNVHH Honest Hearts Honest Hearts Honest Hearts Gametitle-FNV HH.png
FNVGRA Gun Runners' Arsenal Gun Runners' Arsenal Gun Runners' Arsenal Gametitle-FNV GRA.png
FNVLR Lonesome Road Lonesome Road Lonesome Road (add-on) Gametitle-FNV LR.png
FNVOWB Old World Blues Old World Blues Old World Blues (add-on) Gametitle-FNV OWB.png
FO1 Fallout Fallout Fallout Gametitle-FO1.png
FO2 Fallout 2 Fallout 2 Fallout 2 Gametitle-FO2.png
FO3 Fallout 3 Fallout 3 Fallout 3 Gametitle-FO3.png
FO3BS Broken Steel Fallout 3: BS Broken Steel Gametitle-FO3 BS.png
FO3MZ Mothership Zeta Fallout 3: MZ Mothership Zeta (add-on) Gametitle-FO3 MZ.png
FO3OA Operation: Anchorage Fallout 3: OA Operation: Anchorage (add-on) Gametitle-FO3 OA.png
FO3PL Point Lookout Fallout 3: PL Point Lookout (add-on) Gametitle-FO3 PL.png
FO3TP The Pitt Fallout 3: TP The Pitt (add-on) Gametitle-FO3 TP.png
FO4 Fallout 4 Fallout 4 Fallout 4 Gametitle-FO4.png
FO4AM Automatron Fallout 4: AM Automatron Gametitle-fo4am.png
FO4WW Wasteland Workshop Fallout 4: WW Wasteland Workshop Gametitle-fo4ww.png
FO4FH Far Harbor Fallout 4: FH Far Harbor (add-on) Gametitle-fo4fh.png
FO4CW Contraptions Workshop Fallout 4: CW Contraptions Workshop Gametitle-fo4cw.png
FO4VW Vault-Tec Workshop Fallout 4: VW Vault-Tec Workshop Gametitle-fo4vw.png
FO4NW Nuka-World Fallout 4: NW Nuka-World (add-on) Gametitle-fo4nw.png
F76 Fallout 76 Fallout 76 Fallout 76 Gametitle-F76.png
FOBOS Fallout: Brotherhood of Steel Fallout: BoS Fallout: Brotherhood of Steel Gametitle-FOBOS.png
FOBOS2 Fallout: Brotherhood of Steel 2 Fallout: BoS 2 Fallout: Brotherhood of Steel 2 Gametitle-FOBOS2.png
FOOL Fallout Online FO Online Fallout Online Gametitle-FOOL.png
FOT Fallout Tactics FO Tactics Fallout Tactics Gametitle-FOT.png
FOT2 Fallout Tactics 2 FO Tactics 2 Fallout Tactics 2 Gametitle-FOT2.png
FOW Fallout: Warfare FO: Warfare Fallout: Warfare Gametitle-FOW.png
FOX Fallout Extreme FO Extreme Fallout Extreme Gametitle-FOX.png
FOS Fallout Shelter Fallout Shelter Fallout Shelter Game tile Fallouit Shelter.png
FOWW Fallout: Wasteland Warfare Fallout: WW Fallout: Wasteland Warfare FOWW Logo.png
JES J.E. Sawyer's Fallout RPG JES FO RPG J.E. Sawyer's Fallout RPG Gametitle-JES.png
LH Lionheart Lionheart Lionheart Gametitle-LH.png
none mentioned-only mentioned-only
PA One Man, and a Crate of Puppets Penny Arcade One Man, and a Crate of Puppets Penny Arcade.gif
Real real world real world Icon globe.png
TAR The Armageddon Rag Armageddon Rag The Armageddon Rag Gametitle-TAR.jpg
TORN TORN TORN TORN Gametitle-TORN.png
V13 Project V13 Project V13 Project V13 PV13.png
VB Van Buren Van Buren Van Buren Gametitle-VB.png
Wiki The Vault The Vault The Vault:About the Fallout Wiki Gametitle-Wiki.png


Adding new abbrevations

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

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

Please note:

  • The abbreviation needs to be in all-uppercase.
  • Icon file names should be specified without "File:" prefix.

In addition, please try to maintain alphabetical order of abbreviations within the template.

Examples

Input Result
{{abb|FO3MZ}} Mothership Zeta
{{abb|mode=short|FO3MZ}} Fallout 3: MZ
{{abb|mode=link|FO3MZ}} Mothership Zeta (add-on)
{{abb|mode=icon|FO3MZ}} Gametitle-FO3_MZ.png
Documentation transcluded from Template:Abb/doc.