Template:ISalvageRaw/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Lin Chiao Feng (Derived from Template:ISalvage/doc.) |
imported>Lin Chiao Feng m (Removed bad comment tag) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | |||
{{Documentation subpage}} | {{Documentation subpage}} | ||
This template generates an invention salvage item, with a picture of the salvage and its name, which is a link to that salvage's page. It does not support other types of salvage, including base salvage. | This template generates an invention salvage item, with a picture of the salvage and its name, which is a link to that salvage's page. It does not support other types of salvage, including base salvage. | ||
==Usage== | ==Usage== | ||
:'''<nowiki>{{</nowiki>ISalvageRaw|'''''salvage name'''''}}''' | :'''<nowiki>{{</nowiki>ISalvageRaw|'''''salvage name'''''|'''''icon size'''''}}''' | ||
where | where: | ||
; salvage name | |||
: This is the name of the salvage, as spelled out in the game. Sorry, there are no abbreviations. | |||
; icon size | |||
: This is the size of the icon, in pixels. If omitted, it defaults to 30 pixels, the same size as used in {{tl|ISalvage}}. | |||
==Examples== | ==Examples== | ||
Line 13: | Line 18: | ||
<pre>{{ISalvageRaw|Volume of the Obsidian Librum}}</pre> | <pre>{{ISalvageRaw|Volume of the Obsidian Librum}}</pre> | ||
{{ISalvageRaw|Volume of the Obsidian Librum}} | {{ISalvageRaw|Volume of the Obsidian Librum}} | ||
<pre>{{ISalvageRaw|Photonic Weapon|60}}</pre> | |||
{{ISalvageRaw|Photonic Weapon|60}} | |||
==See Also== | ==See Also== | ||
* | * {{tl|ISalvage}} | ||
* | * {{tl|ISalvageImage}} | ||
==Design Notes== | ==Design Notes== | ||
This template is a stripped-down version of the | This template is a stripped-down version of the {{tl|ISalvage}} template. While it is possible to modify that template to do what this template does if the quantity is omitted, that runs the risk of making that template too big, causing some pages to fail to render. | ||
Repeat after me: I will not taunt Happy Fun Ball. | Repeat after me: I will not taunt Happy Fun Ball. | ||
<includeonly> | <includeonly> | ||
[[Category:Invention System Templates|{{PAGENAME}}]] | [[Category:Invention System Templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> |
Latest revision as of 03:16, 4 July 2009
This template generates an invention salvage item, with a picture of the salvage and its name, which is a link to that salvage's page. It does not support other types of salvage, including base salvage.
Usage
- {{ISalvageRaw|salvage name|icon size}}
where:
- salvage name
- This is the name of the salvage, as spelled out in the game. Sorry, there are no abbreviations.
- icon size
- This is the size of the icon, in pixels. If omitted, it defaults to 30 pixels, the same size as used in {{ISalvage}}.
Examples
{{ISalvageRaw|Boresight}}
{{ISalvageRaw|Volume of the Obsidian Librum}}
{{ISalvageRaw|Photonic Weapon|60}}
See Also
- {{ISalvage}}
- {{ISalvageImage}}
Design Notes
This template is a stripped-down version of the {{ISalvage}} template. While it is possible to modify that template to do what this template does if the quantity is omitted, that runs the risk of making that template too big, causing some pages to fail to render.
Repeat after me: I will not taunt Happy Fun Ball.