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:BoostRarity"

From Paragon Wiki Archive
Jump to: navigation, search
m
m (testing)
Line 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}|
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}|
 
| common
 
| common
| c=[[File:Alpha-Cardiac-Common.png|24px|Common]]
+
| c=[[File:Incarnate Alpha {{{2}}} Common.png|24px|Common]]
 
| uncommon
 
| uncommon
| u=[[File:Alpha-Cardiac-Uncommon.png|24px|Uncommon]]
+
| u=[[File:Incarnate Alpha {{{2}}} Uncommon.png|24px|Uncommon]]
 
| rare
 
| rare
| r=[[File:Alpha-Cardiac-Rare.png|24px|Rare]]
+
| r=[[File:Incarnate Alpha {{{2}}} Rare.png|24px|Rare]]
 
| very rare
 
| very rare
 
| veryrare
 
| veryrare
| vr=[[File:Alpha-Cardiac-VeryRare.png|24px|Very Rare]]
+
| vr=[[File:Incarnate Alpha {{{2}}} 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>
 
== Usage ==
 
== Usage ==
 
For use on Incarnate Boost and Incarnate Slot pages for the rarity of a boost.
 
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.
+
Two required variables, depending on the rarity and type of the boost.
 +
 
 +
First variable should be rarity:
 
*C, c, Common, common
 
*C, c, Common, common
 
*U, u, Uncommon, uncommon
 
*U, u, Uncommon, uncommon
 
*R, r, Rare, rare
 
*R, r, Rare, rare
 
*VR, vr, Very Rare, very rare, VeryRare, veryrare
 
*VR, vr, Very Rare, very rare, VeryRare, veryrare
 +
:followed by type:
 +
*Cardiac
 +
*Musculature
 +
*Nerve
 +
*Spiritual
  
  
*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.
 
*If an incorrect value is used, it will output a question mark.
  
Line 28: Line 34:
 
! width="50%" | Input !! width="50%" | Results
 
! width="50%" | Input !! width="50%" | Results
 
|-
 
|-
| <nowiki>{{BoostRarity}}</nowiki> || {{BoostRarity}}
+
| <nowiki>{{BoostRarity|C|Cardiac}}</nowiki> || {{BoostRarity|C|Cardiac}}
|-
+
| <nowiki>{{BoostRarity|C}}</nowiki> || {{BoostRarity|C}}
+
 
|-
 
|-
| <nowiki>{{BoostRarity|Uncommon}}</nowiki> || {{BoostRarity|Uncommon}}
+
| <nowiki>{{BoostRarity|Uncommon|Musculature}}</nowiki> || {{BoostRarity|Uncommon|Musculature}}
 
|-
 
|-
| <nowiki>{{BoostRarity|rare}}</nowiki> || {{BoostRarity|rare}}
+
| <nowiki>{{BoostRarity|rare|Nerve}}</nowiki> || {{BoostRarity|rare|Nerve}}
 
|-
 
|-
| <nowiki>{{BoostRarity|vr}}</nowiki> || {{BoostRarity|vr}}
+
| <nowiki>{{BoostRarity|vr|Spiritual}}</nowiki> || {{BoostRarity|vr|Spiritual}}
 
|-
 
|-
 
| <nowiki>{{BoostRarity|Bob Dole}}</nowiki> || {{BoostRarity|Bob Dole}}
 
| <nowiki>{{BoostRarity|Bob Dole}}</nowiki> || {{BoostRarity|Bob Dole}}

Revision as of 06:21, 13 November 2010

Usage

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

Two required variables, depending on the rarity and type of the boost.

First variable should be rarity:

  • C, c, Common, common
  • U, u, Uncommon, uncommon
  • R, r, Rare, rare
  • VR, vr, Very Rare, very rare, VeryRare, veryrare
followed by type:
  • Cardiac
  • Musculature
  • Nerve
  • Spiritual


  • If an incorrect value is used, it will output a question mark.

Examples

Input Results
{{BoostRarity|C|Cardiac}} Unknown
{{BoostRarity|Uncommon|Musculature}} Unknown
{{BoostRarity|rare|Nerve}} Unknown
{{BoostRarity|vr|Spiritual}} Unknown
{{BoostRarity|Bob Dole}} Unknown