Template:5e Race Line: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude><!--
1. 5e_Race._pageName
1. _pageName
2. 5e_Race.Race_Name
2. Race_Name
3. 5e_Race.Race_Ability_Mod
3. Race_NS
4. 5e_Race.Race_Size
4. Subrace
5. 5e_Race.Race_Walking_Speed
5. Sort_Text
6. 5e_Race.Race_Other_Speeds
6. Ability_Mods
7. 5e_Race.Race_Darkvision
7. Size
8. 5e_Race.Race_Features
8. Speed
9. Pages_Info.Canon
9. Darkvision
10. Pages_Info.Hidden
10. Features
11. Pages_Info.Pointer
11. Summary
12. Pages_Info.UA
12. Canon
13. Pages_Info.User
13. Hidden
14. 5e_Race.Race_Summary
14. Pointer
15. Pages_Info.Sources
15. UA
</noinclude><includeonly>
16. User
{{!}}valign="top"{{!}}[[{{{1}}}|{{{2}}}]]
17. Sources
{{!}}valign="top"{{!}}{{{3|}}}
--></noinclude><includeonly>
{{!}}valign="top"{{!}}{{{4|}}}
{{!}}valign="top"{{!}}[[{{{3}}}:{{{2}}}]] <!--Race-->
{{!}}valign="top"{{!}}{{{5|}}} ft.{{#if: {{{6|}}}|, {{{6}}}|}}
{{!}}valign="top"{{!}}[[{{{1|}}}|{{{4|}}}]] <!--Subrace-->
{{!}}valign="top"{{!}}{{{7|}}}
{{!}}valign="top"{{!}}{{{6|}}} <!--Abiltiy Mods-->
{{!}}valign="top"{{!}}{{{8|}}}
{{!}}valign="top"{{!}}{{SRD5|{{{7|}}}}} <!--Size--->
{{!}}valign="top"{{!}}{{{14|}}}
{{!}}valign="top"{{!}}{{{8|}}} ft. <!--Speed-->
{{!}}valign="top"{{!}}{{#ifeq: {{{9|}}}|1|Canon{{#ifeq: {{{10|}}}|1|, Hidden|}}{{#ifeq: {{{11|}}}|1|, Pointer|}}|<!--not canon-->{{#ifeq: {{{10|}}}|1|Hidden|}}{{#ifeq: {{{11|}}}|1|Pointer|}}}}{{#ifeq:  {{{12|}}}|1|, UA|}}{{#ifeq: {{{13|}}}|1|User Creation|}}
{{!}}valign="top"{{!}}{{#if: {{{9|}}}|{{{9}}} ft.}} <!--darkvision-->>
{{!}}valign="top"{{!}}{{#ifeq: {{{13|}}}|1|{{{15|}}}|<!--not user-->{{pub|{{{15|}}}}}}}
{{!}}valign="top"{{!}}{{{10|}}} <!--Features-->
{{!}}valign="top"{{!}}{{{11|}}} <!--Summary-->
{{!}}valign="top"{{!}}{{#ifeq: {{{12|}}}|1|Canon{{#ifeq: {{{13|}}}|1|, Hidden|}}{{#ifeq: {{{14|}}}|1|, Pointer|}}|<!--not canon-->{{#ifeq: {{{13|}}}|1|Hidden|}}{{#ifeq: {{{14|}}}|1|Pointer|}}}}{{#ifeq:  {{{15|}}}|1|, UA|}}{{#ifeq: {{{16|}}}|1|User Creation|}}
{{!}}valign="top"{{!}}{{#ifeq: {{{16|}}}|1|{{{17|}}}|<!--not user-->{{pub|{{{17|}}}}}}}
{{!}}-
{{!}}-
</includeonly><noinclude>
</includeonly><noinclude>
Line 30: Line 33:
gives a table row for listing race statistics
gives a table row for listing race statistics
==Syntax==
==Syntax==
<pre>{{5e Race Line|raceLink|raceName|abilityMod|abiltiyNote|str|dex|con|int|wis|cha|size|speed|otherSpeed|darkvision|canon|hidden|pointer|ua|user|summary|sources}}
<pre>{{5e Subrace Line|subraceLink|race|raceNS|subrace|sorttext|abilityMod|size|speed|darkvision|features|summary|canon|hidden|pointer|ua|user|sources}}
==Example==
==Example==
<pre>{{5e Race Line|5e:Foo|Foo||Choice of 1||+1||+1|||Medium|30|{{srd5lc|Climb}} 30 ft.|60 ft.|1|1|1|1||example race|Foo's Guide to Nothing}}</pre>
<pre>{{5e Race Line|5e:Bar|Foo|5e|Bar|Bar 5e|{{SRD5|Strength}} +1|Medium|30|60 ft.|Barism, Foo's Fool|example subrace|1|1|1|1||Foo's Guide to Nothing}}</pre>


produces...
produces...
Line 38: Line 41:
{|
{|
!Race
!Race
!Subrace
!Abilities
!Abilities
!Size
!Size
Line 47: Line 51:
!Source
!Source
|-
|-
{{5e Race Line|5e:Foo|Foo|Choice of 1, Dex +1, Int+1|Medium|30|{{srd5lc|Climb}} 30 ft.|60 ft.|Fooishness, Barbarism, Xi Foo|1|1|1|1|user|example race|Foo's Guide to Nothing}}
{{5e Race Line|5e:Bar|Foo|5e|Bar|Bar 5e|{{SRD5|Strength}} +1|Medium|30|60 ft.|Barism, Foo's Fool|example subrace|1|1|1|1||Foo's Guide to Nothing}}
|}
|}
</noinclude>
</noinclude>

Revision as of 20:35, 7 June 2020

Use

gives a table row for listing race statistics

Syntax

{{5e Subrace Line|subraceLink|race|raceNS|subrace|sorttext|abilityMod|size|speed|darkvision|features|summary|canon|hidden|pointer|ua|user|sources}}
==Example==
<pre>{{5e Race Line|5e:Bar|Foo|5e|Bar|Bar 5e|{{SRD5|Strength}} +1|Medium|30|60 ft.|Barism, Foo's Fool|example subrace|1|1|1|1||Foo's Guide to Nothing}}

produces...

Race Subrace Abilities Size Speed Darkvision Features Summary Source Notes Source
5e:Foo Bar Strength +1 Medium 30 ft. 60 ft. ft. > Barism, Foo's Fool example subrace Canon, Hidden, Pointer, UA Foo's Guide to Nothing