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]]}}

Revision as of 12:43, 13 July 2019

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

Syntax

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

Optional Entries

|canon= <!--blank, or true-->
|nolead= <!-- blank, or true to suppress "featname is a feat in 5th..."-->
|pointer= <!--blank, or true-->
 

Example

{{5e Feat
|name=Foo <!--Feat Name-->
|sorttext= <!--Usually blank, category sort-->
|refs=<ref name="fgtn">{{Cite Pub|Foo's Guide to Notthing|pages=12}} Licensed: [[Public Domain]]</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...

Foo [1] (Feat)
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?)