Difference between revisions of "Template:5x Subclass Ability Section"
From Dungeons and Dragons Wiki
(Created page with "<includeonly> {{#if: {{{2|}}}|{{#if: {{{1|}}}|{{#set: Features={{{2}}}}}{{#switch: {{{1}}} | 2 = =={{{2}}}== {{#if: {{{lvl|}}}|''{{{lvl}}} level feature''<br />|}}{{{3}}} | 3...") |
m |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#if: {{{2|}}}|{{#if: {{{1|}}}|{{#switch: {{{1}}} |
− | {{#if: {{{2|}}}|{{#if: {{{1|}}}| | + | | 2 =<nowiki></nowiki> |
− | | 2 = | ||
=={{{2}}}== | =={{{2}}}== | ||
− | + | | 3 =<nowiki></nowiki> | |
− | |||
==={{{2}}}=== | ==={{{2}}}=== | ||
− | + | | 4 =<nowiki></nowiki> | |
− | |||
===={{{2}}}==== | ===={{{2}}}==== | ||
− | + | | 5 =<nowiki></nowiki> | |
− | |||
====={{{2}}}===== | ====={{{2}}}===== | ||
− | + | | 6 =<nowiki></nowiki> | |
− | |||
======{{{2}}}====== | ======{{{2}}}====== | ||
− | + | | default =<nowiki></nowiki> | |
− | |||
==={{{2}}}=== | ==={{{2}}}=== | ||
− | {{#if: {{{ | + | }} }} |
− | }} | + | {{#if: {{{4|}}}|''{{{4}}} level{{#if: {{{5|}}}| {{{5}}}|}} feature.''<br />|}} |
− | + | {{{3|}}} }} | |
− | + | </includeonly><noinclude>{{tocright}} | |
− | </includeonly><noinclude> | ||
− | |||
==Use== | ==Use== | ||
− | Used in many templates. It places an HTML anchor for the first term ( | + | Used in many templates. It places an HTML anchor for the first term (subclass) and then lists the second term (description). |
==Syntax== | ==Syntax== | ||
− | <pre>{{ | + | <pre>{{5x Subclass Ability Section|depth|name|description|optLevel|optSubclassName}}</pre> |
− | |||
− | |||
==Example== | ==Example== | ||
− | <pre>{{5x Subclass Ability Section|3| | + | <pre>{{5x Subclass Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.|2nd|Bar}}</pre> |
Produces... | Produces... | ||
− | {{5x Subclass Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.| | + | {{5x Subclass Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.|3rd|Bar}} |
− | [[Category:5x Templates| | + | [[Category:5x Templates|Ability Section Template 5x]] |
</noinclude> | </noinclude> |
Latest revision as of 01:39, 23 September 2024
Use[edit]
Used in many templates. It places an HTML anchor for the first term (subclass) and then lists the second term (description).
Syntax[edit]
{{5x Subclass Ability Section|depth|name|description|optLevel|optSubclassName}}
Example[edit]
{{5x Subclass Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.|2nd|Bar}}
Produces...
Foo
3rd level Bar feature.
The description of foo is that it acts as a placeholder for a value.