Template:Feat: Difference between revisions

Template page
Created page with "<includeonly>{{ #ifeq: {{PAGENAME}} | {{{name}}} | Category:Feat {{#if:{{{feat|}}} | [[Category:{{{feat}}}_Feat]] | }} }}</includeonly>"
Tag: wikieditor
 
No edit summary
 
(67 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Feat/doc}}</noinclude>
<includeonly>{{
<includeonly>{{
     #ifeq: {{PAGENAME}} | {{{name}}}  
     #ifeq: {{PAGENAME}} | {{{name}}}  
     | [[Category:Feat]]
     | [[Category:Feat]]
     {{#if:{{{feat|}}} | [[Category:{{{feat}}}_Feat]] | }}
     {{#if:{{{cat|}}} |
}}</includeonly>
        {{#ifexpr:{{#count:{{{cat|}}}|general}} > 0 | [[Category:General Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|ability}} > 0 | [[Category:Ability Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|dexterity}} > 0 | [[Category:Ability Feat]][[Category:Dexterity Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|perception}} > 0 | [[Category:Ability Feat]][[Category:Perception Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|strength}} > 0 | [[Category:Ability Feat]][[Category:Strength Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|constitution}} > 0 | [[Category:Ability Feat]][[Category:Constitution Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|intelligence}} > 0 | [[Category:Ability Feat]][[Category:Intelligence Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|wisdom}} > 0 | [[Category:Ability Feat]][[Category:Wisdom Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|charisma}} > 0 | [[Category:Ability Feat]][[Category:Charisma Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|luck}} > 0 | [[Category:Ability Feat]][[Category:Luck Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|skill}} > 0 | [[Category:Skill Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|acrobatics}} > 0 | [[Category:Skill Feat]][[Category:Acrobatics Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|alchemy}} > 0 | [[Category:Skill Feat]][[Category:Alchemy Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|animal handling}} > 0 | [[Category:Skill Feat]][[Category:Animal Handling Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|arcana}} > 0 | [[Category:Skill Feat]][[Category:Arcana Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|athletics}} > 0 | [[Category:Skill Feat]][[Category:Athletics Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|brawn}} > 0 | [[Category:Skill Feat]][[Category:Brawn Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|coercion}} > 0 | [[Category:Skill Feat]][[Category:Coercion Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|deception}} > 0 | [[Category:Skill Feat]][[Category:Deception Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|economics}} > 0 | [[Category:Skill Feat]][[Category:Economics Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|engineering}} > 0 | [[Category:Skill Feat]][[Category:Engineering Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|geography}} > 0 | [[Category:Skill Feat]][[Category:Geography Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|history}} > 0 | [[Category:Skill Feat]][[Category:History Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|insight}} > 0 | [[Category:Skill Feat]][[Category:Insight Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|investigation}} > 0 | [[Category:Skill Feat]][[Category:Investigation Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|medicine}} > 0 | [[Category:Skill Feat]][[Category:Medicine Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|nature}} > 0 | [[Category:Skill Feat]][[Category:Nature Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|occultism}} > 0 | [[Category:Skill Feat]][[Category:Occultism Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|druidism}} > 0 | [[Category:Skill Feat]][[Category:Druidism Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|psionics}} > 0 | [[Category:Skill Feat]][[Category:Psionics Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|religion}} > 0 | [[Category:Skill Feat]][[Category:Religion Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|society}} > 0 | [[Category:Skill Feat]][[Category:Society Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|sleight of hand}} > 0 | [[Category:Skill Feat]][[Category:Sleight of Hand Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|stealth}} > 0 | [[Category:Skill Feat]][[Category:Stealth Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|warfare}} > 0 | [[Category:Skill Feat]][[Category:Warfare Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|tool}} > 0 | [[Category:Tool Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|beautician}} > 0 | [[Category:Tool Feat]][[Category:Beautician Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|brewer}} > 0 | [[Category:Tool Feat]][[Category:Brewer Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|calligrapher}} > 0 | [[Category:Tool Feat]][[Category:Calligrapher Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|carpenter}} > 0 | [[Category:Tool Feat]][[Category:Carpenter Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|cobbler}} > 0 | [[Category:Tool Feat]][[Category:Cobbler Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|cook}} > 0 | [[Category:Tool Feat]][[Category:Cook Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|glassblower}} > 0 | [[Category:Tool Feat]][[Category:Glassblower Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|herbalist}} > 0 | [[Category:Tool Feat]][[Category:Herbalist Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|jeweler}} > 0 | [[Category:Tool Feat]][[Category:Jeweler Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|leatherworker}} > 0 | [[Category:Tool Feat]][[Category:Leatherworker Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|mason}} > 0 | [[Category:Tool Feat]][[Category:Mason Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|painter}} > 0 | [[Category:Tool Feat]][[Category:Painter Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|potter}} > 0 | [[Category:Tool Feat]][[Category:Potter Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|tailor}} > 0 | [[Category:Tool Feat]][[Category:Tailor Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|smith}} > 0 | [[Category:Tool Feat]][[Category:Smith Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|tattooist}} > 0 | [[Category:Tool Feat]][[Category:Tattooist Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|tinker}} > 0 | [[Category:Tool Feat]][[Category:Tinker Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|thieves}} > 0 | [[Category:Tool Feat]][[Category:Thieves Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|woodcarver}} > 0 | [[Category:Tool Feat]][[Category:Woodcarver Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|gaming}} > 0 | [[Category:Tool Feat]][[Category:Gaming Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|vehicle}} > 0 | [[Category:Vehicle Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|air vehicle}} > 0 | [[Category:Air Vehicle Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|land vehicle}} > 0 | [[Category:Land Vehicle Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|siege engine}} > 0 | [[Category:Vehicle Feat]][[Category:Siege Engine Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|water vehicle}} > 0 | [[Category:Water Vehicle Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|language}} > 0 | [[Category:Language Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|performance}} > 0 | [[Category:Performance Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|weapon}} > 0 | [[Category:Weapon Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|armor}} > 0 | [[Category:Armor Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|martial}} > 0 | [[Category:Martial Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|arcane}} > 0 | [[Category:Arcane Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|arcane spellcasting}} > 0 | [[Category:Spellcasting Feat]][[Category:Arcane Spellcasting Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|divine}} > 0 | [[Category:Divine Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|divine spellcasting}} > 0 | [[Category:Spellcasting Feat]][[Category:Divine Spellcasting Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|primal}} > 0 | [[Category:Primal Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|primal spellcasting}} > 0 | [[Category:Spellcasting Feat]][[Category:Primal Spellcasting Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|flora}} > 0 | [[Category:Primal Feat]][[Category:Flora Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|fauna}} > 0 | [[Category:Primal Feat]][[Category:Fauna Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|caelum}} > 0 | [[Category:Primal Feat]][[Category:Caelum Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|terra}} > 0 | [[Category:Primal Feat]][[Category:Terra Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|fungi}} > 0 | [[Category:Primal Feat]][[Category:Fungi Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|spiritus}} > 0 | [[Category:Primal Feat]][[Category:Spiritus Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|elementus}} > 0 | [[Category:Primal Feat]][[Category:Elementus Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|innate}} > 0 | [[Category:Innate Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|base power}} > 0 | [[Category:Innate Feat]][[Category:General Power Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|body power}} > 0 | [[Category:Innate Feat]][[Category:Body Power Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|psychic power}} > 0 | [[Category:Innate Feat]][[Category:Psychic Power Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|elemental power}} > 0 | [[Category:Innate Feat]][[Category:Elemental Power Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|occult}} > 0 |
            {{#ifexpr:{{#count:{{{cat|}}}|occultism}} = 1 | | [[Category:Occult Feat]]}} |
        }}
        {{#ifexpr:{{#count:{{{cat|}}}|occult spellcasting}} > 0 | [[Category:Spellcasting Feat]][[Category:Occult Spellcasting Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|invocation}} > 0 | [[Category:Occult Feat]][[Category:Eldritch Invocation Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|cantrip invocation}} > 0 | [[Category:Cantrip Invocation Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|at-will invocation}} > 0 | [[Category:At-Will Invocation Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|passive invocation}} > 0 | [[Category:Passive Invocation Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|once invocation}} > 0 | [[Category:Once Per Day Invocation Feat]] | }}
        {{#ifexpr:{{#count:{{{cat|}}}|cunning}} > 0 | [[Category:Cunning Feat]] | }}
    | }}
}}{{FeatCSS}}{{#if:{{{cat|}}} |
        {{#ifexpr:{{#count:{{{cat|}}}|cantrip invocation}} > 0 | <span class="feat-details">'''Invocation:''' [[Feat/List/Theme/Occult/Invocation/Cantrip|Cantrip]] [[Feat/List/Theme/Occult/Invocation|Invocation]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}}| }}
        {{#ifexpr:{{#count:{{{cat|}}}|at-will invocation}} > 0 | <span class="feat-details">'''Invocation:''' [[Feat/List/Theme/Occult/Invocation/At-Will|At-Will]] [[Feat/List/Theme/Occult/Invocation|Invocation]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|passive invocation}} > 0 | <span class="feat-details">'''Invocation:''' [[Feat/List/Theme/Occult/Invocation/Passive|Passive]] [[Feat/List/Theme/Occult/Invocation|Invocation]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|once invocation}} > 0 | <span class="feat-details">'''Invocation:''' [[Feat/List/Theme/Occult/Invocation/Once_Per_Day|Once Per Day]] [[Feat/List/Theme/Occult/Invocation|Invocation]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|flora}} > 0 | <span class="feat-details">'''Domain:''' [[Feat/List/Theme/Primal/Flora|Flora]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|fauna}} > 0 | <span class="feat-details">'''Domain:''' [[Feat/List/Theme/Primal/Fauna|Fauna]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|caelum}} > 0 | <span class="feat-details">'''Domain:''' [[Feat/List/Theme/Primal/Caelum|Caelum]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|terra}} > 0 | <span class="feat-details">'''Domain:''' [[Feat/List/Theme/Primal/Terra|Terra]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|fungi}} > 0 | <span class="feat-details">'''Domain:''' [[Feat/List/Theme/Primal/Fungi|Fungi]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|spiritus}} > 0 | <span class="feat-details">'''Domain:''' [[Feat/List/Theme/Primal/Spiritus|Spiritus]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|elementus}} > 0 | <span class="feat-details">'''Domain:''' [[Feat/List/Theme/Primal/Elementus|Elementus]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|body power}} > 0 | <span class="feat-details">'''Power:''' [[Feat/List/Theme/Innate/Body Power|Body Power]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|psychic power}} > 0 | <span class="feat-details">'''Power:''' [[Feat/List/Theme/Innate/Psychic Power|Psychic Power]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
        {{#ifexpr:{{#count:{{{cat|}}}|elemental power}} > 0 | <span class="feat-details">'''Power:''' [[Feat/List/Theme/Innate/Elemental Power|Elemental Power]]</span>{{#if:{{{prereq|}}} | <br> | &nbsp;
----}} | }}
| }}{{#if:{{{prereq|}}} | <span style="font-size:.8em;"><span style="font-weight:bold;">'''Prerequisite:'''</span> {{{prereq}}}</span>
<hr style="margin:-.8em 0 -.7em 0;">| }}</includeonly>

Latest revision as of 21:33, 23 October 2024

Usage

{{Feat
|name=
|cat=
|prereq=
}}

Important

The name parameter must be the same as the page name (underscore excluded, space works):

Feat Page URL: https://rp.klanen.org/wiki/kfp/Feat_Name
Template Parameter: |name=Feat Name

Tip: Use |name={{subst:PAGENAME}} to automatically add the page name to the |name= parameter.


To set the categories of the feat, write the category name in lowercase and a space between each. If a subcategory is chosen, the root category will also be added automagically.

|cat=sleight of hand

Will add Category:Skill Feat and Category:Sleight of Hand Feat

   general
   ability
       dexterity
       perception
       strength
       constitution
       intelligence
       wisdom
       charisma
       luck
   skill
       acrobatics
       alchemy
       animal handling
       arcana
       athletics
       brawn
       coercion
       deception
       economics
       engineering
       geography
       history
       insight
       investigation
       medicine
       nature
       occultism
       primalism
       psionics
       religion
       society
       sleight of hand
       stealth
       warfare
   tool
       beautician
       brewer
       calligrapher
       carpenter
       cobbler
       cook
       glassblower
       herbalist
       jeweler
       leatherworker
       mason
       painter
       potter
       tailor
       smith
       tattooist
       tinker
       thieves
       woodcarver
       gaming
   vehicle
       air vehicle
       land vehicle
       water vehicle
       siege engine
   language
   performance
   weapon
   armor
   martial
   arcane
       arcane spellcasting
   divine
       divine spellcasting
   primal
       primal spellcasting
       flora
       fauna
       caelum
       terra
       fungi
       spiritus
   innate
       base power
       body power
       psychic power
       elemental power
   occult
       occult spellcasting
       invocation
           cantrip invocation
           at-will invocation
           passive invocation
           once invocation
   cunning

The prereq paramter can describe prerequisite feats or other requirements.

|prereq=[[Arnold]], a lot of [[Strength]]