Template:Advancement/doc: Difference between revisions
(Created documentation) |
m (JP is happy. Idk about that right padding though.) |
||
Line 35: | Line 35: | ||
| title = Return to Sender | | title = Return to Sender | ||
| desc = Destroy a Ghast with a fireball | | desc = Destroy a Ghast with a fireball | ||
}} | |||
{{Advancement | |||
| item = Emerald | |||
| title = What a Deal! | |||
| desc = Successfully trade with a Villager | |||
}} | }} | ||
</pre> | </pre> | ||
Line 54: | Line 59: | ||
| title = Return to Sender | | title = Return to Sender | ||
| desc = <span style="color:#A800A8;">Destroy a Ghast with a fireball</span> | | desc = <span style="color:#A800A8;">Destroy a Ghast with a fireball</span> | ||
}} | |||
{{Advancement | |||
| item = Emerald | |||
| title = What a Deal! | |||
| desc = Successfully trade with a Villager | |||
}} | }} | ||
__NOTOC__ | __NOTOC__ |
Revision as of 20:20, 13 August 2020
Using this template, you can create the advancements as seen within the game.
The badge is created using the [[Template:AdvancementIcon]]
template,
with images taken from {{Module:InvSprite}}
.
Usage
Using the first parameter, {{{item}}}
, you can set the image to the specified block or item or a fallback image.
For Gamemode 4 specific items or blocks, gm4:
must prefix the name, e.g., gm4:Boots of Ostara
.
The second and third parameters, {{{title}}}
and {{{desc}}}
, are used in the advancement title and its description.
Icon
The badge and item are created with the first parameter, {{{item}}}
, and uses the plain and uncompleted advancement badge.
The optional parameters of Template:AdvancementIcon can be given in the Advancement call, however they must be given by name.
Example Usage
{{Advancement|gm4:Boots of Ostara|Green Feet|Wear the Boots of Ostara}} {{Advancement | item = Enchantment Table | title = Magical Thief | desc = Successfully extract the mending enchantment from a tool with an Enchantment Extractor }} {{Advancement | item = Fire Charge | bg = fancy | state = worn | title = Return to Sender | desc = Destroy a Ghast with a fireball }} {{Advancement | item = Emerald | title = What a Deal! | desc = Successfully trade with a Villager }}