Module:Item/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Documentation== Designed to be part of a template. <pre>{{#invoke:Item|main|{{{1}}}|{{{2}}}}}</pre> Parameter 1 is the game abbreviation and parameter 2 is the item name. This module will output the item icon and name together. <noinclude>Category:Module Documentation</noinclude><includeonly>Category:Modules</includeonly>") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Documentation== | ==Documentation== | ||
Designed to be part of a template | Designed to be part of a template like so: | ||
<pre>{{#invoke:Item|main|{{{1}}}|{{{2}}}}}</pre> | <pre>{{#invoke:Item|main|{{{1}}}|{{{2}}}}}</pre> | ||
Parameter 1 is the game abbreviation and parameter 2 is the item name. This module will output the item icon and name together. | Parameter 1 is the game abbreviation and parameter 2 is the item name. This module will output the item icon and name together. If parameter 2 is an emdash, it outputs an emdash. | ||
See also: [[Template:Item/Documentation]] | |||
<noinclude>[[Category:Module Documentation]]</noinclude><includeonly>[[Category:Modules]]</includeonly> | <noinclude>[[Category:Module Documentation]]</noinclude><includeonly>[[Category:Modules]]</includeonly> |
Latest revision as of 21:06, 28 November 2024
Documentation
Designed to be part of a template like so:
{{#invoke:Item|main|{{{1}}}|{{{2}}}}}
Parameter 1 is the game abbreviation and parameter 2 is the item name. This module will output the item icon and name together. If parameter 2 is an emdash, it outputs an emdash.
See also: Template:Item/Documentation