Difference between revisions of "Template:ContactRuns"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Tag: visualeditor-wikitext
Tag: visualeditor-wikitext
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ask: [[Category:Runs]][[hasContact::{{PAGENAME}}]]
{{#ask: [[Category:Runs]][[SignificantNPC::{{PAGENAME}}]]
|mainlabel=-
|mainlabel=-
|format=datatables
|format=datatables
Line 11: Line 11:
|order=descending
|order=descending
}}
}}
[[RunHistory::Yes| ]]
{{#ifeq: 1 | {{#ask: [[Category:Public Contacts]] [[{{PAGENAME}}]]|format=count}} | {{#set:GroupContact=Yes}} | {{#set:GroupContact=No}} }}
 
<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"
|-  
|-  
|
|
==Useage==
==Usage==


  <nowiki>{{ContactRuns}}</nowiki>
  <nowiki>{{ContactRuns}}</nowiki>


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





Latest revision as of 19:26, 10 May 2020

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


Usage

{{ContactRuns}}

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



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

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