Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:BadgeAlignedTourist"

From Paragon Wiki Archive
Jump to: navigation, search
(if then attempt 1)
(needs more input)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>The '''{{BadgeLink|{{{2}}}}}''' badge is awarded to {{#switch: {{lc:{{{1}}}}}
 
<includeonly>The '''{{BadgeLink|{{{2}}}}}''' badge is awarded to {{#switch: {{lc:{{{1}}}}}
| hero = [[Hero (Alignment)|heroes]] and [[Vigilante (Alignment)|vigilantes]] {{#if: {{{tourist|n}}}=y | <esc>and [[Rogue (Alignment)|rogues]]</esc> | <esc> only. [[Rogue (Alignment)|Rogues]] can complete the requirements while teamed with a hero or vigilante, but will not be awarded until have completely switched to hero.</esc>}}
+
| hero = [[Hero (Alignment)|heroes]] and [[Vigilante (Alignment)|vigilantes]] {{#if: {{{tourist|n}}}==y | and [[Rogue (Alignment)|rogues]] | only. [[Rogue (Alignment)|Rogues]] can complete the requirements while teamed with a hero or vigilante, but will not be awarded until have completely switched to hero.}}
| villain = [[Villain (Alignment)|villains]] and  [[Rogue (Alignment)|rogues]] {{#if: {{{tourist|n}}}=y | and [[Vigilante (Alignment)|vigilantes]]. | <esc>only. [[Vigilante (Alignment)|Vigilantes]] can complete the requirements while teamed with a villain or rogue, but will not be awarded until have completely switched to villain.</esc>}}
+
| villain = [[Villain (Alignment)|villains]] and  [[Rogue (Alignment)|rogues]] {{#ifeq: {{{tourist|n}}} | y | and [[Vigilante (Alignment)|vigilantes]]. | only. [[Vigilante (Alignment)|Vigilantes]] can complete the requirements while teamed with a villain or rogue, but will not be awarded until have completely switched to villain.}}
 
| #default = {{red|unknown}}}}</includeonly><noinclude>
 
| #default = {{red|unknown}}}}</includeonly><noinclude>
 
;DO NOT CREATE DOCUMENTATION UNTIL NAME OF TEMPLATE IS FINALIZED
 
;DO NOT CREATE DOCUMENTATION UNTIL NAME OF TEMPLATE IS FINALIZED
Line 7: Line 7:
 
: See [[User:GuyPerfect/Alignment Exclusive Badges]]
 
: See [[User:GuyPerfect/Alignment Exclusive Badges]]
  
This template requires two variables with a third optional:
+
This template requires two variables with three more optional:
  
 
# hero or villain = originating alignment
 
# hero or villain = originating alignment
 
# Badge exclusive to that alignment
 
# Badge exclusive to that alignment
# tourist=y or tourist=n or if left off will default to tourist=n
+
# tourist=y or tourist=n (default n) - Whether tourists can obtain the badge
 +
# team=y or team=n (default n) - Whether a tourist can obtain the badge without a teammate  or if left off will default to tourist=n
 +
# disable=y or disable=n (default n) - Whether the badge will disable itself when switching sides {{red|Should I implement this one?}}
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 19: Line 21:
 
|| ''On the Archmage page: indicating Archmage can be awarded to Vigilantes''
 
|| ''On the Archmage page: indicating Archmage can be awarded to Vigilantes''
  
{{BadgeAlignedTourist|hero|Archmage|tourist=n}}
+
{{BadgeAlignedTourist|hero|Archmage}}
 
|-  
 
|-  
|| <nowiki>{{</nowiki>BadgeAlignedTourist<br />|'''hero'''<br />|Dark Mystic<br />|'''tourist=n'''}}
+
|| <nowiki>{{</nowiki>BadgeAlignedTourist<br />|'''hero'''<br />|Dark Mystic<br />|'''tourist=y'''}}
 
|| ''On the Archmage page: indicating Archmage can be awarded to Vigilantes''
 
|| ''On the Archmage page: indicating Archmage can be awarded to Vigilantes''
  

Latest revision as of 16:02, 25 August 2010

DO NOT CREATE DOCUMENTATION UNTIL NAME OF TEMPLATE IS FINALIZED
The intent is to create a template that is easy to remember when dealing with badges that can only be obtained by a particular alignment and/or tourist.
See User:GuyPerfect/Alignment Exclusive Badges

This template requires two variables with three more optional:

  1. hero or villain = originating alignment
  2. Badge exclusive to that alignment
  3. tourist=y or tourist=n (default n) - Whether tourists can obtain the badge
  4. team=y or team=n (default n) - Whether a tourist can obtain the badge without a teammate or if left off will default to tourist=n
  5. disable=y or disable=n (default n) - Whether the badge will disable itself when switching sides Should I implement this one?
Input Result
{{BadgeAlignedTourist
|hero
|Archmage
|tourist=n}}
On the Archmage page: indicating Archmage can be awarded to Vigilantes

The Archmage badge is awarded to heroes and vigilantes and rogues

{{BadgeAlignedTourist
|hero
|Dark Mystic
|tourist=y}}
On the Archmage page: indicating Archmage can be awarded to Vigilantes

The Dark Mystic badge is awarded to villains and rogues and vigilantes.

[create] [purge] Documentation