Module:Item/doc: Difference between revisions

Jump to navigation Jump to search
m (Protected "Module:Item/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
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]]
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