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:InvSalvage Drop"

From Paragon Wiki Archive
Jump to: navigation, search
m (fixing documentation, subst)
m (cheating to make the sample output correct >.< apparently #if doesn't subst-transclude)
Line 10: Line 10:
 
!Template Call !! Result
 
!Template Call !! Result
 
|-
 
|-
|<nowiki>{{InvSalvage Drop|Common}}</nowiki>||This salvage is {{#ifeq: Common | Common | '''Common''' | }}{{#ifeq: Common | Uncommon | <font color=goldenrod>'''Uncommon'''</font> | }}{{#ifeq: Common | Rare | <font color=orangered>'''Rare'''</font> | }}.[[Category:Common Invention Salvage]]
+
|<nowiki>{{InvSalvage Drop|Common}}</nowiki>||This salvage is '''Common'''.
 
|-
 
|-
|<nowiki>{{InvSalvage Drop|Uncommon}}</nowiki>||This salvage is {{#ifeq: Uncommon | Common | '''Common''' | }}{{#ifeq: Uncommon | Uncommon | <font color=goldenrod>'''Uncommon'''</font> | }}{{#ifeq: Uncommon | Rare | <font color=orangered>'''Rare'''</font> | }}.[[Category:Uncommon Invention Salvage]]
+
|<nowiki>{{InvSalvage Drop|Uncommon}}</nowiki>||This salvage is <font color=goldenrod>'''Uncommon'''</font>.
 
|-
 
|-
|<nowiki>{{InvSalvage Drop|Rare}}</nowiki>||This salvage is {{#ifeq: Rare | Common | '''Common''' | }}{{#ifeq: Rare | Uncommon | <font color=goldenrod>'''Uncommon'''</font> | }}{{#ifeq: Rare | Rare | <font color=orangered>'''Rare'''</font> | }}.[[Category:Rare Invention Salvage]]
+
|<nowiki>{{InvSalvage Drop|Rare}}</nowiki>||This salvage is <font color=orangered>'''Rare'''</font>.
 
|}
 
|}
  
 
Using this template will place the salvage in the appropriate category, and will help facilitate DPL usage.
 
Using this template will place the salvage in the appropriate category, and will help facilitate DPL usage.
 
[[Category:Invention Salvage Templates]]</noinclude>
 
[[Category:Invention Salvage Templates]]</noinclude>

Revision as of 11:52, 11 May 2007

This salvage is .

Usage

Should be used in one of three ways, depending on the salvage's rarity:

Template Call Result
{{InvSalvage Drop|Common}} This salvage is Common.
{{InvSalvage Drop|Uncommon}} This salvage is Uncommon.
{{InvSalvage Drop|Rare}} This salvage is Rare.

Using this template will place the salvage in the appropriate category, and will help facilitate DPL usage.