From Arms of God Wiki

Revision as of 01:00, 10 June 2026 by Ta1ha (talk | contribs) (bot: universal template Iconbox)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Atomic icon + caption + link cell. Cleaned generic version of the Brotato Iconbox pattern (see library/Template_Iconbox.md). The Brotato source has 200 lines of nested #if calling Brotato-specific helper templates (GetRarity, GetDLCStatus, DLCBadge); this version drops those and exposes their data as explicit params (rarity) instead.

{{Iconbox|Topaz_Brooch|size=32px|amount=3|rarity=common}}

Params:

  • 1 / name — entity name (also used as image filename + link target by default).
  • image — override image filename (without .png extension).
  • size — image size (default 48px).
  • amount — small number overlay in the corner (e.g. stack count).
  • rarity — slug matching a .cr-{slug} class from MediaWiki:Common.css. Renders a colored dot next to the icon.
  • caption — override caption text. no hides the caption.
  • nolink — set to 1 to suppress the wiki link.
  • maxwidth — CSS max-width constraint.

Atomic icon + caption + link cell. Inline gallery / list rendering.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Name (image + link target by default)1 name

no description

Unknownrequired
Image sizesize

no description

Example
48px
Unknownoptional
Number overlay (stack count, quantity)amount

no description

Numberoptional
Rarity slug (matches .cr-<slug> in Common.css)rarity

no description

Unknownoptional
Override image filename (without .png)image

no description

Unknownoptional
Caption override ('no' to hide)caption

no description

Unknownoptional
Suppress wiki link (1 to enable)nolink

no description

Booleanoptional
Max-width CSS constraintmaxwidth

no description

Unknownoptional