Template:5e Subrace List: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
|fields=5e_Subrace._pageName,5e_Subrace.Race,5e_Subrace.Race_NS,5e_Subrace.Subrace,5e_Subrace.Sort_Text,5e_Subrace.Ability_Mods,5e_Subrace.Size,5e_Subrace.Speed,5e_Subrace.Darkvision,5e_Subrace.Features,5e_Subrace.Summary,Pages_Info.Canon,Pages_Info.Hidden,Pages_Info.Pointer,Pages_Info.UA,Pages_Info.User,Pages_Info.Sources
|fields=5e_Subrace._pageName,5e_Subrace.Race,5e_Subrace.Race_NS,5e_Subrace.Subrace,5e_Subrace.Sort_Text,5e_Subrace.Ability_Mods,5e_Subrace.Size,5e_Subrace.Speed,5e_Subrace.Darkvision,5e_Subrace.Features,5e_Subrace.Summary,Pages_Info.Canon,Pages_Info.Hidden,Pages_Info.Pointer,Pages_Info.UA,Pages_Info.User,Pages_Info.Sources
|format=template
|format=template
|template={{#if: {{{hiderace|}}}|5e Subrace Line Hiderace|5e Subrace Line|}}
|template={{#if: {{{showrace|}}}|5e Subrace Line Show Race|5e Subrace Line Hide Race|}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
Line 33: Line 33:
<pre>
<pre>
|5eh= <!--blank or true, admin only-->
|5eh= <!--blank or true, admin only-->
|hiderace= <!--blank or true-->
|showrace= <!--blank or true-->
</pre>
</pre>



Revision as of 04:49, 10 June 2020

Syntax

{{5e Subrace List|race}}}

Optional Fields

|5eh= <!--blank or true, admin only-->
|showrace= <!--blank or true-->

Example

{{5e Subrace List|Halfling}}

produces...

Error 1054: Unknown column 'rly2_cargo__Pages_Info.Hidden' in 'where clause'

Function: CargoSQLQuery::run Query: SELECT `rly2_cargo__Pages_Info`.`_pageID` AS `cargo_backlink_page_id_Pages_Info`,`rly2_cargo__5e_Subrace`.`_pageID` AS `cargo_backlink_page_id_5e_Subrace`,COUNT(`rly2_cargo__5e_Subrace`.`_pageName`) AS `_pageName)` FROM `rly2_cargo__5e_Subrace` LEFT OUTER JOIN `rly2_cargo__Pages_Info` ON ((`rly2_cargo__5e_Subrace`.`_pageName`=`rly2_cargo__Pages_Info`.`_pageName`)) WHERE `rly2_cargo__5e_Subrace`.`Race`="Halfling" AND (`rly2_cargo__Pages_Info`.`Hidden`=0 OR `rly2_cargo__Pages_Info`.`Hidden` IS NULL) ORDER BY `rly2_cargo__Pages_Info`.`_pageID`,`rly2_cargo__5e_Subrace`.`_pageID`,COUNT(`rly2_cargo__5e_Subrace`.`_pageName`) LIMIT 100

official and unofficial races.
Error: No field named "Hidden" found for the database table "Pages_Info".
Subrace Abilities Size
Change
Speed
Change
Darkvision
(if change)
Features Summary Source Notes Source