Template:ItemLink: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
No edit summary
BoxWithout (talk | contribs)
m 7 revisions imported
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly><span title="{{#if:{{{mc|}}}|Minecraft Wiki:&#32;}}{{{1|{{{item|{{{i|}}} }}} }}}">[[File:{{{2|{{{1|{{{item|{{{i|}}} }}} }}} }}}.png|{{{size|21px}}}|link={{#if:{{{mc|}}}|w:c:minecraft:}}{{{1|{{{item|{{{i|}}} }}} }}}]]&nbsp;[[{{#if:{{{mc|}}}|w:c:minecraft:}}{{{1|{{{item|{{{i|}}} }}} }}}|{{{2|{{{1|{{{item|{{{i|}}} }}} }}} }}}]]</span></includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>{{#invoke:Item|item}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 21:33, 14 February 2025

[view | edit | history | purge]Documentation

This template is used to create a link and a clickable image that sends the user to the link.

Usage[edit source]

{{ItemLink|Andesite Casing}}
Produces

 Andesite Casing

Selected Image[edit source]

{{ItemLink|Train|img1=Train Casing}}
Produces

 Train

Multiple Images[edit source]

{{ItemLink|Mechanical Piston|img2=Sticky Mechanical Piston}}
Produces

 Mechanical Piston

Vanilla Items[edit source]

To link to the Minecraft wiki, add mc=1 to the template.

{{ItemLink|Slime Block|mc=1}}
Produces

 Slime Block

[view | edit | history | purge]The above documentation is transcluded from Template:ItemLink/doc.