Template:5e Subclass Ability Section: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
Tag: Redirect target changed
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
#redirect: [[Template:5x Subclass Ability Section]]
{{#cargo_attach:
_table = 5e_Subclass
}}<!--
|Sort_Text = String
|Page_Name=Page
|Class_Name=String
|Hit_Die=String
|HD_Num=Integer
|Armor_Prof=List (, ) of Wikitext string
|Weapon_Prof=List (, ) of Wikitext string
|Tool_Prof=List (, ) of Wikitext string
|Save_Prof=List (, ) of Wikitext string
|Skill_Prof=List (, ) of Wikitext string
|Skill_Num=String
|Start_Equip=List (, ) of Wikitext string
|Prerequisites=List (* ) of Wikitext string
|Summary=Wikitext
|Canon_Spell=Boolean
|Class_Features=List (, ) of Wikitext string
}}--></noinclude><includeonly>{{#if: {{{2|}}}|{{#if: {{{1|}}}|{{#switch: {{{1}}}
| 2 =<nowiki></nowiki>
=={{{2}}}==
| 3 =<nowiki></nowiki>
==={{{2}}}===
| 4 =<nowiki></nowiki>
===={{{2}}}====
| 5 =<nowiki></nowiki>
====={{{2}}}=====
| 6 =<nowiki></nowiki>
======{{{2}}}======
| default =<nowiki></nowiki>
==={{{2}}}===
}}
{{{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| ]]}}<!--
-->{{#cargo_store:
_table = 5e_Subclass
|where Page_Name={{FULLPAGENAME}}
|Subclass_Features ={{{2|}}}
}}
</includeonly><noinclude>
 
==Use==
Used in many templates. It places an HTML anchor for the first term (name) and then lists the second term (description).
 
==Syntax==
<pre>{{5e Subclass Ability Section|depth|name|description}}</pre>
 
==Example==
<pre>{{5e Subclass Ability Section|3|Foo|The description of foo is that it acts as a placeholder for a value.}}</pre>
Produces...
 
{{5e Subclass 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]]
</noinclude>

Latest revision as of 07:19, 21 September 2024