More actions
Content deleted Content added
No edit summary |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
{{#ifexpr: {{{life|0}}} + {{{storm|0}}} + {{{necro|0}}} + {{{flame|0}}} + {{{nature|0}}} > 0 |
{{#ifexpr: {{{life|0}}} + {{{storm|0}}} + {{{necro|0}}} + {{{flame|0}}} + {{{nature|0}}} > 0 |
||
| |
| ; '''Elements:''' |
||
{{#if: {{{life| }}} | [[:Category:Life Spells|☀️ Life]] }} |
{{#if: {{{life| }}} | [[:Category:Life Spells|☀️ Life]] }} |
||
{{#if: {{{storm| }}} | [[:Category:Storm Spells|💧 Storm]] }} |
{{#if: {{{storm| }}} | [[:Category:Storm Spells|💧 Storm]] }} |
Revision as of 18:31, 26 December 2024
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 to0
)- Indicates if the ability has a mental effect.
divine
: bool (optional, defaults to0
)- Specifies if the ability is divine.
magic
: bool (optional, defaults to0
)- Specifies if the ability is magical.
primal
: bool (optional, defaults to0
)- Indicates if the ability is primal in nature.
spiritual
: bool (optional, defaults to0
)- Indicates if the ability is spiritual.
oc
: bool (optional, defaults to0
)- Tags the ability as out-of-combat.
bc
: bool (optional, defaults to0
)- Tags the ability as before combat.
ic
: bool (optional, defaults to0
)- Tags the ability as in-combat.
life
: bool (optional, defaults to0
)- Indicates if the spell belongs to the Life domain.
storm
: bool (optional, defaults to0
)- Indicates if the spell belongs to the Storm domain.
necro
: bool (optional, defaults to0
)- Indicates if the spell belongs to the Necromancy domain.
flame
: bool (optional, defaults to0
)- Indicates if the spell belongs to the Flame domain.
nature
: bool (optional, defaults to0
)- Indicates if the spell belongs to the Nature domain.
spell
: bool (optional, defaults to0
)- Marks the entry as a spell.
skill
: bool (optional, defaults to0
)- Marks the entry as a skill.
standard
: bool (optional, defaults to0
)- Identifies the entry as a standard conjure spell or a semblant skill.
ball
: bool (optional, defaults to0
)- Identifies the entry as a ball-type spell or skill.
ray
: bool (optional, defaults to0
)- Identifies the entry as a ray-type spell or skill.
aura
: bool (optional, defaults to0
)- Identifies the entry as an aura-type spell or skill.
touch
: bool (optional, defaults to0
)- Identifies the entry as a touch-type spell or skill.
passive
: bool (optional, defaults to0
)- Tags the entry as passive.
tag
: bool (optional, defaults to0
)- Tags the entry for grouping under tags.
ritual
: bool (optional, defaults to0
)- Tags the entry as a ritual.
action
: str (optional)- Specifies a custom action type for the skill.
rank
: str (optional, defaults tonr
)- Specifies the rank of the ability (e.g., 0 for Journeyman, 1 for Rank 1).
num
: str (optional, defaults tona
)- 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.