Template:5e Casters Sub: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{show|}}}|{{5e Class Array|{{{1}}}}}|}}[[Category:5e {{{1}}} Spells]]<!--{{#set: Caster={{{1}}}}}--></includeonly><noinclude>
<noinclude>
{{#cargo_attach:
_table = 5eSpell
}}</noinclude><includeonly>{{#if: {{{show|}}}|{{5e Class Array|{{{1}}}}}|}}[[Category:5e {{{1}}} Spells]]{{#cargo_store: _table = 5eSpell|Casters = {{{1}}}}}<!--[[Caster::{{{1}}}| ]]--></includeonly><noinclude>
This is a subroutine for the <nowiki>{{5e Casters}}</nowiki> template.
This is a subroutine for the <nowiki>{{5e Casters}}</nowiki> template.


Line 5: Line 8:


Returns:  
Returns:  
<nowiki>[[Category:5e Class_Name Spells]]{{#set: Casters=Class_Name}}</nowiki><br />
<nowiki>[[Category:5e Class_Name Spells]]</nowiki><br />
-or-<br />
-or-<br />
{{5ep|Class_Name}}<nowiki>[[Category:5e Class_Name Spells]]{{#set: Casters=Class_Name}}</nowiki>
{{5ep|Class_Name}}<nowiki>[[Category:5e Class_Name Spells]]</nowiki>


[[Category:5e Templates|Casters Sub 5e]]
[[Category:5e Templates|Casters Sub 5e]]
</noinclude>
</noinclude>

Latest revision as of 12:06, 26 January 2020

Error: The specified table, "5eSpell", does not exist.

This is a subroutine for the {{5e Casters}} template.

Format: {{5e Casters Sub|Class_Name|show=t}}

Returns: [[Category:5e Class_Name Spells]]
-or-
Class_Name[[Category:5e Class_Name Spells]]