Difference between revisions of "Template:AARCharacterList"

From ShadowHaven Reloaded
Jump to navigation Jump to search
(Created page with "{{#if: {{{1|}}} |{{#ifeq: 1 | {{#ask: Category:Player Characters [[{{{1}}}]]|format=count}} | [[hasRunner::{{{1}}} | [[SignificantNPC::{{{1}}}]]}} }} {{#if: {{{2|}}} |{{#i...")
Tag: visualeditor-wikitext
 
Tag: visualeditor-wikitext
Line 1: Line 1:
{{#if: {{{1|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{1}}}]]|format=count}} | [[hasRunner::{{{1}}} | [[SignificantNPC::{{{1}}}]]}} }}
<includeonly>{{#if: {{{1|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{1}}}]]|format=count}} | [[hasRunner::{{{1}}} | [[SignificantNPC::{{{1}}}]]}} }}
{{#if: {{{2|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{2}}}]]|format=count}} |<BR>[[hasRunner::{{{2}}} |<BR>[[SignificantNPC::{{{2}}}]]}} }}
{{#if: {{{2|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{2}}}]]|format=count}} |<BR>[[hasRunner::{{{2}}} |<BR>[[SignificantNPC::{{{2}}}]]}} }}
{{#if: {{{3|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{3}}}]]|format=count}} |<BR>[[hasRunner::{{{3}}} |<BR>[[SignificantNPC::{{{3}}}]]}} }}
{{#if: {{{3|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{3}}}]]|format=count}} |<BR>[[hasRunner::{{{3}}} |<BR>[[SignificantNPC::{{{3}}}]]}} }}
Line 19: Line 19:
{{#if: {{{19|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{19}}}]]|format=count}} |<BR>[[hasRunner::{{{19}}} |<BR>[[SignificantNPC::{{{19}}}]]}} }}
{{#if: {{{19|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{19}}}]]|format=count}} |<BR>[[hasRunner::{{{19}}} |<BR>[[SignificantNPC::{{{19}}}]]}} }}
{{#if: {{{20|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{20}}}]]|format=count}} |<BR>[[hasRunner::{{{20}}} |<BR>[[SignificantNPC::{{{20}}}]]}} }}
{{#if: {{{20|}}} |{{#ifeq: 1 | {{#ask: [[Category:Player Characters]] [[{{{20}}}]]|format=count}} |<BR>[[hasRunner::{{{20}}} |<BR>[[SignificantNPC::{{{20}}}]]}} }}
{{#if: {{{21|}}} |<BIG>ERROR: OVERFLOW IN [[Template:RunnerList]]. Please inform the wiki department. }}
{{#if: {{{21|}}} |<BIG>ERROR: OVERFLOW IN [[Template:RunnerList]]. Please inform the wiki department. }}</includeonly><noinclude>
<noinclude>
{| 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"
{| 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 29: Line 28:
Checks to see if the page linked is included in [[:Category:Player Characters]], if so, it tags them using semanticwiki markup as an involved runner. Otherwise, assumes them to be a SignificantNPC just in case someone adds a non-runner to the list. This template can accept up to 20 entries. If anyone somehow for whatever reason needs more... First of all what the hell? And second of all... Just... Just ping the wiki department for help and we'll expand the template to accommodate more.
Checks to see if the page linked is included in [[:Category:Player Characters]], if so, it tags them using semanticwiki markup as an involved runner. Otherwise, assumes them to be a SignificantNPC just in case someone adds a non-runner to the list. This template can accept up to 20 entries. If anyone somehow for whatever reason needs more... First of all what the hell? And second of all... Just... Just ping the wiki department for help and we'll expand the template to accommodate more.


 
<pre>
{{Runnerlist
|Runner1
|Runner2
|Runner3
}}





Revision as of 03:37, 3 June 2020

Usage

Intended to be used inside of Template:AARInfobox.

Checks to see if the page linked is included in Category:Player Characters, if so, it tags them using semanticwiki markup as an involved runner. Otherwise, assumes them to be a SignificantNPC just in case someone adds a non-runner to the list. This template can accept up to 20 entries. If anyone somehow for whatever reason needs more... First of all what the hell? And second of all... Just... Just ping the wiki department for help and we'll expand the template to accommodate more.

Template:Runnerlist