Template:ShopLocLine/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 16:20, 15 October 2024 (Created page with "{{Documentation}} The ShopLocTableHead, ShopLocLine, and ShopLocTableBottom templates should be used together to build tables of shop locations. <pre> {{ShopLocTableHead}} {{ShopLocLine |name = |location = }} {{ShopLocTableBottom}} </pre> ==Usage== '''With only required arguments''' <syntaxhighlight lang="moin" style="font-size> {{ShopLocTableHead}} {{ShopLocLine|name=Bob's Brilli..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:ShopLocLine.
It contains usage information, categories, and other content that is not part of the original template page.
Template:ShopLocLine invokes function main in Module:ShopLocLine using Lua.

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 AxesLumbridge0
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 AxesLumbridgeSome notes0
Unknown
Armour ShopJatizso0
Unknown

Arguments

ShopLocTableHead
Argument Optional?
Anonymous If an anonymous argument is provided, the "Notes" column will be added.
Values yes
ShopLocLine
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: