Template:BadgeAlignedTourist: Difference between revisions
Jump to navigation
Jump to search
imported>Konoko (working on it... saving progress so far) |
imported>Konoko (need to lookup if/then syntax) |
||
Line 1: | Line 1: | ||
The '''{{BadgeLink|{{{2|{{red|invalid}}}}}}}''' badge is awarded to {{#switch: {{lc:{{{1}}}}} | |||
| hero = [[Hero (Alignment)|heroes]] and [[Vigilante (Alignment)|vigilantes]] {{orange|if {{{tourist|y}}} then "and [[Rogue (Alignment)|rogues]]" else "only. [[Rogue (Alignment)|Rogues]] can complete the requirements while a, but will not be awarded until have completely switched to hero." | | hero = [[Hero (Alignment)|heroes]] and [[Vigilante (Alignment)|vigilantes]] {{orange|if {{{tourist|y}}} then}} "and [[Rogue (Alignment)|rogues]]" {{orange|else}} "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]] {{orange|if {{{tourist|y}}} then "and | | villain = [[Villain (Alignment)|villains]] and [[Rogue (Alignment)|rogues]] {{orange|if {{{tourist|y}}} then}} "and [[Vigilante (Alignment)|vigilantes]]." {{orange|else }} "[[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}}}} | | #default = {{red|unknown}}}}<noinclude> | ||
;DO NOT CREATE DOCUMENTATION UNTIL NAME OF TEMPLATE IS FINALIZED | ;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 or tourist. | :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]] | : See [[User:GuyPerfect/Alignment Exclusive Badges]] | ||
Line 16: | Line 16: | ||
! Input !! Result | ! Input !! Result | ||
|- | |- | ||
|| <nowiki>{{</nowiki>BadgeAlignedTourist<br />|'''hero'''<br />|Archmage<br />|'''tourist= | || <nowiki>{{</nowiki>BadgeAlignedTourist<br />|'''hero'''<br />|Archmage<br />|'''tourist=n'''}} | ||
|| ''On the Archmage page: indicating Archmage can be awarded to Vigilantes'' | || ''On the Archmage page: indicating Archmage can be awarded to Vigilantes'' | ||
Line 22: | Line 22: | ||
|hero | |hero | ||
|Archmage | |Archmage | ||
|tourist=n}} | |||
|- | |||
|| <nowiki>{{</nowiki>BadgeAlignedTourist<br />|'''hero'''<br />|Dark Mystic<br />|'''tourist=n'''}} | |||
|| ''On the Archmage page: indicating Archmage can be awarded to Vigilantes'' | |||
{{BadgeAlignedTourist | |||
|villain | |||
|Dark Mystic | |||
|tourist=y}} | |tourist=y}} | ||
|} | |} | ||
[[Category:Alignment Templates]] | [[Category:Alignment Templates]] | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 15:31, 25 August 2010
The [[invalid Badge |invalid]] badge is awarded to unknown
- 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 a third optional:
- hero or villain = originating alignment
- Badge exclusive to that alignment
- tourist=y or tourist=n or if left off will default to tourist=n
Input | Result |
---|---|
{{BadgeAlignedTourist |hero |Archmage |tourist=n}} |
On the Archmage page: indicating Archmage can be awarded to Vigilantes
The [[Archmage Badge |Archmage ]] badge is awarded to heroes and vigilantes if n then "and rogues" else "only. Rogues can complete the requirements while teamed with a hero or vigilante, but will not be awarded until have completely switched to hero." |
{{BadgeAlignedTourist |hero |Dark Mystic |tourist=n}} |
On the Archmage page: indicating Archmage can be awarded to Vigilantes
The [[Dark Mystic Badge |Dark Mystic ]] badge is awarded to villains and rogues if y then "and vigilantes." else "Vigilantes can complete the requirements while teamed with a villain or rogue, but will not be awarded until have completely switched to villain." |
[create] [ ] Documentation