Template:5e Subclass List: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{| class="zebra sortable small"
<includeonly>{{#cargo_query:
tables=5e_Subclass, Pages_Info
|join on=5e_Subclass._pageName=Pages_Info._pageName
|where={{#if: {{{showhidden|}}}|5e_Subclass.Class_Name='{{{1|}}}' AND (Pages_Info.Pointer=0 OR Pages_Info.Pointer IS NULL)|5e_Subclass.Class_Name='{{{1|}}}' AND (Pages_Info.Hidden=0 OR Pages_Info.Hidden IS NULL)}}
|fields=COUNT(5e_Subclass._pageName)
}} subclasses.
{| class="zebra sortable small"
!Subclass
!Subclass
!Summary
!Summary

Revision as of 13:22, 22 November 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

{{5e Subclass List|Artificer}}

produces...

Error: operator for the virtual field '5e_Subclass.Class_Name' must be 'HOLDS', 'HOLDS NOT', 'HOLDS LIKE' or 'HOLDS NOT LIKE'.

subclasses.

Error: No field named "Hidden" found for the database table "Pages_Info".
Subclass Summary Features Flags License Source