Template:Minecraft/doc: Difference between revisions
Jump to navigation
Jump to search
Create: Minecraft Mod Wiki>Vincent243 mNo edit summary |
Create: Minecraft Mod Wiki>Kapostamas test cases for links with multiple words |
||
Line 4: | Line 4: | ||
==Definition== | ==Definition== | ||
{{Ts|MC|Mc}}{{PsHead}} | {{Ts|MC|Mc}}{{PsHead}} | ||
{{Ps|1|no|string|The destination page on Minecraft Wiki.| | {{Ps|1|no|string|The destination page on Minecraft Wiki.|Minecraft Wiki <small>(link removed until Fandom decides to grow up)</small>}} | ||
{{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}} | ||
Pages listed in [[Module:Link/VanillaPages]] will not generate a link to | 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 [[:Category:Vanilla_objects|Vanilla objects category]], and should be frequently updated. | ||
==Examples== | ==Examples== | ||
Line 22: | Line 22: | ||
;produces | ;produces | ||
{{Minecraft|Cobblestone|Cobble}} | {{Minecraft|Cobblestone|Cobble}} | ||
<pre style="width: 300px"> | |||
{{Minecraft|Cooked Salmon}} | |||
</pre> | |||
;produces | |||
{{Minecraft|Cooked Salmon}} | |||
<pre style="width: 300px"> | |||
{{Minecraft|Renewable resource|Renewable}} | |||
</pre> | |||
;produces | |||
{{Minecraft|Renewable resource|Renewable}} |
Revision as of 00:28, 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 (link removed until Fandom decides to grow up) |
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