Template:Expansion content

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
Documentation for Template:Expansion content [view] [edit] [history] [purge] (How does this work?)

Description

This template is used within infobox templates and displays the logo of the relevant expansion in the top-right corner of the page, based on the major version number of a provided patch number. Used to visually associate a page with its expansion at a glance.

Patch numbers beginning with 3 correspond to Heavensward, 4 to Stormblood, 5 to Shadowbringers, 6 to Endwalker, 7 to Dawntrail, and 8 to Evercold.

Patches belonging to A Realm Reborn (2.x) or Legacy (1.x) have no associated logo and will render nothing.

Usage

{{Expansion content|<patch>}}

Parameters

Parameter Description
1 A patch number (e.g. 6.4, 7.0, 3.56). Only the major version number is used to determine the expansion.

Examples

Syntax Result
{{Expansion content|5.3}} Displays the Shadowbringers expansion logo
{{Expansion content|7.0}} Displays the Dawntrail expansion logo
{{Expansion content|6.55}} Displays the Endwalker expansion logo

Notes

  • This template is a dispatch wrapper around the individual expansion content templates (e.g. {{Heavensward expansion content}}, {{Dawntrail expansion content}}), which handle the actual logo display.
  • Only the integer portion of the patch number is used for matching; the minor version (e.g. .3 in 5.3) is ignored.
  • If the patch number does not match any known expansion (e.g. a 2.x ARR patch, or an unrecognized value), the template renders nothing.

See also