More actions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 143: | Line 143: | ||
|{{{aura| }}} |
|{{{aura| }}} |
||
|{{Tag |
|{{Tag |
||
| |
|Aura |
||
|l=:Category:Auras |
|l=:Category:Auras |
||
}} |
}} |
||
Line 162: | Line 162: | ||
}} |
}} |
||
}}} |
}}} |
||
{{If |
|||
|{{{spell| }}} |
|||
|{{ContextBarHelper|Casting Time| |
|||
{{{castingTime| |
|||
}}} |
|||
}} |
|||
}} |
|||
}} |
}} |
||
{{ContextBarHelper|Target| |
{{ContextBarHelper|Target| |
||
Line 185: | Line 192: | ||
|{{If |
|{{If |
||
|{{{cone| }}} |
|{{{cone| }}} |
||
|{{{rangeDist|15}}}-foot |
|{{{rangeDist|15}}}-foot sphere (centered on yourself) |
||
|{{If |
|{{If |
||
|{{{cascade| }}} |
|{{{cascade| }}} |
||
Line 301: | Line 308: | ||
| #default = {{Cat|Non-standard Abilities|name={{{name}}} }} |
| #default = {{Cat|Non-standard Abilities|name={{{name}}} }} |
||
}} |
}} |
||
{{#switch: {{{num| |
{{#switch: {{{num| -1}}} |
||
| -1 = |
|||
⚫ | |||
| 0 = {{ |
| 0 = {{#if: {{{re| }}} | |
||
{{Cat|Reactive Abilities|name={{{name}}} }} |
|||
{{Cat|Free Reaction Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | |
|||
{{Cat|Reactive Spells|name={{{name}}} }} |
|||
{{Cat|Free Reaction Spells|name={{{name}}} }} |
|||
}} |
|||
⚫ | |||
{{#if: {{{ |
{{#if: {{{skill| }}} | |
||
{{Cat|Reactive Skills|name={{{name}}} }} |
|||
{{Cat|Free Reaction Skills|name={{{name}}} }} |
|||
}} | |
|||
⚫ | |||
{{Cat|Active Abilities|name={{{name}}} }} |
|||
{{Cat|Free Action Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | |
{{#if: {{{spell| }}} | |
||
{{Cat|Active Spells|name={{{name}}} }} |
|||
{{Cat|Free Action Spells|name={{{name}}} }} |
|||
}} |
|||
⚫ | |||
{{#if: {{{skill| }}} | |
{{#if: {{{skill| }}} | |
||
{{Cat|Active Skills|name={{{name}}} }} |
|||
{{Cat|Free Action Skills|name={{{name}}} }} |
|||
}} |
|||
}} |
|||
| 1 = {{#if: {{{re| }}} | |
|||
{{Cat|Reactive Abilities|name={{{name}}} }} |
|||
{{Cat|Reaction Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | |
|||
⚫ | |||
{{Cat|Reaction Spells|name={{{name}}} }} |
|||
}} |
|||
{{#if: {{{skill| }}} | |
|||
{{Cat|Reactive Skills|name={{{name}}} }} |
|||
{{Cat|Reaction Skills|name={{{name}}} }} |
|||
}} | |
|||
{{Cat|Active Abilities|name={{{name}}} }} |
|||
{{Cat|Single Action Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | |
|||
{{Cat|Active Spells|name={{{name}}} }} |
|||
{{Cat|Single Action Spells|name={{{name}}} }} |
|||
}} |
|||
{{#if: {{{skill| }}} | |
|||
{{Cat|Active Skills|name={{{name}}} }} |
|||
{{Cat|Single Action Skills|name={{{name}}} }} |
|||
}} |
|||
}} |
|||
⚫ | |||
⚫ | |||
{{#if: {{{spell| }}} | |
|||
{{Cat|Active Spells|name={{{name}}} }} |
|||
{{Cat|Double Action Spells|name={{{name}}} }} |
|||
}} |
|||
{{#if: {{{skill| }}} | |
|||
{{Cat|Active Skills|name={{{name}}} }} |
|||
{{Cat|Double Action Skills|name={{{name}}} }} |
|||
}} |
|||
| 3 = {{Cat|Active Abilities|name={{{name}}} }} |
|||
{{Cat|Triple Action Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | |
|||
{{Cat|Active Spells|name={{{name}}} }} |
|||
⚫ | |||
}} |
|||
{{#if: {{{skill| }}} | |
|||
{{Cat|Active Skills|name={{{name}}} }} |
|||
{{Cat|Triple Action Skills|name={{{name}}} }} |
|||
}} |
|||
| #default = |
|||
}} |
}} |
||
{{Cat|Abilities|name={{{name}}}}} }}</includeonly><noinclude> |
{{Cat|Abilities|name={{{name}}}}} }}</includeonly><noinclude> |
Revision as of 00:30, 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.