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 (Switch instead of If... maybe...)
(Woo Hoo! Switch worked!)
Line 2: Line 2:
 
| Common = '''Common'''
 
| Common = '''Common'''
 
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
 
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
| Rare = {{color|orangered|'''Rare'''</font>}}
+
| Rare = {{color|orangered|'''Rare'''}}
 
}}.<includeonly>[[Category:{{{1}}} Invention Salvage]]</includeonly><noinclude>
 
}}.<includeonly>[[Category:{{{1}}} Invention Salvage]]</includeonly><noinclude>
  
Line 10: Line 10:
  
 
<!-- This table has to be manually updated for display results to avoid the inclusion of the salvage cats. -->
 
<!-- This table has to be manually updated for display results to avoid the inclusion of the salvage cats. -->
 +
 +
{|class="wikitable"
 +
|-
 +
!Template Call !! Result
 +
|-
 +
|<nowiki>{{InvSalvage Drop|Common}}</nowiki>||This salvage is {{#switch: Common
 +
| Common = '''Common'''
 +
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
 +
| Rare = {{color|orangered|'''Rare'''</font>}}
 +
}}.[[Category:Common Invention Salvage]]
 +
|-
 +
|<nowiki>{{InvSalvage Drop|Uncommon}}</nowiki>||This salvage is {{#switch: Uncommon
 +
| Common = '''Common'''
 +
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
 +
| Rare = {{color|orangered|'''Rare'''</font>}}
 +
}}.[[Category:Uncommon Invention Salvage]]
 +
|-
 +
|<nowiki>{{InvSalvage Drop|Rare}}</nowiki>||This salvage is {{#switch: Rare
 +
| Common = '''Common'''
 +
| Uncommon = {{color|goldenrod|'''Uncommon'''}}
 +
| Rare = {{color|orangered|'''Rare'''</font>}}
 +
}}.[[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>

Revision as of 12:55, 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</font>.

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