Template:5e Ability: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>'''''{{anchor|{{{1}}}}}{{#if: {{{limit|}}}| ({{{limit}}})|}}.''''' {{{2}}}{{# | <noinclude><!-- Cargo Table --> | ||
{{#cargo_declare: | |||
_table = 5e_Features | |||
|Sort_Text = String | |||
|Features = String | |||
}} | |||
</noinclude><includeonly>{{#if: {{{1|}}}|'''''{{anchor|{{{1}}}}}{{#if: {{{limit|}}}| ({{{limit}}})|}}.''''' {{{2}}}{{#cargo_store: _table = 5e_Features|Features={{{1}}}}}[[Features::{{{1}}}| ]]|}}</includeonly><noinclude> | |||
==Use== | ==Use== |
Revision as of 19:26, 31 January 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).
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.