More actions
Content deleted Content added
No edit summary |
Replaced content with "{{L|Category|Abilities|Abilit{{{1|y}}}}}" Tag: Replaced |
||
(90 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{L|Category|Abilities|Abilit{{{1|y}}}}} |
|||
<includeonly> |
|||
{{#ifexpr: |
|||
{{{life|0}}} + |
|||
{{{storm|0}}} + |
|||
{{{necro|0}}} + |
|||
{{{flame|0}}} + |
|||
{{{nature|0}}} > 0 |
|||
| '''Elements:''' {{#if: |
|||
{{{life| }}}| {{Tag |
|||
|Life |
|||
|☀️ |
|||
|c=#ffffff |
|||
|l=:Category:Life Spells |
|||
}} |
|||
}} {{#if: |
|||
{{{storm| }}} | {{Tag |
|||
|Storm |
|||
|💧 |
|||
|c=#3584e4 |
|||
|l=:Category:Storm Spells |
|||
}} |
|||
}} {{#if: |
|||
{{{necro| }}} | {{Tag |
|||
|Necromancy |
|||
|💀 |
|||
|c=#3d3846 |
|||
|l=:Category:Necromancy Spells |
|||
}} |
|||
}} {{#if: |
|||
{{{flame| }}} | {{Tag |
|||
|Flame |
|||
|🔥 |
|||
|c=#e01b24 |
|||
|l=:Category:Flame Spells |
|||
}} |
|||
}} {{#if: |
|||
{{{nature| }}} | {{Tag |
|||
|Nature |
|||
|🌱 |
|||
|c=#33d17a |
|||
|l=:Category:Nature Spells |
|||
}} |
|||
}} <br /> }} |
|||
{{#ifexpr: |
|||
{{{divine|0}}} + |
|||
{{{magic|0}}} + |
|||
{{{primal|0}}} + |
|||
{{{spirital|0}}} > 0 |
|||
| '''Power Sources:''' {{#if: |
|||
{{{divine| }}} | {{Tag |
|||
|Divine |
|||
|🙏 |
|||
|c=#f9f06b |
|||
|l=:Category:Divine Abilities |
|||
}} |
|||
}} {{#if: |
|||
{{{magic| }}} | {{Tag |
|||
|Magic |
|||
|✨ |
|||
|c=#9141ac |
|||
|l=:Category:Magical Abilities |
|||
}} |
|||
}} {{#if: |
|||
{{{primal| }}} | {{Tag |
|||
|Primal |
|||
|⛰️ |
|||
|c=#986a44 |
|||
|l=:Category:Primal Abilities |
|||
}} |
|||
}} {{#if: |
|||
{{{spiritual| }}} | {{Tag |
|||
|Spirit |
|||
|🪭 |
|||
|c=#deddda |
|||
|l=:Category:Spiritual Abilities |
|||
}} |
|||
}} <br /> }} |
|||
{{#ifexpr: |
|||
{{{oc|0}}} + |
|||
{{{bc|0}}} + |
|||
{{{ic|0}}} > 0 |
|||
| '''Usage:''' {{#if: |
|||
{{{oc| }}} | {{Tag|Out of Combat|OC|l=:Category:Out of Combat Abilities}} }} {{#if: |
|||
{{{bc| }}} | {{Tag|Before Combat|BC|l=:Category:Before Combat Abilities}} }} {{#if: |
|||
{{{ic| }}} | {{Tag|In Combat|IC|l=:Category:In Combat Abilities}} }} <br /> }} |
|||
{{#ifexpr: |
|||
{{{ball|0}}} + |
|||
{{{ray|0}}} + |
|||
{{{aura|0}}} + |
|||
{{{touch|0}}} + |
|||
{{{passive|0}}} + |
|||
{{{tag|0}}} + |
|||
{{{ritual|0}}} > 0 |
|||
| '''Delivery:''' {{#if: |
|||
{{{ball| }}} | {{Tag|Ball|⭕️|l=:Category:Balls}} }} {{#if: |
|||
{{{ray| }}} | {{Tag|Ray|⚡️|l=:Category:Rays}} }} {{#if: |
|||
{{{aura| }}} | {{Tag|Auras|🌀|l=:Category:Auras}} }} {{#if: |
|||
{{{touch| }}} | {{Tag|Touch|🤚|l=:Category:Touches}} }} {{#if: |
|||
{{{passive| }}} | {{Tag|Passive|🧘|l=:Category:Passives}} }} {{#if: |
|||
{{{tag}| }}} | {{Tag|Tag|🧤|l=:Category:Tags}} }} {{#if: |
|||
{{{ritual| }}} | {{Tag|Ritual|🔮|l=:Category:Rituals}} }} <br /> }} |
|||
: '''Target: ''' {{{target |
|||
| {{#ifexpr: |
|||
{{{aura|0}}} + |
|||
{{{cone|0}}} + |
|||
{{{ball|0}}} > 0 |
|||
| Creatures | 1 Creature }} |
|||
}}} |
|||
{{#ifexpr: |
|||
{{#if: {{{fullrange| }}} | 1 | 0 }} + |
|||
{{{ball|0}}} + |
|||
{{{ray|0}}} + |
|||
{{{aura|0}}} + |
|||
{{{cone|0}}} + |
|||
{{{cascade|0}}} + |
|||
{{{fork|0}}} > 0 |
|||
| : '''Range:''' {{{fullrange |
|||
| {{#if: {{{ray| }}} | {{{range|60}}} Feet |
|||
| {{#if: {{{ball| }}} | {{{range|30}}} Feet |
|||
| {{#if: {{{aura| }}} | {{{range|10}}} Foot Emanation |
|||
| {{#if: {{{cone| }}} | {{{range|15}}} Foot Emanation |
|||
| {{#if: {{{cascade| }}} | {{{range|60}}} Feet |
|||
| {{#if: {{{fork| }}} | {{{range|30}}} Feet |
|||
}} |
|||
}} |
|||
}} |
|||
}} |
|||
}} |
|||
}} |
|||
}}} |
|||
}} |
|||
---- |
|||
{{{1}}} {{Trim| |
|||
{{#if: {{{mental| }}} | {{Cat|Mental Effects|name={{{name}}} }} }} |
|||
{{#if: {{{divine| }}} | {{Cat|Divine Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{magic| }}} | {{Cat|Magical Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{primal| }}} | {{Cat|Primal Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{spiritual| }}} | {{Cat|Spiritual Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{oc| }}} | {{Cat|Out of Combat Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{bc| }}} | {{Cat|Before Combat Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{ic| }}} | {{Cat|In Combat Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{life| }}} | {{Cat|Life Spells|name={{{name}}} }} }} |
|||
{{#if: {{{storm| }}} | {{Cat|Storm Spells|name={{{name}}} }} }} |
|||
{{#if: {{{necro| }}} | {{Cat|Necromancy Spells|name={{{name}}}}} }} |
|||
{{#if: {{{flame| }}} | {{Cat|Flame Spells|name={{{name}}} }} }} |
|||
{{#if: {{{nature| }}} | {{Cat|Nature Spells|name={{{name}}} }} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Skills|name={{{name}}} }} }} |
|||
{{#if: {{{stat| }}} | {{Cat|Stat Setting Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{prof| }}} | {{Cat|Proficiency Setting Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{flu| }}} | {{Cat|Fluency Setting Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{class| }}} | {{Cat|Class Abilities|name={{{name}}} }} }} |
|||
{{#if: {{{standard| }}} | |
|||
{{Cat|Standard Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Conjure Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Semblant Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{ball| }}} | |
|||
{{Cat|Balls|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Ball Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Ball Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{ray| }}} | |
|||
{{Cat|Rays|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Ray Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Ray Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{aura| }}} | |
|||
{{Cat|Auras|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Aura Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Aura Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{touch| }}} | |
|||
{{Cat|Touches|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Touch Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Touch Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{passive| }}} | |
|||
{{Cat|Passives|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Passive Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Passive Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{tag| }}} | |
|||
{{Cat|Tags|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Tag Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Tag Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{ritual| }}} | |
|||
{{Cat|Rituals|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Ritual Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Ritual Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#if: {{{action| }}} | |
|||
{{#if: {{{skill| }}} | {{Cat|{{{action}}} Action Skills|name={{{name}}} }} }} |
|||
}} |
|||
{{#switch: {{{stat| }}} |
|||
| int = {{Cat|Intelligence Setting Abilities|name={{{name}}} }} |
|||
| str = {{Cat|Strength Setting Abilities|name={{{name}}} }} |
|||
| mov = {{Cat|Movement Setting Abilities|name={{{name}}} }} |
|||
| per = {{Cat|Perception Setting Abilities|name={{{name}}} }} |
|||
| snk = {{Cat|Sneak Setting Abilities|name={{{name}}} }} |
|||
| #default = |
|||
}} |
|||
{{#switch: {{{class|}}} |
|||
| ber = {{Cat|Berserker Abilities|name={{{name}}} }} |
|||
| bar = {{Cat|Berserker Abilities|name={{{name}}} }} |
|||
| due = {{Cat|Duelist Abilities|name={{{name}}} }} |
|||
| sam = {{Cat|Duelist Abilities|name={{{name}}} }} |
|||
| vet = {{Cat|Veteran Abilities|name={{{name}}} }} |
|||
| kni = {{Cat|Knight Abilities|name={{{name}}} }} |
|||
| pal = {{Cat|Paladin Abilities|name={{{name}}} }} |
|||
| ass = {{Cat|Assassin Abilities|name={{{name}}} }} |
|||
| cor = {{Cat|Corsair Abilities|name={{{name}}} }} |
|||
| ama = {{Cat|Corsair Abilities|name={{{name}}} }} |
|||
| arc = {{Cat|Archer Abilities|name={{{name}}} }} |
|||
| thi = {{Cat|Thief Abilities|name={{{name}}} }} |
|||
| ran = {{Cat|Ranger Abilities|name={{{name}}} }} |
|||
| fla = {{Cat|Flame Mage Abilities|name={{{name}}} }} |
|||
| sto = {{Cat|Storm Mage Abilities|name={{{name}}} }} |
|||
| lif = {{Cat|Life Mage Abilities|name={{{name}}} }} |
|||
| nec = {{Cat|Necromancer Abilities|name={{{name}}} }} |
|||
| nat = {{Cat|Nature Mage Abilities|name={{{name}}} }} |
|||
| #default = |
|||
}} |
|||
{{#switch: {{{rank|nr}}} |
|||
| 0 = {{Cat|Journeyman Abilities|name={{{name}}} }} |
|||
| 1 = {{Cat|Rank 1 Abilities|name={{{name}}} {{Cat|Ranked Abilities}} }} |
|||
| 2 = {{Cat|Rank 2 Abilities|name={{{name}}} {{Cat|Ranked Abilities}} }} |
|||
| 3 = {{Cat|Rank 3+ Abilities|name={{{name}}} {{Cat|Ranked Abilities}} }} |
|||
| nr = {{Cat|Non-ranked Abilities|name={{{name}}} }} |
|||
| #default = {{Cat|Non-standard Abilities|name={{{name}}} }} |
|||
}} |
|||
{{#switch: {{{num|na}}} |
|||
| na = {{Cat|Abilities|name={{{name}}} }} |
|||
| 0 = {{Cat|Free Action Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Free Action Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Free Action Skills|name={{{name}}} }} }} |
|||
| 1 = {{Cat|Single Action Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Single Action Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Single Action Skills|name={{{name}}} }} }} |
|||
| 2 = {{Cat|Double Action Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Double Action Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Double Action Skills|name={{{name}}} }} }} |
|||
| 3 = {{Cat|Triple Action Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Triple Action Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Triple Action Skills|name={{{name}}} }} }} |
|||
| re = {{Cat|Reaction Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Reaction Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Reaction Skills|name={{{name}}} }} }} |
|||
| act = {{Cat|Activity Abilities|name={{{name}}} }} |
|||
{{#if: {{{spell| }}} | {{Cat|Activity Spells|name={{{name}}} }} }} |
|||
{{#if: {{{skill| }}} | {{Cat|Activity Skills|name={{{name}}} }} }} |
|||
| #default = {{Cat|Abilities|name={{{name}}} }} |
|||
}} |
|||
{{Cat|Abilities|name={{{name}}}}} }}</includeonly><noinclude> |
|||
== 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 === |
|||
* <code>1</code>: str (required) |
|||
*: The name or description of the ability, spell, or skill. |
|||
* <code>mental</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Indicates if the ability has a mental effect. |
|||
* <code>divine</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Specifies if the ability is divine. |
|||
* <code>magic</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Specifies if the ability is magical. |
|||
* <code>primal</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Indicates if the ability is primal in nature. |
|||
* <code>spiritual</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Indicates if the ability is spiritual. |
|||
* <code>oc</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Tags the ability as out-of-combat. |
|||
* <code>bc</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Tags the ability as before combat. |
|||
* <code>ic</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Tags the ability as in-combat. |
|||
* <code>life</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Indicates if the spell belongs to the Life domain. |
|||
* <code>storm</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Indicates if the spell belongs to the Storm domain. |
|||
* <code>necro</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Indicates if the spell belongs to the Necromancy domain. |
|||
* <code>flame</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Indicates if the spell belongs to the Flame domain. |
|||
* <code>nature</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Indicates if the spell belongs to the Nature domain. |
|||
* <code>spell</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Marks the entry as a spell. |
|||
* <code>skill</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Marks the entry as a skill. |
|||
* <code>standard</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Identifies the entry as a standard conjure spell or a semblant skill. |
|||
* <code>ball</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Identifies the entry as a ball-type spell or skill. |
|||
* <code>ray</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Identifies the entry as a ray-type spell or skill. |
|||
* <code>aura</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Identifies the entry as an aura-type spell or skill. |
|||
* <code>touch</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Identifies the entry as a touch-type spell or skill. |
|||
* <code>passive</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Tags the entry as passive. |
|||
* <code>tag</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Tags the entry for grouping under tags. |
|||
* <code>ritual</code>: bool (optional, defaults to <code>0</code>) |
|||
*: Tags the entry as a ritual. |
|||
* <code>action</code>: str (optional) |
|||
*: Specifies a custom action type for the skill. |
|||
* <code>rank</code>: str (optional, defaults to <code>nr</code>) |
|||
*: Specifies the rank of the ability (e.g., 0 for Journeyman, 1 for Rank 1). |
|||
* <code>num</code>: str (optional, defaults to <code>na</code>) |
|||
*: 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. |
|||
</noinclude> |