Template:5e Feat: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 10: Line 10:
|Feat_Canon=Boolean
|Feat_Canon=Boolean
|Feat_Pointer=Boolean
|Feat_Pointer=Boolean
}}</noinclude><includeonly>{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}}| }}The '''{{{name|}}}''' is a {{srd5lc|Feat}}[[Category:5e]][[Category:5e Feats]] in 5th ed. Dungeons & Dragons{{#if: {{{pub|}}}|&ensp;described in the ''{{pub|{{{pub|}}}}}|}}''.
}}</noinclude><includeonly>{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}}| }}The '''{{{name|}}}''' is a {{srd5lc|Feat}}[[Category:5e]][[Category:5e Feats]] in [[5e|5th ed. Dungeons & Dragons]]{{#if: {{{pub|}}}|&ensp;described in the ''{{pub|{{{pub|}}}}}|}}''.


'''<big><big>{{{name|}}}</big></big>'''{{#if: {{{prereqs|}}}|<br />''Prerequisite: {{#arraymap: {{{prereqs}}}|,|x|x}}
'''<big><big>{{{name|}}}</big></big>'''{{#if: {{{refs|}}}|<span style="display:inline; float:right;">{{{refs}}}</span>|}}{{#if: {{{prereqs|}}}|<br />''Prerequisite: {{#arraymap: {{{prereqs}}}|,|x|x}}
}}<br/>
}}<br/>
{{#if: {{{benefit|}}}|{{{benefit}}}|'''Unofficial Description:''' {{{summary|}}}}}<!--
{{#if: {{{benefit|}}}|{{{benefit}}}|'''Unofficial Description:''' {{{summary|}}}}}<!--
Line 21: Line 21:
|Prereqs={{{prereqs|}}}
|Prereqs={{{prereqs|}}}
|Summary={{{summary|}}}
|Summary={{{summary|}}}
|Benefit={{{benifit|}}}
|Benefit={{{benefit|}}}
|Race_Feat={{{racefeat|}}}
|Race_Feat={{{racefeat|}}}
|Feat_Canon={{#if: {{{canon|}}}|1}}
|Feat_Canon={{#if: {{{canon|}}}|1}}
Line 32: Line 32:
|name= <!--Feat Name-->
|name= <!--Feat Name-->
|sorttext= <!--Usually blank, category sort-->
|sorttext= <!--Usually blank, category sort-->
|pub=<!--blank or publication name-->
|refs=
|prereqs= <!--blank, otherwise list prerequisites-->
|prereqs= <!--blank, otherwise list prerequisites-->
|racefeat=<!--blank or link to race if racial feat-->
|racefeat=<!--blank or link to race if racial feat-->
Line 41: Line 41:
}}
}}
</pre>
</pre>
===Deprecated Entries===
<pre>|pub= (replaced by refs)</pre>


==Database Table==
==Database Table==
Line 60: Line 62:
|name=Foo <!--Feat Name-->
|name=Foo <!--Feat Name-->
|sorttext= <!--Usually blank, category sort-->
|sorttext= <!--Usually blank, category sort-->
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=128}} Licensed: [[CC-BY-SA]].</ref>
|prereqs={{SRD5|Strength}} 13+, {{SRD5|Intelligence}} <10
|prereqs={{SRD5|Strength}} 13+, {{SRD5|Intelligence}} <10
|summary=You can fool some of the people...
|summary=You can fool some of the people...
Line 75: Line 78:
|name=Foo <!--Feat Name-->
|name=Foo <!--Feat Name-->
|sorttext= <!--Usually blank, category sort-->
|sorttext= <!--Usually blank, category sort-->
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=128}} Licensed: [[CC-BY-SA]].</ref>
|prereqs={{SRD5|Strength}} 13+, {{SRD5|Intelligence}} <10
|prereqs={{SRD5|Strength}} 13+, {{SRD5|Intelligence}} <10
|summary=You can fool some of the people...
|summary=You can fool some of the people...

Revision as of 18:56, 6 October 2021

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

Syntax

{{5e Feat
|name= <!--Feat Name-->
|sorttext= <!--Usually blank, category sort-->
|refs=
|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-->
}}

Deprecated Entries

|pub= (replaced by refs)

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-->
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=128}} Licensed: [[CC-BY-SA]].</ref>
|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[1]
Prerequisite: Strength 13+, Intelligence <10
The Foo feat allows you to be a fool.

  1. Foo's Guide to Nothing p. 128. Licensed: CC-BY-SA.