Template:Sandbox/User:Microbrews/ShopLocTableHead
Jump to navigation
Jump to search
Template documentation
This documentation is transcluded from Template:Sandbox/User:Microbrews/ShopLocTableHead/doc. [edit] [history] [purge]
The ShopLocTableHead, ShopLocLine, and ShopLocTableBottom templates should be used together to build tables of shop locations.
{{ShopLocTableHead}} {{ShopLocLine |name = |location = }} {{ShopLocTableBottom}}
Usage
With only required arguments
{{ShopLocTableHead}}
{{ShopLocLine|name=[[Bob's Brilliant Axes]]|location=[[Lumbridge]]}}
{{ShopLocTableBottom}}
Shop | Location | Members | Map |
---|---|---|---|
Bob's Brilliant Axes | Lumbridge | Unknown |
With notes
{{ShopLocTableHead|yes}}
{{ShopLocLine|name=[[Bob's Brilliant Axes]]|location=[[Lumbridge]]|notes=Some notes}}
{{ShopLocLine|name=[[Armour Shop (Jatizso)|Armour Shop]]|location=[[Jatizso]]|notes=}}
{{ShopLocTableBottom}}
Shop | Location | Notes | Members | Map |
---|---|---|---|---|
Bob's Brilliant Axes | Lumbridge | Some notes | Unknown | |
Armour Shop | Jatizso | Unknown |
Arguments
Argument | Optional? | ||||
---|---|---|---|---|---|
Anonymous | If an anonymous argument is provided, the "Notes" column will be added. | ||||
Values | yes
| ||||
Argument | Optional? | ||||
---|---|---|---|---|---|
name | The shop's name. Should be a wikilink. If no Map arguments are provided, this is used to query SMW for the shop's map. |
||||
Values | Any text | ||||
location | The shop's most relevant area (e.g., a town, city, or region). Should be a wikilink. If no Map arguments are provided, this is used to query SMW for the shop's map. |
||||
Values | Any text | ||||
members | Is the shop only accessible by members? | ||||
Values | yes no
|
Default | no
| ||
notes | Notes about the shop. If notes are included with one use of this template, the notes argument must also be included in every other use, though no value needs to be provided to these. | ||||
Values | Any text | ||||
Any Map args | Any number of Map template arguments to define a map feature. | ||||
Values | Varies | ||||
See also
Other templates used for listing locations:
- LocLine - Used for NPC/monster spawn locations
- ObjectLocLine - Used for object/scenery locations
- ItemSpawnLine - Used for item spawn locations