Template:5e Class Ability Section: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
(cargo table attach)
Line 1: Line 1:
<includeonly>{{#if: {{{2|}}}|{{#if: {{{1|}}}|{{#switch: {{{1}}}
<noinclude>
{{#cargo_attach:
_table = 5e_Class
}}<!--
|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 =<nowiki></nowiki>
=={{{2}}}==
=={{{2}}}==
Line 13: Line 33:
==={{{2}}}===
==={{{2}}}===
}}
}}
{{{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:
_table = 5e_Class
|where Page_Name=_pageName
|Class_Features ={{{2|}}}
}}
</includeonly><noinclude>
</includeonly><noinclude>



Revision as of 17:30, 19 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 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.