Template:Minecraft/doc: Difference between revisions
Jump to navigation
Jump to search
Create: Minecraft Mod Wiki>Joker876 No edit summary |
BoxWithout (talk | contribs) m 8 revisions imported |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
This template creates a link to the | This template creates a link to the {{MC|Minecraft Wiki}}. | ||
== | ==Definition== | ||
{{Ts|MC|Mc}} | {{Ts|MC|Mc}}{{PsHead}} | ||
{{PsHead}} | {{Ps|1|no|string|The destination page on Minecraft Wiki.| {{MC}}}} | ||
{{Ps|1|no|string|The destination page on Minecraft Wiki.| | |||
{{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 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 21: | 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}} |
Latest revision as of 21:33, 14 February 2025
This template creates a link to the Minecraft Wiki.
Definition[edit source]
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[edit source]
{{Minecraft|Wool}}
- produces
{{Minecraft|Cobblestone|Cobble}}
- produces
{{Minecraft|Cooked Salmon}}
- produces
{{Minecraft|Renewable resource|Renewable}}
- produces