Template:Minecraft/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Kapostamas
test cases for links with multiple words
Create: Minecraft Mod Wiki>Sylphoid
m relink
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
This template creates a link to the [[w:c:minecraft|Minecraft Wiki]].
This template creates a link to the {{MC|Minecraft Wiki}}.


==Definition==
==Definition==
{{Ts|MC|Mc}}{{PsHead}}
{{Ts|MC|Mc}}{{PsHead}}
{{Ps|1|no|string|The destination page on Minecraft Wiki.|Minecraft Wiki <small>(link removed until Fandom decides to grow up)</small>}}
{{Ps|1|no|string|The destination page on Minecraft Wiki.| {{MC}}}}
{{Ps|2|no|string|The text displayed as the link.|Parameter {{S|1}}}}
{{Ps|2|no|string|The text displayed as the link.|Parameter {{S|1}}}}
{{PsFoot}}
{{PsFoot}}

Revision as of 00:02, 18 December 2024

This is a documentation subpage for Template:Minecraft.
It contains usage information, categories and other content that is not part of the original template page.

This template creates a link to the Minecraft Wiki.

Definition

Template shortcuts
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

Wool

{{Minecraft|Cobblestone|Cobble}}
produces

Cobble

{{Minecraft|Cooked Salmon}}
produces

Cooked Salmon

{{Minecraft|Renewable resource|Renewable}}
produces

Renewable