Difference between revisions of "Template:LocationRuns"

From ShadowHaven Reloaded
Jump to navigation Jump to search
(Created page with "{{#ask: Category:Runs[[Location::{{PAGENAME}}]] |mainlabel=- |format=datatables |default=No runs yet. This list will auto-populate when this location is tagged in a run AA...")
Tag: visualeditor-wikitext
 
Tag: visualeditor-wikitext
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ask: [[Category:Runs]][[Location::{{PAGENAME}}]]
{{#ask: [[Category:Runs]][[FeaturedLocation::{{PAGENAME}}]]
|mainlabel=-
|mainlabel=-
|format=datatables
|format=datatables
Line 12: Line 12:
}}
}}
<noinclude>
<noinclude>
{| cellpadding=5 cellspacing=0 style="border: black 2px solid; width: 100%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #DDD"
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 100%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
|-  
|-  
|
|
Line 19: Line 19:
  <nowiki>{{LocationRuns}}</nowiki>
  <nowiki>{{LocationRuns}}</nowiki>


This template is used to automatically generate a list of runs for location wiki pages. Its main purpose is to make it easier to track the story of a given location by displaying narrative significant runs on the wiki page. Locations must be tagged on the AAR using <code><nowiki>[[Location::Location Name]]</nowiki></code>
This template is used to automatically generate a list of runs for location wiki pages. Its main purpose is to make it easier to track the story of a given location by displaying narrative significant runs on the wiki page. Locations must be tagged on the AAR using <code><nowiki>[[FeaturedLocation::Location Name]]</nowiki></code>





Latest revision as of 22:16, 18 April 2020

No runs yet. This list will auto-populate when this location is tagged in a run AAR.

Usage

{{LocationRuns}}

This template is used to automatically generate a list of runs for location wiki pages. Its main purpose is to make it easier to track the story of a given location by displaying narrative significant runs on the wiki page. Locations must be tagged on the AAR using [[FeaturedLocation::Location Name]]



By default, the template will set a limit of 300 results, but you can designate a different limit as well.

{{LocationRuns|
 |limit=5
 }}

This will force the template to give only the 5 most recent runs. This can be useful if you wish only to show the most recent runs.