Template:5e Subclass List: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{| class="zebra sortable small" !Subclass !Summary !Features !Flags !License !Source |- {{#cargo_query: tables=5e_Subclass, Pages_Info |join on=5e_Subclass._pageN...") |
No edit summary |
||
Line 10: | Line 10: | ||
tables=5e_Subclass, Pages_Info | tables=5e_Subclass, Pages_Info | ||
|join on=5e_Subclass._pageName=Pages_Info._pageName | |join on=5e_Subclass._pageName=Pages_Info._pageName | ||
|where=5e_Subclass.Class_Name='{{{1|}}}' {{ | |where={{#if: {{{showhidden|}}}|5e_Subclass.Class_Name='{{{1|}}}'|5e_Subclass.Class_Name='{{{1|}}}' AND (Pages_Info.Hidden=0 OR Pages_Info.Hidden IS NULL)}} | ||
|fields=5e_Subclass._pageName,5e_Subclass.Subclass_Name,5e_Subclass.Subclass_Summary,5e_Subclass.Subclass_Features,Pages_Info.Sources,Pages_Info.Licenses,Pages_Info.Canon,Pages_Info.Pointer,Pages_Info.User,Pages_Info.UA,Pages_Info.Hidden | |fields=5e_Subclass._pageName,5e_Subclass.Subclass_Name,5e_Subclass.Subclass_Summary,5e_Subclass.Subclass_Features,Pages_Info.Sources,Pages_Info.Licenses,Pages_Info.Canon,Pages_Info.Pointer,Pages_Info.User,Pages_Info.UA,Pages_Info.Hidden | ||
|format=template | |format=template | ||
Line 21: | Line 21: | ||
==Syntax== | ==Syntax== | ||
<pre>{{5e Subclass List|className}}</pre> | <pre>{{5e Subclass List|className}}</pre> | ||
===Add'l Entries=== | |||
<pre>|showhidden=<!-- blank, true will show hidden. Admin only --> | |||
==Example== | ==Example== | ||
<pre>{{5e Subclass List| | <pre>{{5e Subclass List|Artificer}}</pre> | ||
produces... | produces... | ||
{{5e Subclass List| | {{5e Subclass List|Artificer}} | ||
[[Category:5e Templates]] | [[Category:5e Templates]] | ||
[[Category:5e Subclasses]] | [[Category:5e Subclasses]] | ||
</noinclude> | </noinclude> |
Revision as of 12:13, 5 April 2020
Use
Generates a table showing the subclasses for a class.
Syntax
{{5e Subclass List|className}}
Add'l Entries
|showhidden=<!-- blank, true will show hidden. Admin only --> ==Example== <pre>{{5e Subclass List|Artificer}}
produces...
Error: No field named "Hidden" found for the database table "Pages_Info".
Subclass | Summary | Features | Flags | License | Source |
---|