Template:5e Ability: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<includeonly>'''''{{anchor|{{{1}}}}}{{#if: {{{limit|}}}| ({{{limit}}})|}}.''''' {{{2}}}{{#if: {{{1|}}}|{{#set: Features={{{1}}}}}|}}</includeonly><noinclude> ==Use== Use...")
 
No edit summary
Line 1: Line 1:
<includeonly>'''''{{anchor|{{{1}}}}}{{#if: {{{limit|}}}|&ensp;({{{limit}}})|}}.''''' {{{2}}}{{#if: {{{1|}}}|{{#set: Features={{{1}}}}}|}}</includeonly><noinclude>
<includeonly>'''''{{anchor|{{{1}}}}}{{#if: {{{limit|}}}|&ensp;({{{limit}}})|}}.''''' {{{2}}}{{#if: {{{1|}}}|[[Features::{{{1}}}| ]]|}}</includeonly><noinclude>


==Use==
==Use==

Revision as of 20:01, 26 September 2019


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.