Template:5e Subrace List: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="overflow:auto; max-width:85vw; font-size:0.75rem;">
<includeonly>
{|class="zebra sortable"
{{#cargo_query:
{{#if: {{{hiderace|}}}|<!--skip race-->|!Race|}}
table=5e_Subrace, Pages_Info
|join on=5e_Subrace._pageName=Pages_Info._pageName
|where=5e_Subrace.Race="{{{1|}}}"
|fields=COUNT(5e_Subrace._pageName)
}} official and unofficial races.<br />
<div style="display:block; overflow:auto; max-width:85vw; max-height:90vh; ">
{|class="zebra sortable small"
{{#if: {{{showrace|}}}|!Race|}}
!Subrace
!Subrace
!Abilities
!Abilities
Line 8: Line 15:
!Darkvision<br />(if change)
!Darkvision<br />(if change)
!Features
!Features
!Summary
<!--!Summary-->
!Source Notes
!Source Notes
!Source
!Source
|-
|-
{{#cargo_query:
table=5e_Subrace, Pages_Info
|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)|}}
|fields=COUNT(5e_Subrace._pageName)
}} official and unofficial races.<br />
{{#cargo_query:
{{#cargo_query:
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|}}
}}
}}
|}</includeonly><noinclude>
|}
</div></includeonly><noinclude>
==Syntax==
==Syntax==
<pre>{{5e Subrace List|race}}}</pre>
<pre>{{5e Subrace List|race}}}</pre>

Latest revision as of 19: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)