More actions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
<includeonly>{{{1}}} {{Trim| |
<includeonly>{{{1}}} {{Trim| |
||
{{#if: {{{mental|}}} | {{Cat|Mental Effects|name={{{name}}} }} }} |
{{#if: {{{mental| }}} | {{Cat|Mental Effects|name={{{name}}} }} }} |
||
{{#if: {{{divine|}}} | {{Cat|Divine Abilities|name={{{name}}} }} }} |
{{#if: {{{divine| }}} | {{Cat|Divine Abilities|name={{{name}}} }} }} |
||
{{#if: {{{magic|}}} | {{Cat|Magical Abilities|name={{{name}}} }} }} |
{{#if: {{{magic| }}} | {{Cat|Magical Abilities|name={{{name}}} }} }} |
||
{{#if: {{{primal|}}} | {{Cat|Primal Abilities|name={{{name}}} }} }} |
{{#if: {{{primal| }}} | {{Cat|Primal Abilities|name={{{name}}} }} }} |
||
{{#if: {{{spiritual|}}} | {{Cat|Spiritual Abilities|name={{{name}}} }} }} |
{{#if: {{{spiritual| }}} | {{Cat|Spiritual Abilities|name={{{name}}} }} }} |
||
{{#if: {{{oc|}}} | {{Cat|Out of Combat Abilities|name={{{name}}} }} }} |
{{#if: {{{oc| }}} | {{Cat|Out of Combat Abilities|name={{{name}}} }} }} |
||
{{#if: {{{bc|}}} | {{Cat|Before Combat Abilities|name={{{name}}} }} }} |
{{#if: {{{bc| }}} | {{Cat|Before Combat Abilities|name={{{name}}} }} }} |
||
{{#if: {{{ic|}}} | {{Cat|In Combat Abilities|name={{{name}}} }} }} |
{{#if: {{{ic| }}} | {{Cat|In Combat Abilities|name={{{name}}} }} }} |
||
{{#if: {{{life|}}} | {{Cat|Life Spells|name={{{name}}} }} }} |
{{#if: {{{life| }}} | {{Cat|Life Spells|name={{{name}}} }} }} |
||
{{#if: {{{storm|}}} | {{Cat|Storm Spells|name={{{name}}} }} }} |
{{#if: {{{storm| }}} | {{Cat|Storm Spells|name={{{name}}} }} }} |
||
{{#if: {{{necro|}}} | {{Cat|Necromancy Spells|name={{{name}}}}} }} |
{{#if: {{{necro| }}} | {{Cat|Necromancy Spells|name={{{name}}}}} }} |
||
{{#if: {{{flame|}}} | {{Cat|Flame Spells|name={{{name}}} }} }} |
{{#if: {{{flame| }}} | {{Cat|Flame Spells|name={{{name}}} }} }} |
||
{{#if: {{{nature|}}} | {{Cat|Nature Spells|name={{{name}}} }} }} |
{{#if: {{{nature| }}} | {{Cat|Nature Spells|name={{{name}}} }} }} |
||
{{#if: {{{spell|}}} | {{Cat|Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill|}}} | {{Cat|Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Skills|name={{{name}}} }} }} |
||
{{#if: {{{stat|}}} | {{Cat|Stat Setting Abilities|name={{{name}}} }} }} |
{{#if: {{{stat| }}} | {{Cat|Stat Setting Abilities|name={{{name}}} }} }} |
||
{{#if: {{{prof|}}} | {{Cat|Proficiency Setting Abilities|name={{{name}}} }} }} |
{{#if: {{{prof| }}} | {{Cat|Proficiency Setting Abilities|name={{{name}}} }} }} |
||
{{#if: {{{flu|}}} | {{Cat|Fluency Setting Abilities|name={{{name}}} }} }} |
{{#if: {{{flu| }}} | {{Cat|Fluency Setting Abilities|name={{{name}}} }} }} |
||
{{#if: {{{standard|}}} | |
{{#if: {{{standard| }}} | |
||
{{#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: {{{ball|}}} | |
{{#if: {{{ball| }}} | |
||
{{Cat|Balls|name={{{name}}} }} |
{{Cat|Balls|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|Rays|name={{{name}}} }} |
{{Cat|Rays|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|Auras|name={{{name}}} }} |
{{Cat|Auras|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|Touches|name={{{name}}} }} |
{{Cat|Touches|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: {{{passive|}}} | |
{{#if: {{{passive| }}} | |
||
{{Cat|Passives|name={{{name}}} }} |
{{Cat|Passives|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|Tags|name={{{name}}} }} |
{{Cat|Tags|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|Rituals|name={{{name}}} }} |
{{Cat|Rituals|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}}} }} }} |
||
}} |
}} |
||
{{#if: {{{action|}}} | |
{{#if: {{{action| }}} | |
||
{{#if: {{{skill|}}} | {{Cat|{{{action}}} Action Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|{{{action}}} Action Skills|name={{{name}}} }} }} |
||
}} |
}} |
||
{{#switch: {{{stat|}}} |
{{#switch: {{{stat| }}} |
||
| int = {{Cat|Intelligence Setting Abilities|name={{{name}}} }} |
| int = {{Cat|Intelligence Setting Abilities|name={{{name}}} }} |
||
| str = {{Cat|Strength Setting Abilities|name={{{name}}} }} |
| str = {{Cat|Strength Setting Abilities|name={{{name}}} }} |
||
Line 79: | Line 79: | ||
| na = {{Cat|Abilities|name={{{name}}} }} |
| na = {{Cat|Abilities|name={{{name}}} }} |
||
| 0 = {{Cat|Free Action Abilities|name={{{name}}} }} |
| 0 = {{Cat|Free Action Abilities|name={{{name}}} }} |
||
{{#if: {{{spell|}}} | {{Cat|Free Action Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Free Action Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill|}}} | {{Cat|Free Action Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Free Action Skills|name={{{name}}} }} }} |
||
| 1 = {{Cat|Single Action Abilities|name={{{name}}} }} |
| 1 = {{Cat|Single Action Abilities|name={{{name}}} }} |
||
{{#if: {{{spell|}}} | {{Cat|Single Action Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Single Action Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill|}}} | {{Cat|Single Action Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Single Action Skills|name={{{name}}} }} }} |
||
| 2 = {{Cat|Double Action Abilities|name={{{name}}} }} |
| 2 = {{Cat|Double Action Abilities|name={{{name}}} }} |
||
{{#if: {{{spell|}}} | {{Cat|Double Action Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Double Action Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill|}}} | {{Cat|Double Action Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Double Action Skills|name={{{name}}} }} }} |
||
| 3 = {{Cat|Triple Action Abilities|name={{{name}}} }} |
| 3 = {{Cat|Triple Action Abilities|name={{{name}}} }} |
||
{{#if: {{{spell|}}} | {{Cat|Triple Action Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Triple Action Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill|}}} | {{Cat|Triple Action Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Triple Action Skills|name={{{name}}} }} }} |
||
| re = {{Cat|Reaction Abilities|name={{{name}}} }} |
| re = {{Cat|Reaction Abilities|name={{{name}}} }} |
||
{{#if: {{{spell|}}} | {{Cat|Reaction Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Reaction Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill|}}} | {{Cat|Reaction Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Reaction Skills|name={{{name}}} }} }} |
||
| act = {{Cat|Activity Abilities|name={{{name}}} }} |
| act = {{Cat|Activity Abilities|name={{{name}}} }} |
||
{{#if: {{{spell|}}} | {{Cat|Activity Spells|name={{{name}}} }} }} |
{{#if: {{{spell| }}} | {{Cat|Activity Spells|name={{{name}}} }} }} |
||
{{#if: {{{skill|}}} | {{Cat|Activity Skills|name={{{name}}} }} }} |
{{#if: {{{skill| }}} | {{Cat|Activity Skills|name={{{name}}} }} }} |
||
| #default = {{Cat|Abilities|name={{{name}}} }} |
| #default = {{Cat|Abilities|name={{{name}}} }} |
||
}} |
}} |
Revision as of 23:56, 25 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.