Template:ItemLink/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
BoxWithout (talk | contribs)
m 1 revision imported
BoxWithout (talk | contribs)
 
Line 13: Line 13:
{{ItemLink|Mechanical Piston|img2=Sticky Mechanical Piston}}
{{ItemLink|Mechanical Piston|img2=Sticky Mechanical Piston}}
===Vanilla Items===
===Vanilla Items===
To link to the {{MC||Minecraft}} wiki add mc=1 to the template.
To link to the {{MC||Minecraft}} wiki, add mc=1 to the template.
<pre>{{ItemLink|Slime Block|mc=1}}</pre>
<pre>{{ItemLink|Slime Block|mc=1}}</pre>
;Produces:
;Produces:
{{ItemLink|Slime Block|mc=1}}
{{ItemLink|Slime Block|mc=1}}
[[Category:Template documentation]]
[[Category:Template documentation]]

Latest revision as of 02:37, 15 February 2025

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