Template:Aicon/doc

From Modded Wiki
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into Template:Aicon. See Template:Documentation for more information.
This template uses Module:Aicon, a script written in Lua.

Using this template creates an advancement or a legacy achievement icon like seen in game.

Image

You can set the icon of the advancement using |1= to any inventory slot image or fallback grid image.

Background

Displaying a different background can be accomplished by using |2=, and the completed advancement by using |3=.

Background Parameters Description
plain|raw Default background of advancement.
oval|raw Goals background for advancement.
fancy|raw Challenge background for advancement.
plain|worn Completed advancement background.
oval|worn Completed goals background for advancement.
fancy|worn Completed challenge background for advancement.

Link

The advancement icon does not link anywhere. A link can be added using |link=. To link to Grass Block you would use {{aicon|Grass Block|link=Grass Block}}.

Text Result
{{aicon|Grass Block|link=Grass Block}}
{{aicon|Portfolio|fancy|link=https://education.minecraft.net}}

See Also


cs:Šablona:Advancement/doc de:Vorlage:Fortschritt/Dokumentation es:Plantilla:Progreso/doc fr:Modèle:Progrès/doc it:Template:Progresso/doc ja:テンプレート:Aicon/doc ko:틀:Advancement/doc lzh:模板:Advancement/doc nl:Sjabloon:Vooruitgang/doc pt:Predefinição:Aicon/doc ru:Шаблон:Достижение/док th:แม่แบบ:Aicon/doc uk:Шаблон:Advancement/док zh:Template:Aicon/doc