Template:5e Subrace List: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="display:block; overflow:auto; max-width:90vw; max-height:90vh;">
{{#cargo_query:
{{#cargo_query:
table=5e_Subrace, Pages_Info
table=5e_Subrace, Pages_Info
|join on=5e_Subrace._pageName=Pages_Info._pageName
|join on=5e_Subrace._pageName=Pages_Info._pageName
|where=5e_Subrace.Race="{{{1|}}}" AND {{#if: {{{5eh|}}}|(Pages_Info.Pointer=0 OR Pages_Info.Pointer IS NULL)|(Pages_Info.Hidden=0 OR Pages_Info.Hidden IS NULL)|}}
|where=5e_Subrace.Race="{{{1|}}}"  
|fields=COUNT(5e_Subrace._pageName)
|fields=COUNT(5e_Subrace._pageName)
}} official and unofficial races.<br />
}} official and unofficial races.<br />
<div style="overflow:auto; max-width:85vw; max-height:90vh; ">
<div style="display:block; overflow:auto; max-width:85vw; max-height:90vh; ">
{|class="zebra sortable small"
{|class="zebra sortable small"
{{#if: {{{showrace|}}}|!Race|}}
{{#if: {{{showrace|}}}|!Race|}}
Line 23: Line 22:
tables=5e_Subrace,Pages_Info
tables=5e_Subrace,Pages_Info
|join on=5e_Subrace._pageName=Pages_Info._pageName
|join on=5e_Subrace._pageName=Pages_Info._pageName
|where=5e_Subrace.Race="{{{1|}}}" AND {{#if: {{{5eh|}}}|(Pages_Info.Pointer=0 OR Pages_Info.Pointer IS NULL)|(Pages_Info.Hidden=0 OR Pages_Info.Hidden IS NULL)|}}
|where=5e_Subrace.Race="{{{1|}}}"
|order by=5e_Subrace.Race,5e_Subrace.Sort_Text
|order by=5e_Subrace.Race,5e_Subrace.Sort_Text
|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.Pointer,Pages_Info.UA,Pages_Info.User,Pages_Info.Sources
|named args=yes
|format=template
|format=template
|template={{#if: {{{showrace|}}}|5e Subrace Line Show Race|5e Subrace Line Hide Race|}}
|template={{#if: {{{showrace|}}}|5e Subrace Line Show Race|5e Subrace Line Hide Race|}}

Latest revision as of 18:34, 1 April 2024

Syntax

{{5e Subrace List|race}}}

Optional Fields

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

Example

{{5e Subrace List|Halfling}}

produces...


5 official and unofficial races.

Subrace Abilities Size
Change
Speed
Change
Darkvision
(if change)
Features Source Notes Source
Ghostwise Wisdom +1 Silent Speech Canon, Pointer Sword Coast Adventurer's Guide
Lightfoot Charisma +1 Naturally Stealthy Canon SRD-OGL v5.1
Longshanks Choice of one: Strength +1 Wisdom +1 Medium Stealthy, Longstride, Less Nimble, Racial Weapons Training User Creation Rlyehable
Lotusden Halfling Wisdom +1 Child of the Wood, Timberwalk Canon, Pointer Explorer's Guide to Wildemount
Stout Constitution +1 Stout Resilience Canon, Pointer Player's Handbook (5e)