Difference between revisions of "Template:PregenRunHistory"

From ShadowHaven Reloaded
Jump to navigation Jump to search
(Created page with "{{#ask: Category:Runs[[hasRunner::{{PAGENAME}}]] |mainlabel=- |format=datatables |default=No runs yet. This list will auto-populate when this pregen is tagged in a run AAR. |?=Name |?hasGM=GM |?hasMetaplot=Metaplot |?hasDate=Date of Run |?=Name#Rewards |limit={{{Limit|300}}} |sort=hasDate |order=descending |{{#if:{{{Team|}}}|?hasRunner=Team}} }} {{#ifexpr: {{#ask: Category:Runs[[hasRunner::{{PAGENAME}}]][[hasDate::>{{#time: Y-m-d |now +61 years -6 months}}]]|...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|mainlabel=-
|mainlabel=-
|format=datatables
|format=datatables
|default=No runs yet. This list will auto-populate when this pregen is tagged in a run AAR.
|default=This text appears if [[Template:PregenRunHistory]] is not working properly.
|?=Name
|?=Name
|?hasGM=GM
|?hasGM=GM
|?hasMetaplot=Metaplot
|?hasMetaplot=Metaplot
|?hasDate=Date of Run
|?hasDate=Date of Run
|[[?=Name#Rewards]]
|[[Be Careful Who You Bully in Middle School#Rewards]]
|limit={{{Limit|300}}}
|limit={{{Limit|300}}}
|sort=hasDate
|sort=hasDate

Latest revision as of 02:53, 28 October 2024

This text appears if Template:PregenRunHistory is not working properly.

Useage

{{PregenRunHistory}}

This template is used to automatically generate a list of runs for character wiki pages. It will also automatically add the character to Category:Active Runners if that character has had a run in the previous 6 months. This is important, as other templates such as Template:ContactPlayerConnections checks the Active Runner category for their functionality.



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

{{PregenRunHistory|
 |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.