Template:BadgeAlignedRestriction: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Eabrace (historical)
mNo edit summary
(hr to handle shop keeper)
 
(3 intermediate revisions by 2 users not shown)
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]]
| hr
| hero resistance = [[Requires alignment::Hero (Alignment)|hero]], [[Requires alignment::Vigilante (Alignment)|vigilante]], or [[Requires alignment::Resistance (Alignment)|resistance]]
| 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]]
| hr
| hero resistance = [[Villain (Alignment)|villains]], [[Rogue (Alignment)|rogues]], or [[Loyalist (Alignment)|loyalists]]
| 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 unless 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>

Latest revision as of 18:18, 18 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.