Module:Aicon/doc
This is the documentation page for Module:Aicon
[refresh]
This is the documentation page. It is transcluded into Module:Aicon. See Template:Documentation for more information.This module implements {{Aicon}}, supports invocations from other modules.
See template documentation for how to use this module from template.
Functions
Other modules can invoke this module.
Exported function are listed below.
aIcon
This function generates an icon instance in the style of legacy achievements or advancements in Template:JE.
Syntax: aIcon ( InvIcon, Background, State, Link, InvFile )
InvIcon: The name should handled by Module:Inventory icon (not effective whenInvFileis specified).Background: The type of achievement or advancement this icon represents. Valid values:plain,oval,fancy, andplain-mini.State: The status of achievement or advancement this icon represents. Valid values:raw,worn(valid only whenBackgroundis notplain-mini).Link: Optional, the link target that the icon points to. No link by default.InvFile: Optional, replacing the default icon (provided by Module:Inventory icon) as an image file (omittingFile:prefix).
main
This function is designed for template invocation, without extra parameter accepted, so not recomended to invoke it by other modules.
Dependencies
ja:モジュール:Aicon/doc pt:Módulo:Aicon/doc th:มอดูล:Aicon/doc uk:Модуль:Aicon/док zh:Module:Aicon/doc