Difference between revisions of "Template:5e Feat"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (category)
 
Line 1: Line 1:
<includeonly>{{#set: Is Feat=true}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}}| }}The '''{{{name|}}}''' is a {{srd5lc|Feat}}[[Category:5e Feats]] in 5th ed. Dungeons & Dragons{{#if: {{{pub|}}}|&ensp;described in the ''{{pub|{{{pub|}}}}}|}}''.
+
<includeonly>{{#set: Is Feat=true}}{{#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|}}}}}|}}''.
  
 
'''<big><big>{{{name|}}}</big></big>'''[[Summary::{{{summary|}}}| ]]{{#if: {{{prereqs|}}}|<br />''Prerequisite: {{#arraymap: {{{prereqs}}}|,|x|[[Prerequisite::x]]}}
 
'''<big><big>{{{name|}}}</big></big>'''[[Summary::{{{summary|}}}| ]]{{#if: {{{prereqs|}}}|<br />''Prerequisite: {{#arraymap: {{{prereqs}}}|,|x|[[Prerequisite::x]]}}

Latest revision as of 06:43, 13 July 2019

Template documentation (for the above template, sometimes hidden or invisible)

Syntax[edit]

{{5e Feat
|name= <!--Feat Name-->
|sorttext= <!--Usually blank, category sort-->
|prereqs= <!--blank, otherwise list prerequisites-->
|summary=
|benefit= <!--benefit of feat-->
}}

Example[edit]

{{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.



Visit Template:5e Feat/doc to edit this text! (How does this work?)