Template:Minecraft: Difference between revisions
Jump to navigation
Jump to search
Create: Minecraft Mod Wiki>Joker876 No edit summary |
Create: Minecraft Mod Wiki>Kapostamas hacky way to replace spaces with underscores (since Template:Link has become uneditable) |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke: Link | mcWikiLink }}</includeonly><noinclude>{{Documentation}}</noinclude> | <includeonly>{{#invoke: Link | mcWikiLink | {{#replace:{{{1}}}| |_}} | {{#if:{{{2|}}}|{{{2|}}}|{{{1|}}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 00:30, 28 September 2023
This template creates a link to the Minecraft Wiki.
Definition
Parameter | R? | Type | Description | Default |
---|---|---|---|---|
1 |
No | ![]() ![]() |
The destination page on Minecraft Wiki. | Minecraft Wiki |
2 |
No | ![]() ![]() |
The text displayed as the link. | Parameter <1> |
Pages listed in Module:Link/VanillaPages will not generate a link to Minecraft Wiki, but will instead generate an internal link, to the Create Wiki. The aforementioned list should contain every page in the Vanilla objects category, and should be frequently updated.
Examples
{{Minecraft|Wool}}
- produces
{{Minecraft|Cobblestone|Cobble}}
- produces
{{Minecraft|Cooked Salmon}}
- produces
{{Minecraft|Renewable resource|Renewable}}
- produces
[view | edit | history | purge]The above documentation is transcluded from Template:Minecraft/doc.