Difference between revisions of "Template:ContactRuns"
Jump to navigation
Jump to search
(Created page with "{{#ask: Category:Runs[[hasContact::{{PAGENAME}}]] |mainlabel=- |format=datatables |default=No runs yet. This list will auto-populate when this character is tagged in a run...") Tag: visualeditor-wikitext |
Tag: visualeditor-wikitext |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#ask: [[Category:Runs]][[ | {{#ask: [[Category:Runs]][[SignificantNPC::{{PAGENAME}}]] | ||
|mainlabel=- | |mainlabel=- | ||
|format=datatables | |format=datatables | ||
| Line 11: | Line 11: | ||
|order=descending | |order=descending | ||
}} | }} | ||
[[ | {{#ifeq: 1 | {{#ask: [[Category:Public Contacts]] [[{{PAGENAME}}]]|format=count}} | {{#set:GroupContact=Yes}} | {{#set:GroupContact=No}} }} | ||
<noinclude> | <noinclude> | ||
{| cellpadding=5 cellspacing=0 style="border: | {| 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" | ||
|- | |- | ||
| | | | ||
== | ==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> | ||
| Line 35: | Line 34: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Contact | [[Category:Contact Templates]] | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
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
{{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. |