More actions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 116: | Line 116: | ||
|{{Tag |
|{{Tag |
||
|Ritual |
|Ritual |
||
|l=:Category: |
|l=:Category:Ritual Abilities |
||
}} |
}} |
||
}} |
}} |
||
Line 123: | Line 123: | ||
|{{Tag |
|{{Tag |
||
|Ray |
|Ray |
||
|l=:Category: |
|l=:Category:Ray Abilities |
||
}} |
}} |
||
}} |
}} |
||
Line 130: | Line 130: | ||
|{{Tag |
|{{Tag |
||
|Ball |
|Ball |
||
|l=:Category: |
|l=:Category:Ball Abilities |
||
}} |
}} |
||
}} |
}} |
||
Line 137: | Line 137: | ||
|{{Tag |
|{{Tag |
||
|Touch |
|Touch |
||
|l=:Category: |
|l=:Category:Touch Abilities |
||
}} |
}} |
||
}} |
}} |
||
Line 144: | Line 144: | ||
|{{Tag |
|{{Tag |
||
|Aura |
|Aura |
||
|l=:Category: |
|l=:Category:Aura Abilities |
||
}} |
|||
}} |
|||
{{If |
|||
|{{{self| }}} |
|||
⚫ | |||
|Self |
|||
⚫ | |||
}} |
}} |
||
}} |
}} |
||
Line 151: | Line 158: | ||
|{{Tag |
|{{Tag |
||
|Passive |
|Passive |
||
|l=:Category: |
|l=:Category:Passive Abilities |
||
}} |
}} |
||
}} |
}} |
||
Line 158: | Line 165: | ||
|{{Tag |
|{{Tag |
||
|Tag |
|Tag |
||
|l=:Category: |
|l=:Category:Tag Abilities |
||
}} |
}} |
||
}} |
}} |
||
}}} |
}}} |
||
}} |
}} |
||
{{ContextBarHelper|{{If|{{{spell| }}}|Casting|Execution}} Time| |
{{ContextBarHelper|{{If|{{{spell| }}}|Casting|Execution}} Time|{{ucfirst:{{lc: |
||
{{{ |
{{{time |
||
|{{#switch: {{{num|na}}} |
|{{#switch: {{{num|na}}} |
||
| 0 = {{If |
| 0 = {{If |
||
|{{{re| }}} |
|{{{re| }}} |
||
| |
|Free reaction |
||
|None (free action) |
|||
|l=:Category:Free Reaction Abilities |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|l=:Category:Free Action Abilities |
|||
⚫ | |||
}} |
}} |
||
| 1 = {{If |
| 1 = {{If |
||
|{{{re| }}} |
|{{{re| }}} |
||
| |
|Reaction |
||
|1 action |
|||
⚫ | |||
}} |
|||
|{{Tag |
|||
|Single Action |
|||
|l=:Category:Single Action Abilities |
|||
}} |
|||
}} |
}} |
||
| 2 = |
| 2 = 2 actions |
||
| 3 = |
| 3 = 3 actions |
||
| na = {{If |
| na = {{If |
||
|{{{ritual| }}} |
|{{{ritual| }}} |
||
|10 minutes |
|10 minutes |
||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
}} |
||
}} |
}} |
||
}}} |
}}} |
||
}} |
}} }} }} |
||
{{ContextBarHelper|Target| |
{{ContextBarHelper|Target|{{ucfirst:{{lc: |
||
{{{target |
{{{target |
||
|{{If |
|{{If |
||
|{{{aura| }}}{{{cone| }}}{{{ball| }}} |
|{{{aura| }}}{{{cone| }}}{{{ball| }}} |
||
| |
| {{{targetType|creature}}}s within area of effect |
||
| |
| 1 {{{targetType|creature}}} within range |
||
}} |
}} |
||
}}} |
}}} |
||
}} |
}} }} }} |
||
{{ContextBarHelper|Range| |
{{ContextBarHelper|Range|{{ucfirst:{{lc: |
||
{{{range| |
{{{range| |
||
{{If |
{{If |
||
Line 233: | Line 231: | ||
}} |
}} |
||
}}} |
}}} |
||
}} |
}} }} }} |
||
{{ContextBarHelper|Duration|{{ucfirst:{{lc: |
|||
{{{duration |
|||
|{{If |
|||
|{{{sustained| }}} |
|||
|1 minute ([[Sustained]]) |
|||
| |
|||
}} |
|||
}}} |
|||
}} }} }} |
|||
---- |
---- |
||
{{{1}}} {{Trim| |
{{{1}}} {{Trim| |
||
Line 255: | Line 262: | ||
{{#if: {{{flu| }}} | {{Cat|Fluency Setting Abilities|name={{{name}}} }} }} |
{{#if: {{{flu| }}} | {{Cat|Fluency Setting Abilities|name={{{name}}} }} }} |
||
{{#if: {{{class| }}} | {{Cat|Class Abilities|name={{{name}}} }} }} |
{{#if: {{{class| }}} | {{Cat|Class Abilities|name={{{name}}} }} }} |
||
{{#if: {{{standard| }}} | |
{{#if: {{{standard| }}} | |
||
{{Cat|Standard Abilities|name={{{name}}} }} |
{{Cat|Standard Abilities|name={{{name}}} }} |
||
{{#if: {{{spell| }}} | {{Cat|Conjure Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Conjure Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill| }}} | {{Cat|Semblant Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Semblant Skills|name={{{name}}} }} }} |
||
}} |
}} |
||
{{#if: {{{ |
{{#if: {{{sustained| }}} | |
||
{{Cat| |
{{Cat|Sustained Abilities|name={{{name}}} }} |
||
{{#if: {{{spell| }}} | {{Cat|Sustained Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Sustained Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{ball| }}} | |
|||
{{Cat|Ball Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Ball Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Ball Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill| }}} | {{Cat|Ball Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Ball Skills|name={{{name}}} }} }} |
||
}} |
}} |
||
{{#if: {{{ray| }}} | |
{{#if: {{{ray| }}} | |
||
{{Cat| |
{{Cat|Ray Abilities|name={{{name}}} }} |
||
{{#if: {{{spell| }}} | {{Cat|Ray Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Ray Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill| }}} | {{Cat|Ray Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Ray Skills|name={{{name}}} }} }} |
||
}} |
}} |
||
{{#if: {{{aura| }}} | |
{{#if: {{{aura| }}} | |
||
{{Cat| |
{{Cat|Aura Abilities|name={{{name}}} }} |
||
{{#if: {{{spell| }}} | {{Cat|Aura Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Aura Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill| }}} | {{Cat|Aura Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Aura Skills|name={{{name}}} }} }} |
||
}} |
}} |
||
{{#if: {{{touch| }}} | |
{{#if: {{{touch| }}} | |
||
{{Cat| |
{{Cat|Touch Abilities|name={{{name}}} }} |
||
{{#if: {{{spell| }}} | {{Cat|Touch Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Touch Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill| }}} | {{Cat|Touch Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Touch Skills|name={{{name}}} }} }} |
||
}} |
}} |
||
{{#if: {{{ |
{{#if: {{{self| }}} | |
||
{{Cat| |
{{Cat|Self Abilities|name={{{name}}} }} |
||
{{#if: {{{spell| }}} | {{Cat|Self Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Self Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{passive| }}} | |
|||
{{Cat|Passive Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Passive Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Passive Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill| }}} | {{Cat|Passive Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Passive Skills|name={{{name}}} }} }} |
||
}} |
}} |
||
{{#if: {{{tag| }}} | |
{{#if: {{{tag| }}} | |
||
{{Cat| |
{{Cat|Tag Abilities|name={{{name}}} }} |
||
{{#if: {{{spell| }}} | {{Cat|Tag Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Tag Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill| }}} | {{Cat|Tag Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Tag Skills|name={{{name}}} }} }} |
||
}} |
}} |
||
{{#if: {{{ritual| }}} | |
{{#if: {{{ritual| }}} | |
||
{{Cat| |
{{Cat|Ritual Abilities|name={{{name}}} }} |
||
{{#if: {{{spell| }}} | {{Cat|Ritual Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Ritual Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill| }}} | {{Cat|Ritual Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Ritual Skills|name={{{name}}} }} }} |
Revision as of 01:12, 27 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.