Template:5e Subclass Ability Section: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<includeonly>{{#if: {{{2|}}}|{{#if: {{{1|}}}|{{#switch: {{{1}}}
<!--{{#cargo_attach:
_table = 5e_Subclass
}}--></noinclude><includeonly>{{#if: {{{2|}}}|{{#if: {{{1|}}}|{{#switch: {{{1}}}
  | 2 =<nowiki></nowiki>
  | 2 =<nowiki></nowiki>
=={{{2}}}==
=={{{2}}}==
Line 15: Line 12:
  | default =<nowiki></nowiki>
  | default =<nowiki></nowiki>
==={{{2}}}===
==={{{2}}}===
}}
}} }}  
{{{3}}}<!--[[Features::{{{2}}}| ]]-->|<span style="color:#ff0000;">'''!Missing Depth!'''</span>{{#set: Error=Depth Missing}}}}
{{{3|}}} }}
|<span style="color:#ff0000;">'''!Missing Feature Name!'''</span>[[Error::Feature Name  Missing| ]]}}<!--
--><!--{{#cargo_store:
_table = 5e_Subclass
|where Page_Name={{FULLPAGENAME}}
|Subclass_Features={{{2|}}}
}}-->
</includeonly><noinclude>
</includeonly><noinclude>



Revision as of 10:14, 17 August 2020


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}}

Example

{{5e Subclass 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.