Template:5e Class Ability Section: Difference between revisions
Jump to navigation
Jump to search
m (Rlyehable moved page Template:5e Ability Section to Template:5e Class Ability Section) |
(removed cargo table attach & store) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#cargo_attach: | <!--{{#cargo_attach: | ||
_table = 5e_Class | _table = 5e_Class | ||
}}<!-- | }}--><!-- | ||
|Sort_Text = String | |Sort_Text = String | ||
|Page_Name=Page | |Page_Name=Page | ||
Line 35: | Line 35: | ||
{{{3}}}<!--[[Features::{{{2}}}| ]]-->|<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| ]]}}<!-- | ||
-->{{#cargo_store: | --><!--{{#cargo_store: | ||
_table = 5e_Class | _table = 5e_Class | ||
|where Page_Name= | |where Page_Name={{FULLPAGENAME}} | ||
|Class_Features ={{{2|}}} | |Class_Features ={{#if: {{{first|}}}|{{{2|}}}|, {{{2|}}}}} | ||
}} | }}--> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 46: | Line 46: | ||
==Syntax== | ==Syntax== | ||
<pre>{{5e 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== | ||
<pre>{{5e Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.}}</pre> | <pre>{{5e Class Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.}}</pre> | ||
Produces... | Produces... | ||
{{5e Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.}} | {{5e Class Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.}} | ||
[[Category:5e Templates|Ability Section Template 5e]] | [[Category:5e Templates|Ability Section Template 5e]] | ||
</noinclude> | </noinclude> |
Latest revision as of 08:28, 21 February 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 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.