Template:5e Feat: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly> {{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}}| }}The '''{{{name|}}}''' is a {{srd5lc|Feat}}Ca...")
 
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[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|}}}}}|}}''.
<noinclude>
 
{{#cargo_declare:
'''<big><big>{{{name|}}}</big></big>'''[[Summary::{{{summary|}}}| ]]{{#if: {{{prereqs|}}}|<br />''Prerequisite: {{#arraymap: {{{prereqs}}}|,|x|x<!--[[Prerequisite::x| ]]-->}}
_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 <!--link to race or subrace-->
|Feat_Canon=Boolean
|Feat_Pointer=Boolean
}}</noinclude><includeonly>
'''<big><big>{{{name|}}}</big></big>'''{{#if: {{{refs|}}}|&ensp;{{{refs}}}|}} <span style="font-size:0.9em;">({{srd5lc|Feat}}){{#if: {{{pointer|}}}|&ensp;([[pointer]])|}}</span>{{#if: {{{prereqs|}}}|<br />''Prerequisite: {{#arraymap: {{{prereqs}}}|,|x|x}}
}}<br/>
}}<br/>
{{{benefit|No benefit written.}}}
{{#if: {{{benefit|}}}|{{{benefit}}}|'''Unofficial Description:''' {{{summary|}}}}}<!--
-- Cargo Store --
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store: _table = 5e_Feats
|Sort_Text={{#if: {{{sorttext|}}}|{{{sorttext}}} 5e|{{PAGENAME}} 5e}}
|Feat_Name={{{name|}}}
|Prereqs={{{prereqs|}}}
|Summary={{{summary|}}}
|Benefit={{{benefit|}}}
|Race_Feat={{{racefeat|}}}
|Feat_Canon={{#if: {{{canon|}}}|1}}
|Feat_Pointer={{#if: {{{pointer|}}}|1}}
}}<!--
-- Categories --
-->{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}}| }}[[Category:5e Feats]]{{#if: {{{racefeat|}}}|{{5e Race Line to Cat|{{{racefeat}}}}}[[Category:5e Racial Feat]]|}}
}}<!--endif nodb-->
</includeonly><noinclude>
</includeonly><noinclude>
{{documentation}}
==Syntax==
<pre>
{{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-->
}}
</pre>
===Deprecated Entries===
<pre>|pub= (replaced by refs)</pre>
 
==Example==
<pre>
{{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-->
}}
</pre>
 
produces...
 
{{5e Feat
|nodb=true
|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-->
}}
 


[[Category:5e Templates|Feat 5e]]
[[Category:5e Templates|Feat 5e]]
</noinclude>
</noinclude>

Latest revision as of 17:47, 30 July 2022

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

Syntax[edit]

{{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[edit]

|pub= (replaced by refs)

Example[edit]

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


Foo[1] (feat)
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.