Template:5e Subclass Ability Section: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(opt level)
No edit summary
 
Line 13: Line 13:
==={{{2}}}===
==={{{2}}}===
}} }}
}} }}
{{#if: {{{4|}}}|''{{{4}}} level feature.''<br />|}}  
{{#if: {{{4|}}}|''{{{4}}} level{{#if: {{{5|}}}|&ensp;{{{5}}}|}} feature.''<br />|}}  
{{{3|}}} }}
{{{3|}}} }}
</includeonly><noinclude>
</includeonly><noinclude>
Line 21: Line 21:


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


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


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




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

Latest revision as of 15:12, 18 February 2021


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 Subclass Ability Section|depth|name|description|optLevel|optSubclassName}}

Example[edit]

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

Produces...

Foo

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