Difference between revisions of "Template:RunHistory"
Jump to navigation
Jump to search
Tag: visualeditor-wikitext |
Tag: visualeditor-wikitext |
||
Line 14: | Line 14: | ||
{{#ifexpr: {{#ask: [[Category:Runs]][[hasRunner::{{PAGENAME}}]][[hasDate::>{{#time: Y-m-d |now +61 years -6 months}}]]|format=count}} > 0 | [[Category:Active Runners]] }} | {{#ifexpr: {{#ask: [[Category:Runs]][[hasRunner::{{PAGENAME}}]][[hasDate::>{{#time: Y-m-d |now +61 years -6 months}}]]|format=count}} > 0 | [[Category:Active Runners]] }} | ||
<noinclude> | |||
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. | |||
{{RunHistory| | |||
|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. | |||
</noinclude> |
Revision as of 02:31, 13 February 2020
No runs yet. This list will auto-populate when this character is tagged in a run AAR.
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.
No runs yet. This list will auto-populate when this character is tagged in a run AAR.
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.