Template:5e Class Ability Section: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:
_table = 5e_Class
_table = 5e_Class
|where Page_Name={{FULLPAGENAME}}
|where Page_Name={{FULLPAGENAME}}
|Class_Features ={{{2|}}}
|Class_Features ={{#if: {{{first|}}}|{{{2|}}}|, {{{2|}}}}}
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
Line 47: Line 47:
==Syntax==
==Syntax==
<pre>{{5e Class Ability Section|depth|name|description}}</pre>
<pre>{{5e Class Ability Section|depth|name|description}}</pre>
===Add'l Parameters===
first= (blank, true if first ability)


==Example==
==Example==

Revision as of 08:12, 21 February 2020

This template adds rows to the table "5e_Class", which is declared by the template 5e Class Features. View table.

Use

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

Syntax

{{5e Class Ability Section|depth|name|description}}

Add'l Parameters

first= (blank, true if first ability)

Example

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