Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ability

Template page
Revision as of 02:14, 25 December 2024 by Gpe (talk | contribs)

Template Frontend

This template categorizes abilities, spells, and skills based on the specified parameters. It is used for organizing content into appropriate categories for easy navigation and grouping.

Parameters

  • 1: str (required)
    The name or description of the ability, spell, or skill.
  • mental: bool (optional, defaults to 0)
    Indicates if the ability has a mental effect.
  • divine: bool (optional, defaults to 0)
    Specifies if the ability is divine.
  • magic: bool (optional, defaults to 0)
    Specifies if the ability is magical.
  • primal: bool (optional, defaults to 0)
    Indicates if the ability is primal in nature.
  • spiritual: bool (optional, defaults to 0)
    Indicates if the ability is spiritual.
  • oc: bool (optional, defaults to 0)
    Tags the ability as out-of-combat.
  • bc: bool (optional, defaults to 0)
    Tags the ability as before combat.
  • ic: bool (optional, defaults to 0)
    Tags the ability as in-combat.
  • life: bool (optional, defaults to 0)
    Indicates if the spell belongs to the Life domain.
  • storm: bool (optional, defaults to 0)
    Indicates if the spell belongs to the Storm domain.
  • necro: bool (optional, defaults to 0)
    Indicates if the spell belongs to the Necromancy domain.
  • flame: bool (optional, defaults to 0)
    Indicates if the spell belongs to the Flame domain.
  • nature: bool (optional, defaults to 0)
    Indicates if the spell belongs to the Nature domain.
  • spell: bool (optional, defaults to 0)
    Marks the entry as a spell.
  • skill: bool (optional, defaults to 0)
    Marks the entry as a skill.
  • standard: bool (optional, defaults to 0)
    Identifies the entry as a standard conjure spell or a semblant skill.
  • ball: bool (optional, defaults to 0)
    Identifies the entry as a ball-type spell or skill.
  • ray: bool (optional, defaults to 0)
    Identifies the entry as a ray-type spell or skill.
  • aura: bool (optional, defaults to 0)
    Identifies the entry as an aura-type spell or skill.
  • touch: bool (optional, defaults to 0)
    Identifies the entry as a touch-type spell or skill.
  • passive: bool (optional, defaults to 0)
    Tags the entry as passive.
  • tag: bool (optional, defaults to 0)
    Tags the entry for grouping under tags.
  • ritual: bool (optional, defaults to 0)
    Tags the entry as a ritual.
  • action: str (optional)
    Specifies a custom action type for the skill.
  • rank: str (optional, defaults to nr)
    Specifies the rank of the ability (e.g., 0 for Journeyman, 1 for Rank 1).
  • num: str (optional, defaults to na)
    Specifies the number of actions required for this ability (e.g., 0 for free, 1 for single).

Template Backend

This template utilizes a series of conditional statements to determine the appropriate categories based on the parameters provided. It ensures that content is accurately sorted and easily discoverable through the MediaWiki categorization system.