Template:5e Feat: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
|Summary=Wikitext String
|Summary=Wikitext String
|Benefit=Wikitext
|Benefit=Wikitext
|Race_Feat=Wikitext String <!--link to race or subrace-->
|Race_Feat=List (, ) of Wikitext String <!--link to race or subrace-->
|Feat_Canon=Boolean
|Feat_Canon=Boolean
|Feat_Pointer=Boolean
|Feat_Pointer=Boolean
Line 25: Line 25:
|Feat_Canon={{#if: {{{canon|}}}|1}}
|Feat_Canon={{#if: {{{canon|}}}|1}}
|Feat_Pointer={{#if: {{{pointer|}}}|1}}
|Feat_Pointer={{#if: {{{pointer|}}}|1}}
}}}}[[Category:5e Feats]]
}}}}[[Category:5e Feats]]{{#if: {{{racefeat|}}}|{{5e Race Line to Cat|{{{racefeat}}}}}[[Category:5e Racial Feat]]|}}
</includeonly><noinclude>
</includeonly><noinclude>
==Syntax==
==Syntax==
Line 50: Line 50:
|Summary=Wikitext String
|Summary=Wikitext String
|Benefit=Wikitext
|Benefit=Wikitext
|Race_Feat=Wikitext String <!--link to race or subrace-->
|Race_Feat=List (, ) of Wikitext String <!--list of races or subraces-->
|Feat_Canon=Boolean
|Feat_Canon=Boolean
|Feat_Pointer=Boolean
|Feat_Pointer=Boolean

Revision as of 08:23, 18 September 2020

This template defines the table "5e_Feats". View table.

Syntax

{{5e Feat
|name= <!--Feat Name-->
|sorttext= <!--Usually blank, category sort-->
|pub=<!--blank or publication name-->
|prereqs= <!--blank, otherwise list prerequisites-->
|racefeat=<!--blank or link to race if racial feat-->
|canon=<!--blank, true if canon-->
|pointer=<!--blank, true if pointer-->
|summary=
|benefit= <!--benefit of feat-->
}}

Database Table

table = 5e_Feats
|Sort_Text = String
|Feat_Name=String
|Prereqs=List (, ) of Wikitext String
|Summary=Wikitext String
|Benefit=Wikitext
|Race_Feat=List (, ) of Wikitext String <!--list of races or subraces-->
|Feat_Canon=Boolean
|Feat_Pointer=Boolean

Example

{{5e Feat
|name=Foo <!--Feat Name-->
|sorttext= <!--Usually blank, category sort-->
|prereqs={{SRD5|Strength}} 13+, {{SRD5|Intelligence}} <10
|summary=You can fool some of the people...
|benefit=The Foo feat allows you to be a fool.
* Strength and {{SRD5|Dexterity}} {{srd5lc|Check}}s to escape a {{srd5lc|Grapple}} have {{srd5lc|Advantage}}.
* {{SRD5|Insight}} checks are at {{srd5lc|Disadvantage}}.
* add 1d4 to {{SRD5|Charisma}} {{srd5lc|Saving Throw}}s.<!--benefit of feat-->
}}

produces...

The Foo is a feat in 5th ed. Dungeons & Dragons.

Foo
Prerequisite: Strength 13+, Intelligence <10
The Foo feat allows you to be a fool.