Module:Item/doc: Difference between revisions

Jump to navigation Jump to search
m (Billy Mitchell moved page Module:Sandbox/Item/doc to Module:Item/doc without leaving a redirect)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Designed to be part of a template like so:
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