Template:5e Ability: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 32: Line 32:
{{5e Ability|Foo|The description of foo is that it acts as a placeholder for a value.|nodb=true}}
{{5e Ability|Foo|The description of foo is that it acts as a placeholder for a value.|nodb=true}}


{{5e Ability|Foo|limit={{SRD5|Recharge}}s 5-6|The description of foo is that it acts as a placeholder for a value.}}
{{5e Ability|Foo|limit={{SRD5|Recharge}}s 5-6|The description of foo is that it acts as a placeholder for a value.|nodb=true}}


[[Category:5e Templates|Ability 5e]]
[[Category:5e Templates|Ability 5e]]

Revision as of 06:51, 1 March 2020

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


Use

Used in many templates. It places an HTML anchor for the first term (name) and then lists the second term (description). It also places the feature in the 5e_Features db table.

Syntax

{{5e Ability|name|description}}

Optional Entries

|limit= <!-- limits how often. I.e. 3/Day, {{SRD5|Recharge}} 5-6, etc. -->

Example

{{5e Ability|Foo|The description of foo is that it acts as a placeholder for a value.}}

{{5e Ability|Foo|limit={{SRD5|Recharge}}s 5-6|The description of foo is that it acts as a placeholder for a value.}}

Produces...

Foo. The description of foo is that it acts as a placeholder for a value.

Foo (Recharges 5-6). The description of foo is that it acts as a placeholder for a value.