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

From Paragon Wiki Archive
Jump to: navigation, search
(reverting SMW usage)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Image:Salvage_{{#switch:{{{1}}}|Alchemical Silver=AlchemicalSilver|{{{1}}}}}.png|{{{2}}}]]<noinclude>
+
[[Image:{{#ifeq:{{{1}}}|?|Icon clue generic|Salvage_{{#switch:{{{1}}}
 
+
|Alchemical Silver=AlchemicalSilver
Given the name of a salvage, returns an icon for the salvage.  The second parameter is passed to the <nowiki>[[Image:...|]]</nowiki> as an additional parameter.
+
|Alchemical Gold=AlchemicalGold
 
+
|Alien Blood Sample=KheldianBloodSample
==Examples==
+
|Ancient Artifact=FaLakAmulet
{|class="wikitable"
+
|Ancient Bone=BoneFragment
| <pre>{{ISalvageImage|Boresight}}</pre> || {{ISalvageImage|Boresight}}
+
|Black Blood of the Earth=RYlehSRain
|-
+
|Bleeding Stone=BleedingStone
| <pre>{{ISalvageImage|Alchemical Silver|30px}}</pre> || {{ISalvageImage|Alchemical Silver|30px}}
+
|Blood of the Incarnate=BloodSample
|}
+
|Carnival of Shadows Mask=CarnivalofShadowsMask
</noinclude>
+
|Ceramic Armor Plate=CeramicArmorPlate
 +
|Chaos Theorem=Treatise
 +
|Chemical Formula=Treatise
 +
|Chronal Skip=TechHardwareold
 +
|Circuit Board=CircuitBoard
 +
|Clockwork Gear=ClockworkGear
 +
|Clockwork Winder=ClockworkWinder
 +
|Commercial Cybernetic=SyntheticOrgans
 +
|Complex Chemical Formula=Notes
 +
|Computer Virus=MercuryCircuits
 +
|Conspiratorial Evidence=MilitaryIntelligence
 +
|Corrosive Gas=CorrosiveGas
 +
|Daemon Program=DataFiles
 +
|Data Drive=SkyRaiderDevice
 +
|Deific Weapon=EnchantedWeapon
 +
|Demonic Blood Sample=KheldianBloodSample
 +
|Demonic Threat Report=MilitaryIntelligence
 +
|Destiny=Scrolls
 +
|Empowered Sigil=ArcaneGlyph
 +
|Enchanted Impervium=EnchantedImpervium
 +
|Energy Weapon=BlasterTech
 +
|Enriched Plutonium=EnrichedPlutonium
 +
|Ensorcelled Weapon=EnchantedWeapon
 +
|Essence of the Furies=PhantomTears
 +
|Fortune=Scrolls
 +
|Hamidon Goo=ShivanEctoplasm
 +
|Heads Up Display=HeadsUpDisplay
 +
|Heavy Water=HeavyWater
 +
|Holographic Memory=CortexDevice
 +
|Human Blood Sample=BloodSample
 +
|Hydraulic Piston=HydraulicPiston
 +
|Improvised Cybernetic=SyntheticOrgans
 +
|Inanimate Carbon Rod=InanimateCarbonRod
 +
|Inert Gas=InertGas
 +
|Kinetic Weapon=SkyRaiderWeapon
 +
|Lament Box=MagicalArtifact
 +
|Living Tattoo=Tatoo
 +
|Luck Charm=Ring
 +
|Magical Conspiracy=MilitaryIntelligence
 +
|Masterwork Weapon=ThornFragmentold
 +
|Mathematic Proof=Notes
 +
|Military Cybernetic=SyntheticOrgans
 +
|Mu Vestment=Cloak
 +
|Mutant Blood Sample=BloodSample
 +
|Mutant DNA Strand=DnaMutation
 +
|Mutating Genome=MutatedSample
 +
|Nevermelting Ice=IceShard
 +
|Page from the Malleus Mundi=ParagonPoliceFiles
 +
|Pangean Soil=ArcanePowder
 +
|Photonic Weapon=RiktiPlasmaRifle
 +
|Plasma Capacitor=PlasmaCapacitor
 +
|Pneumatic Piston=PneumaticPiston
 +
|Polycarbon=Titanium
 +
|Positronic Matrix=StableProtonium
 +
|Prophecy=Scrolls
 +
|Psionic Ectoplasm=Ectoplasm
 +
|Psionic Manifestation=Saber
 +
|Psionic Threat Report=MilitaryIntelligence
 +
|Psionicly Charged Brass=PsionizedMetal
 +
|Psionically Charged Brass=PsionizedMetal
 +
|Reactive Gas=ReactiveGas
 +
|Regenerating Flesh=Tissuesample
 +
|Rikti Alloy=RiktiAlloy
 +
|Rune=MagicalWard
 +
|Runebound Armor=RuneboundArmor
 +
|Scientific Law=Notes
 +
|Scientific Theory=Notes
 +
|Scope=BlackMarketSuperGear
 +
|Simple Chemical=PrototypeElement
 +
|Soul Trapped Gem=SoulTrappedGem
 +
|Soulbound Armor=SoulboundArmor
 +
|Source Code=InnovativeCode
 +
|Spell Ink=TsooInk
 +
|Spell Scroll=Scrolls
 +
|Spirit Thorn=HellishTooth
 +
|Spiritual Essence=SpiritualEssence
 +
|Stabilized Mutant Genome=DevouringCulture
 +
|Strand of Fate=StrandofFate
 +
|Symbiotic Armor=SymbioticArmor
 +
|Symbol=MagicalWard
 +
|Synthetic Intelligence Unit=Nanites
 +
|Temporal Analyzer=TemporalAnalyzer
 +
|Temporal Sands=ArcanePowder
 +
|Temporal Tracer=AbberantTech
 +
|Thorn Tree Vine=ThornTreeVine
 +
|Titanium Shard=TitaniumShard
 +
|Unearthed Relic=CrystalSkull
 +
|Unquenchable Flame=UnquenchableFlame
 +
|Volume of the Obsidian Librum=Demonlogica
 +
|{{{1}}}}}}}.png|{{{2}}}]]<noinclude>{{Documentation}}</noinclude>

Latest revision as of 23:11, 29 March 2026

[[Image:Salvage_{{{1}}}.png|{{{2}}}]]
[edit] [purge] Documentation

Given the name of an invention salvage, returns an icon for the salvage. The second parameter is passed to the [[Image:...|]] as an additional parameter.

Usage

{{ISalvageImage|salvage name|optional parameters}}

where:

salvage name
This is the name of the salvage, as spelled out in the game. Sorry, there are no abbreviations.
optional parameters
Optional parameters passed to the MediaWiki [[Image:...|]] tag. See its documentation for details.

Examples

{{ISalvageImage|Boresight}}
{{{2}}}
{{ISalvageImage|Alchemical Silver|30px}}
Salvage AlchemicalSilver.png

See also