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: Difference between revisions

Template page
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{{1}}}
{{{1}}}
{{#if: {{{mental|}}} | [[Category:Mental Effects]] }}
{{#if: {{{mental|}}} | [[Category:Mental Effects]] }}
{{#if: {{{divine|}}} | [[Category:Divine Abilities]] }}
{{#if: {{{divine|}}} | [[Category:Divine Abilities]] }}
Line 88: Line 87:
| #default = [[Category:Abilities]]
| #default = [[Category:Abilities]]
}}
}}
[[Category:Abilities]]
[[Category:Abilities]]</includeonly><noinclude>
</includeonly>
<noinclude>
== Documentation: Ability Template ==
== Documentation: Ability Template ==



Revision as of 07:47, 18 December 2024

Documentation: Ability Template

This template automatically categorizes ability pages based on provided parameters. Include this template at the end of an ability page and set the appropriate parameters to categorize the ability correctly.

Usage

{{Ability
|1= <!-- Optional content to include -->
|mental= <!-- Any value if the ability is a mental effect -->
|divine= <!-- Any value if the ability is divine -->
|magic= <!-- Any value if the ability is magical -->
|primal= <!-- Any value if the ability is primal -->
|spiritual= <!-- Any value if the ability is spiritual -->
|oc= <!-- Any value if used out of combat -->
|bc= <!-- Any value if used before combat -->
|ic= <!-- Any value if used in combat -->
|life= <!-- Any value if it's a Life spell -->
|storm= <!-- Any value if it's a Storm spell -->
|necro= <!-- Any value if it's a Necromancy spell -->
|flame= <!-- Any value if it's a Flame spell -->
|nature= <!-- Any value if it's a Nature spell -->
|spell= <!-- Any value if the ability is a spell -->
|skill= <!-- Any value if the ability is a skill -->
|standard= <!-- Any value if it's a standard action ability -->
|ball= <!-- Any value if it's a ball ability -->
|ray= <!-- Any value if it's a ray ability -->
|aura= <!-- Any value if it's an aura ability -->
|touch= <!-- Any value if it's a touch ability -->
|passive= <!-- Any value if it's a passive ability -->
|tag= <!-- Any value if it's a tag ability -->
|ritual= <!-- Any value if it's a ritual ability -->
|action= <!-- Specify action type for custom categorization -->
|rank= <!-- Rank of the ability: 0, 1, 2, 3, 'nr' for non-ranked -->
|num= <!-- Number of actions: '0', '1', '2', '3', 're', 'act', 'na' -->
}}

Parameters

1 (optional): Additional content to include where the template is placed.

Ability Attributes:

Set these to any non-empty value to include the ability in the corresponding category.

  • mental: The ability is a mental effect.
  • divine: The ability is divine.
  • magic: The ability is magical.
  • primal: The ability is primal.
  • spiritual: The ability is spiritual.
  • oc: Out of Combat ability.
  • bc: Before Combat ability.
  • ic: In Combat ability.

Spell Schools:

  • life: Life spell.
  • storm: Storm spell.
  • necro: Necromancy spell.
  • flame: Flame spell.
  • nature: Nature spell.

Ability Types:

  • spell: Ability is a spell.
  • skill: Ability is a skill.

Action Types:

Set only one of these per ability.

  • standard: Standard action ability.
 * If spell is set, categorized under "Conjure Spells".
 * If skill is set, categorized under "Semblant Skills".
  • ball: Ball ability.
 * Categorizes under "Balls" and further under "Ball Spells" or "Ball Skills".
  • ray: Ray ability.
 * Categorizes under "Rays" and further under "Ray Spells" or "Ray Skills".
  • aura: Aura ability.
 * Categorizes under "Auras" and further under "Aura Spells" or "Aura Skills".
  • touch: Touch ability.
 * Categorizes under "Touches" and further under "Touch Spells" or "Touch Skills".
  • passive: Passive ability.
 * Categorizes under "Passives" and further under "Passive Spells" or "Passive Skills".
  • tag: Tag ability.
 * Categorizes under "Tags" and further under "Tag Spells" or "Tag Skills".
  • ritual: Ritual ability.
 * Categorizes under "Rituals" and further under "Ritual Spells" or "Ritual Skills".

Custom Action Category:

  • action: Specify custom action type (e.g., "Free", "Single"). This parameter is used for custom categorization like "Free Action Skills" when combined with skill.

Rank:

  • rank: Rank of the ability.
 * 0: Journeyman Abilities.
 * 1: Rank 1 Abilities.
 * 2: Rank 2 Abilities.
 * 3: Rank 3+ Abilities.
 * nr: Non-ranked Abilities.
 * Any other value: Non-standard Abilities.

Number of Actions:

  • num: Number of actions required.
 * 0: Free Action.
 * 1: Single Action.
 * 2: Double Action.
 * 3: Triple Action.
 * re: Reaction.
 * act: Activity.
 * na: Not applicable.
 * Any other value: Categorizes as "Abilities" by default.

Examples

Example 1: Rank 1 Single Action Flame Spell

{{Ability
|spell=1
|flame=1
|rank=1
|num=1
}}

Categories added:

  • Spells
  • Flame Spells
  • Rank 1 Abilities
  • Single Action Abilities
  • Single Action Spells
  • Abilities

Example 2: Non-Ranked Passive Skill Used in Combat

{{Ability
|skill=1
|passive=1
|ic=1
|rank=nr
}}

Categories added:

  • Skills
  • Passives
  • Passive Skills
  • In Combat Abilities
  • Non-ranked Abilities
  • Abilities

Example 3: Rank 2 Ritual Nature Spell (Activity)

{{Ability
|spell=1
|ritual=1
|nature=1
|rank=2
|num=act
}}

Categories added:

  • Spells
  • Rituals
  • Ritual Spells
  • Nature Spells
  • Rank 2 Abilities
  • Activity Abilities
  • Activity Spells
  • Abilities

Example 4: Double Action Primal Skill with Custom Action Type

{{Ability
|skill=1
|primal=1
|action=Double
|num=2
}}

Categories added:

  • Skills
  • Primal Abilities
  • Double Action Abilities
  • Double Action Skills
  • Abilities

Example 5: Ability with Multiple Attributes

{{Ability
|skill=1
|spell=1
|magic=1
|storm=1
|ray=1
|rank=3
|num=1
}}

Categories added:

  • Skills
  • Spells
  • Magical Abilities
  • Storm Spells
  • Rays
  • Ray Spells
  • Ray Skills
  • Rank 3+ Abilities
  • Single Action Abilities
  • Single Action Spells
  • Single Action Skills
  • Abilities

Notes

  • The template automatically includes `` at the end.
  • Setting any parameter to a non-empty value (e.g., `1`, `yes`) activates the corresponding category.
  • For accurate categorization, set only one action type parameter per ability.
  • The order of parameters does not affect the categorization.