Template:5e Subclass Ability Section: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
(opt level)
Line 12: Line 12:
  | default =<nowiki></nowiki>
  | default =<nowiki></nowiki>
==={{{2}}}===
==={{{2}}}===
}} }}  
}} }}
{{#if: {{{4|}}}|''{{{4}}} level feature.''<br />|}}  
{{{3|}}} }}
{{{3|}}} }}
</includeonly><noinclude>
</includeonly><noinclude>
Line 20: Line 21:


==Syntax==
==Syntax==
<pre>{{5e Subclass Ability Section|depth|name|description}}</pre>
<pre>{{5e Subclass Ability Section|depth|name|description|optLevel}}</pre>


==Example==
==Example==
<pre>{{5e Subclass Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.}}</pre>
<pre>{{5e Subclass Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.|2nd}}</pre>
   
   
Produces...
Produces...


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




[[Category:5e Templates|Ability Section Template 5e]]
[[Category:5e Templates|Ability Section Template 5e]]
</noinclude>
</noinclude>

Revision as of 17:27, 3 January 2021


Use

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

Syntax

{{5e Subclass Ability Section|depth|name|description|optLevel}}

Example

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

Produces...

Foo

2nd level feature.
The description of foo is that it acts as a placeholder for a value.