Template:List Locations/doc
From Salem Wiki
< Template:List Locations
Revision as of 18:22, 25 July 2012 by ©TriMoon™ (talk | contribs) (Protected "Template:List Locations/doc": Documentation of key-feature ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
Description
- This template is used to automatically list the values of Property:Locations using an SMW-Query that makes use of 'reverse-property' values.
- It uses {{List Locations/query template}} for output formating.
- This template is used by {{Infobox}}.
- See these pages for more SMW-documentation:
Syntax
- Type the below code somewhere on a page:
{{List Locations |page= }}
- It can accept one parameter, page, to select the page to fetch values of Property:Locations from.
- This parameter defaults to the test-data page.
Examples
- {{List Locations}} gives:
- {{List Locations|page=Help:Infobox/testdata}} gives: