Wasteland Wiki
Advertisement
Icon template doc.svg
This page contains usage information for Template:Abb.

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

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
FOD Fountain of Dreams Fountain of Dreams Fountain of Dreams Titleicon-FOD.png
MT Meantime Meantime Meantime Titleicon-MT.png
none mentioned-only mentioned-only
Real real world real world Icon globe.png
WL1 Wasteland Wasteland Titleicon-WL1.png
WL2 Wasteland 2 Wasteland 2 Wasteland 2 Titleicon-WL2.png
WL3 Wasteland 3 Wasteland 3 Wasteland 3 Titleicon-WL3.png
Wiki Wasteland Wiki Wasteland Wiki Wasteland Wiki:About 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|FOD}} Fountain of Dreams
{{abb|mode=short|FOD}} Fountain of Dreams
{{abb|mode=link|FOD}} Fountain of Dreams
{{abb|mode=icon|FOD}} Titleicon-FOD.png
Advertisement