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...")
 
No edit summary
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:
_table = 5e_Feats
|Sort_Text = String
|Feat_Name=String
|Prereqs=List (, ) of Wikitext String
|Summary=Wikitext String
|Benefit=Wikitext
|Race_Feat=Wikitext String <!--link to race or subrace-->
|Feat_Canon=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|}}}}}|}}''.


'''<big><big>{{{name|}}}</big></big>'''[[Summary::{{{summary|}}}| ]]{{#if: {{{prereqs|}}}|<br />''Prerequisite: {{#arraymap: {{{prereqs}}}|,|x|x<!--[[Prerequisite::x| ]]-->}}
'''<big><big>{{{name|}}}</big></big>'''{{#if: {{{prereqs|}}}|<br />''Prerequisite: {{#arraymap: {{{prereqs}}}|,|x|x}}
}}<br/>
}}<br/>
{{{benefit|No benefit written.}}}
{{{benefit|No benefit written.}}}<!--
-- 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={{{benifit|}}}
|Race_Feat={{{racefeat|}}}
|Feat_Canon={{#if: {{{canon|}}}|1}}
|Feat_Pointer={{#if: {{{pointer|}}}|1}}
}}}}
</includeonly><noinclude>
</includeonly><noinclude>
{{documentation}}
==Syntax==
<pre>
{{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-->
}}
</pre>
 
==Example==
<pre>
{{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-->
}}
</pre>
 
produces...
 
{{5e Feat
|nodb=true
|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-->
}}
 


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

Revision as of 17:34, 11 April 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-->
}}

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.