Template:Feat: Difference between revisions

Template page
No edit summary
Tag: wikieditor
No edit summary
Tag: wikieditor
Line 21: Line 21:
     | [[Category:Feat]]
     | [[Category:Feat]]
     {{#if:{{{cat|}}} |  
     {{#if:{{{cat|}}} |  
        {{#ifexpr:{{#count:{{{cat|}}}|general}} > 0 | [[Category:General Feat]] | }}
         {{#ifexpr:{{#count:{{{cat|}}}|ability}} > 0 | [[Category:Ability Feat]] | }}
         {{#ifexpr:{{#count:{{{cat|}}}|ability}} > 0 | [[Category:Ability Feat]] | }}
         {{#ifexpr:{{#count:{{{cat|}}}|dexterity}} > 0 | [[Category:Ability Feat]][[Category:Dexterity Feat]] | }}
         {{#ifexpr:{{#count:{{{cat|}}}|dexterity}} > 0 | [[Category:Ability Feat]][[Category:Dexterity Feat]] | }}

Revision as of 15:30, 8 March 2023

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

To set the categories of the feat, write the category name in lowercase and a space between each.

|cat=stealth sleight of hand

See source and all {{{cat|}}} for allowed categories.


The prereq paramter can describe prerequisite feats or other requirements.

|prereq=[[Arnold]] and a lot of dex