From GamingWiki
Jump to: navigation, search
(Created page with "Use this template to print a table of locations in Steel Town: <code><nowiki>{{Steel Town/Locations}}</nowiki></code> You can also specify the number of results to return. If ...")
 
Line 17: Line 17:
 
| format      =table
 
| format      =table
 
| template    =SMW Locations Table
 
| template    =SMW Locations Table
{{#if:{{{limit| {{#var: defaultlimit}} }}}|
+
{{#if:{{{limit|}}}|
   {{!}} limit ={{{limit|{{#var:defaultlimit}}}}}
+
   {{!}} limit ={{{limit}}}
 
   {{!}} order =random
 
   {{!}} order =random
 
}}
 
}}

Revision as of 22:25, 21 September 2011

Use this template to print a table of locations in Steel Town:

{{Steel Town/Locations}}

You can also specify the number of results to return. If you do, a random set of locations will be chosen.

{{Steel Town/Locations | limit=7}}

For example:

{{#ask: campaign::Steel Town is a::location |? idea |? has aspect=Aspect |? face | default =No locations listed | format =table | template =SMW Locations Table

}}