Template:BoostRarity: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
m (addition)
imported>Sekoia
(avoiding case sensitivity issues using "lc" (lowercase) parser function)
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}}|
<includeonly>{{#switch: {{lc:{{{1|}}}}}|
| Common
| common
| common
| C
| c=[[File:Alpha-Cardiac-Common.png|24px|Common]]
| c=[[File:Alpha-Cardiac-Common.png|24px|Common]]
| Uncommon
| uncommon
| uncommon
| U
| u=[[File:Alpha-Cardiac-Uncommon.png|24px|Uncommon]]
| u=[[File:Alpha-Cardiac-Uncommon.png|24px|Uncommon]]
| Rare
| rare
| rare
| R
| r=[[File:Alpha-Cardiac-Rare.png|24px|Rare]]
| r=[[File:Alpha-Cardiac-Rare.png|24px|Rare]]
| Very Rare
| very rare
| very rare
| VeryRare
| veryrare
| veryrare
| VR
| vr=[[File:Alpha-Cardiac-VeryRare.png|24px|Very Rare]]
| vr=[[File:Alpha-Cardiac-VeryRare.png|24px|Very Rare]]
| #default=[[File:Icon clue generic.png|24px|Unknown]]}}</includeonly><noinclude>
| #default=[[File:Icon clue generic.png|24px|Unknown]]}}</includeonly><noinclude>

Revision as of 00:28, 12 November 2010

Usage

For use on Incarnate Boost and Incarnate Slot pages for the rarity of a boost.

One required variable, depending on the rarity of the boost.

  • C, c, Common, common
  • U, u, Uncommon, uncommon
  • R, r, Rare, rare
  • VR, vr, Very Rare, very rare, VeryRare, veryrare
  • If no value is passed (do not use a pipe), it will output for common.
  • If an incorrect value is used, it will output a question mark.

Examples

Input Results
{{BoostRarity}} Common
{{BoostRarity|C}} Common
{{BoostRarity|Uncommon}} Uncommon
{{BoostRarity|rare}} Rare
{{BoostRarity|vr}} Very Rare
{{BoostRarity|Bob Dole}} Unknown