Template:ISalvageImage: Difference between revisions
Jump to navigation
Jump to search
imported>Lin Chiao Feng (historical) (Moved documentation out.) |
imported>Sekoia (historical) (Making automatically up-to-date using SMW) |
||
Line 1: | Line 1: | ||
[[ | [[{{#if:{{#ifexist:{{{1}}}|{{#show:{{{1}}}|?Image#-|default=}}}}|{{#show:{{{1}}}|?Image#-|limit=1}}|File:Icon clue generic.png}}|24px|{{{2|}}}]]<noinclude>{{Documentation}}</noinclude> | ||
| | |||
| | |||
|{{{1}}}}}}} |
Revision as of 17:05, 10 August 2012
[edit] [ ] 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}} |
|
{{ISalvageImage|Alchemical Silver|30px}} |
See also
- {{ISalvage}}
- {{ISalvageRaw}}