Template:BadgeAlignedRestriction: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Eabrace (historical)
mNo edit summary
(whitespace for readability, added SMW Requires alignment property)
Line 1: Line 1:
<includeonly>This badge is only awarded to characters of the {{#switch: {{lc:{{{1}}}}}
<includeonly><p>
This badge is only awarded to characters of the
 
{{#switch: {{lc:{{{1}}}}}
| h
| h
| hero = [[Hero (Alignment)|hero]] or [[Vigilante (Alignment)|vigilante]]
| hero = [[Requires alignment::Hero (Alignment)|hero]] or [[Requires alignment::Vigilante (Alignment)|vigilante]]
| v
| v
| villain = [[Villain (Alignment)|villain]] or [[Rogue (Alignment)|rogue]]
| villain = [[Requires alignment::Villain (Alignment)|villain]] or [[Requires alignment::Rogue (Alignment)|rogue]]
| #default = {{red|unknown}}}} alignments.  Although credit for this badge may be earned by {{#switch: {{lc:{{{1}}}}}
| #default = {{red|unknown}}
}}
 
alignments.  Although credit for this badge may be earned by
 
{{#switch: {{lc:{{{1}}}}}
| h
| h
| hero = [[Villain (Alignment)|villains]] or [[Rogue (Alignment)|rogues]]
| hero = [[Villain (Alignment)|villains]] or [[Rogue (Alignment)|rogues]]
| v
| v
| villain = [[Hero (Alignment)|heroes]] or [[Vigilante (Alignment)|vigilantes]]
| villain = [[Hero (Alignment)|heroes]] or [[Vigilante (Alignment)|vigilantes]]
| #default = {{red|unknown}}}}, the badge will not be awarded to a character until they change alignment.</includeonly><noinclude>
| #default = {{red|unknown}}
}}
 
, the badge will not be awarded to a character until they change alignment.
</p></includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 23:10, 15 May 2022

[edit] [purge] Documentation

Usage

Requires one parameter.

  • badge alignment - This the alignment group that is capable of being awarded the badge.
    • h or hero - indicates heroes and vigilantes
    • v or villain - indicates villains and rogues

Examples

{{BadgeAlignedRestriction|h}}

This badge is only awarded to characters of the hero or vigilante alignments. Although credit for this badge may be earned by villains or rogues , the badge will not be awarded to a character until they change alignment.

{{BadgeAlignedRestriction|v}}

This badge is only awarded to characters of the villain or rogue alignments. Although credit for this badge may be earned by heroes or vigilantes , the badge will not be awarded to a character until they change alignment.