Šablona:Load advancements/doc

Z Minecraft Wiki
Přejít na: navigace, hledání
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

Using this template, you can load a usage of {{advancements}} table from Advancements or another specified article.

Usage[editovat zdroj]

{{{1}}} can be used to specify the name of the advancement to load. The name will be the same as the title shown on the advancement, although only one name is required in the case of a split title, and it is case insensitive. If the advancement cannot be found, the page gets added to Category:Missing advancement. Using ; between advancement names allows multiple different advancements to be loaded in a single call.

Setting {{{id}}} shows the Internal ID column. It defaults to hidden.

To allow another usage of this template or of {{Advancements}} to be used underneath, set {{{continue}}}.

The parameter {{{page}}} can be set to determine the page to load the advancement from. It defaults to Advancements

The main article link can be set by {{{main}}}, and it defaults to {{{page}}}. Setting it to none removes the link.

Example[editovat zdroj]

{{load advancements|Stone Age}}

Produces:

Template:Load advancements: Unknown advancement. Advancement title not found on page Advancements