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
(another fix...)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:Salvage_{{#switch:{{{1}}}
+
[[{{#if:{{#ifexist:{{{1}}} Salvage|{{SMWStrip|{{#ask: [[{{{1}}} Salvage]]|?Image#-|limit=1|default=|format=template|template=SMWEcho}}}}}}|{{SMWStrip|{{#ask: [[{{{1}}} Salvage]]|?Image#-|limit=1|format=template|template=SMWEcho}}}}|File:Icon clue generic.png}}|24px|{{{2|}}}]]<noinclude>{{Documentation}}</noinclude>
|Alchemical Silver=AlchemicalSilver
+
|Alchemical Gold=AlchemicalGold
+
|Alien Blood Sample=KheldianBloodSample
+
|Ancient Artifact=FaLakAmulet
+
|Ancient Bone=BoneFragment
+
|Black Blood of the Earth=RYlehSRain
+
|Bleeding Stone=BleedingStone
+
|Blood of the Incarnate=BloodSample
+
|Carnival of Shadows Mask=CarnivalofShadowsMask
+
|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>
+
 
+
Given the name of an invention salvage, returns an icon for the salvage.  The second parameter is passed to the <nowiki>[[Image:...|]]</nowiki> as an additional parameter.
+
 
+
==Examples==
+
{|class="wikitable"
+
| <pre>{{ISalvageImage|Boresight}}</pre> || {{ISalvageImage|Boresight}}
+
|-
+
| <pre>{{ISalvageImage|Alchemical Silver|30px}}</pre> || {{ISalvageImage|Alchemical Silver|30px}}
+
|}
+
</noinclude>
+

Latest revision as of 20:42, 4 January 2015

Icon clue generic.png
[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}}
Salvage Boresight.png
{{ISalvageImage|Alchemical Silver|30px}}
Salvage AlchemicalSilver.png

See also