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 (end braces for rare)
m (fixing nocat parameter)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
 
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
 
| Rare = {{color|orangered|'''Rare'''}}
 
| Rare = {{color|orangered|'''Rare'''}}
| #default = ''please specify rarity''}}}}.<includeonly>[[Category:{{{1}}} Invention Salvage]]</includeonly><noinclude>
+
| #default = ''please specify rarity''}}.{{#if:{{{nocat|}}}||<includeonly>[[Category:{{{1}}} Invention Salvage]]</includeonly>}}<noinclude>
  
 
==Usage==
 
==Usage==
Line 15: Line 15:
 
!Template Call !! Result
 
!Template Call !! Result
 
|-
 
|-
|<nowiki>{{InvSalvage Drop|Common}}</nowiki>||This salvage is {{#switch: Common
+
|<nowiki>{{InvSalvage Drop|Common}}</nowiki>
| Common = '''Common'''
+
|{{InvSalvage Drop|Common|nocat=1}}
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
+
| Rare = {{color|orangered|'''Rare'''}}
+
}}.[[Category:Common Invention Salvage]]
+
 
|-
 
|-
|<nowiki>{{InvSalvage Drop|Uncommon}}</nowiki>||This salvage is {{#switch: Uncommon
+
|<nowiki>{{InvSalvage Drop|Uncommon}}</nowiki>
| Common = '''Common'''
+
|{{InvSalvage Drop|Uncommon|nocat=1}}
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
+
| Rare = {{color|orangered|'''Rare'''}}
+
}}.[[Category:Uncommon Invention Salvage]]
+
 
|-
 
|-
|<nowiki>{{InvSalvage Drop|Rare}}</nowiki>||This salvage is {{#switch: Rare
+
|<nowiki>{{InvSalvage Drop|Rare}}</nowiki>
| Common = '''Common'''
+
|{{InvSalvage Drop|Rare|nocat=1}}
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
+
| Rare = {{color|orangered|'''Rare'''}}
+
}}.[[Category:Rare Invention Salvage]]
+
 
|}
 
|}
  
 
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>

Latest revision as of 12:10, 20 February 2008

This salvage is please specify rarity.

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.