Template:5e Class Ability Section: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly> {{#if: {{{2|}}}|{{#if: {{{1|}}}|[[Features::{{{2}}}| ]]{{#switch: {{{1}}} | 2 = =={{{2}}}== {{{3}}} | 3 = ==={{{2}}}=== {{{3}}} | 4 = ===...") |
No edit summary |
||
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> | |||
| 3 = | |||
==={{{2}}}=== | ==={{{2}}}=== | ||
| 4 =<nowiki></nowiki> | |||
| 4 = | |||
===={{{2}}}==== | ===={{{2}}}==== | ||
| 5 =<nowiki></nowiki> | |||
| 5 = | |||
====={{{2}}}===== | ====={{{2}}}===== | ||
| 6 =<nowiki></nowiki> | |||
| 6 = | |||
======{{{2}}}====== | ======{{{2}}}====== | ||
| default =<nowiki></nowiki> | |||
| default = | |||
==={{{2}}}=== | ==={{{2}}}=== | ||
{{{3}}} | }} | ||
}}|<span style="color:#ff0000;">'''!Missing Depth!'''</span>{{#set: Error=Depth Missing}}}} | {{{3}}}[[Features::{{{2}}}| ]]|<span style="color:#ff0000;">'''!Missing Depth!'''</span>{{#set: Error=Depth Missing}}}} | ||
|<span style="color:#ff0000;">'''!Missing Feature Name!'''</span>[[Error::Feature Name Missing| ]]}} | |<span style="color:#ff0000;">'''!Missing Feature Name!'''</span>[[Error::Feature Name Missing| ]]}} | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 12:16, 30 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 Section|depth|name|description}}
Example
{{5e Ability Section|3|Foo|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.