Difference between revisions of "Template:5e Ability"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m (test)
(option: limit)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''''{{{1}}}.''''' {{{2}}}
+
<includeonly>'''''{{anchor|{{{1}}}}}{{#if: {{{limit|}}}|&ensp;({{{limit}}})|}}.''''' {{{2}}}{{#if: {{{1|}}}|{{#set: Features={{{1}}}}}|}}</includeonly><noinclude>
 +
 
 +
==Use==
 +
Used in many templates. It places an HTML anchor for the first term (name) and then lists the second term (description).
 +
 
 +
==Syntax==
 +
<pre>{{5e Ability|name|description}}</pre>
 +
===Optional Entries===
 +
<pre>
 +
|limit= <!-- limits how often. I.e. 3/Day, {{SRD5|Recharge}} 5-6, etc. -->
 +
</pre>
 +
 
 +
==Example==
 +
<pre>
 +
{{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.}}
 +
</pre>
 +
 +
Produces...
 +
 
 +
{{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.}}
 +
 
 +
[[Category:5e Templates]]

Latest revision as of 04:32, 22 July 2019


Use[edit]

Used in many templates. It places an HTML anchor for the first term (name) and then lists the second term (description).

Syntax[edit]

{{5e Ability|name|description}}

Optional Entries[edit]

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

Example[edit]

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