Template:5e Casters Sub: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if: {{{show|}}}|{{5e Class Array|{{{1}}}}}|}}[[Category:5e {{{1}}} Spells]]<!--{{#set: Caster={{{1}}}}}--></includeonly><noinclude>
<includeonly>{{#if: {{{show|}}}|{{5e Class Array|{{{1}}}}}|}}[[Category:5e {{{1}}} Spells]][[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 5:


Returns:  
Returns:  
<nowiki>[[Category:5e Class_Name Spells]]{{#set: Casters=Class_Name}}</nowiki><br />
<nowiki>[[Category:5e Class_Name Spells]][[Casters::Class_Name| ]]</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]][[Casters::Class_Name| ]]</nowiki>


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

Revision as of 07:47, 8 October 2019

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

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

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