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
<unnamed 1> or abb
Game abbrevation; see #Abbreviations below for list of valid inputs.
(default: "text")
modeDetermines 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 | ![]() |
MT | Meantime | Meantime | Meantime | ![]() |
none | mentioned-only | mentioned-only | ||
Real | real world | real world | ![]() | |
WL1 | Wasteland | Wasteland | ![]() | |
WL2 | Wasteland 2 | Wasteland 2 | Wasteland 2 | ![]() |
WL3 | Wasteland 3 | Wasteland 3 | Wasteland 3 | ![]() |
Wiki | Wasteland Wiki | Wasteland Wiki | Wasteland Wiki:About | ![]() |
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 |