Template:Store

From Terraria Wiki
Jump to: navigation, search
Template-info.svg Documentation The documentation below is transcluded from Template:Store/doc. (edit | history)

This template will keep all the store info in one area, where it can be easily updated. It is located at the top of the Terraria Wiki page, where all the information is stored (although, it may be best to keep it in this template).

The template assigns values to variables which can in turn be used by the page. The variable names are identical to the parameter names (with a -store suffix). They are purposefully long to insure they do not interfere with other variable names on the page.

The template can also be used to retrieve information by passing the parameter name as an unnamed parameter.

Usage

Storing information

{{store
| steam = https://steampowered.com/app/105600/Terraria/
| gog  = https://gog.com/game/terraria
| playstation = https://store.playstation.com/en-us/grid/search-game/1?query=terraria
| ps3 = https://store.playstation.com/en-us/product/UP4040-NPUB30943_00-TERRARIA00000002
| ps4  = https://store.playstation.com/en-us/product/UP4040-CUSA00740_00-TERRARIA00000001
| psvita = https://store.playstation.com/en-us/product/UP4040-PCSE00317_00-TERRARIA00000001
| xbox = https://xbox.com/en-us/search?q=terraria#Games
| xbox1 = https://microsoft.com/en-us/p/terraria/btnps60n3114?activetab=pivot:overviewtab
| xbox360 = http://marketplace.xbox.com/en-us/product/Terraria-Xbox-360-Edition/66acd000-77fe-1000-9115-d8025841128f
| googleplay = https://play.google.com/store/apps/details?id=com.and.games505.TerrariaPaid
| amazon = https://amazon.com/505-Games-Terraria/dp/B00G6ZTM3Y
| ios  = https://itunes.apple.com/us/app/terraria/id640364616
| windowsphone= https://microsoft.com/en-us/p/terraria/9nblggh186xz?activetab=pivot:overviewtab
| nintendo = https://nintendo.com/search/#category=all&page=1&query=terraria
| switch = https://nintendo.com/games/detail/terraria-switch
| wiiu = https://nintendo.com/games/detail/terraria-wii-u
| 3ds  = https://nintendo.com/games/detail/terraria-3ds
}}

Retrieving information