Template:5e Subrace Line Hide Race: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 18: Line 18:
17. Sources
17. Sources
--></noinclude><includeonly>
--></noinclude><includeonly>
<!--{{!}}valign="top"{{!}}[[{{{3}}}:{{{2}}}|{{{2}}}]]--> <!--Race-->
<!--{{!}}valign="top"{{!}}[[{{{Race NS}}}:{{{Race}}}|{{{Race}}}]]--> <!--Race-->
{{!}}valign="top"{{!}}[[{{{1|}}}{{#if: {{{4|}}}|{{!}}{{{4|}}}|}}]] <!--Subrace-->
{{!}}valign="top"{{!}}[[{{{_pageName|}}}{{#if: {{{Subrace|}}}|{{!}}{{{Subrace|}}}|}}]] <!--Subrace-->
{{!}}valign="top"{{!}}{{{6|}}} <!--Abiltiy Mods-->
{{!}}valign="top"{{!}}{{{Ability Mods|}}} <!--Abiltiy Mods-->
{{!}}valign="top"{{!}}{{#if: {{{7|}}}|{{SRD5|{{{7}}}}}|}} <!--Size--->
{{!}}valign="top"{{!}}{{#if: {{{Size|}}}|{{SRD5|{{{Size}}}}}|}} <!--Size--->
{{!}}valign="top"{{!}}{{#if: {{{8|}}}|{{{8}}} ft.|}} <!--Speed-->
{{!}}valign="top"{{!}}{{#if: {{{Speed|}}}|{{{Speed}}} ft.|}} <!--Speed-->
{{!}}valign="top"{{!}}{{#if: {{{9|}}}|{{{9}}} ft.}} <!--darkvision-->
{{!}}valign="top"{{!}}{{#if: {{{Darkvision|}}}|{{{Darkvision}}} ft.}} <!--darkvision-->
{{!}}valign="top"{{!}}{{{10|}}} <!--Features-->
{{!}}valign="top"{{!}}{{{Features|}}} <!--Features-->
<!--{{!}}valign="top"{{!}}{{{11|}}} Summary-->
<!--{{!}}valign="top"{{!}}{{{Summary|}}} 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: {{{Canon|}}}|1|Canon{{#ifeq: {{{Pointer|}}}|1|, Pointer|}}|<!--not canon-->{{#ifeq: {{{Pointer|}}}|1|Pointer|}}}}{{#ifeq:  {{{UA|}}}|1|, UA|}}{{#ifeq: {{{User|}}}|1|User Creation|}}
{{!}}valign="top"{{!}}{{#ifeq: {{{16|}}}|1|{{{17|}}}|<!--not user-->{{pub|{{{17|}}}}}}}
{{!}}valign="top"{{!}}{{#ifeq: {{{User|}}}|1|{{{Sources|}}}|<!--not user-->{{pub|{{{Sources|}}}}}}}
{{!}}-
{{!}}-
</includeonly><noinclude>
</includeonly><noinclude>
Line 33: Line 33:
gives a table row for listing race statistics
gives a table row for listing race statistics
==Syntax==
==Syntax==
<pre>{{5e Subrace Line Hide Race|subraceLink|race|raceNS|subrace|sorttext|abilityMod|size|speed|darkvision|features|summary|canon|hidden|pointer|ua|user|sources}}
<pre>{{5e Subrace Line Hide Race
|_pageName=
|Race=
|Race NS=
|Subrace=
|Sort Text=
|Ability_Mods=
|Size=
|Speed=
|Darkvision=
|Features=
|Summary=
|Canon=
|Pointer=
|UA=
|User=
|Sources=
}}
</pre>
==Example==
==Example==
<pre>{{5e Race Line Hide Race|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>
<pre>
{{5e Subrace Line Hide Race
|_pageName=5e:Bar
|Race=Foo
|Race NS=5e
|Subrace=Bar
|Sort Text=Bar 5e
|Ability Mods={{SRD5|Strength}} +1
|Size=Medium
|Speed=30
|Darkvision=60 ft.
|Features=Barism, Foo's Fool
|Summary=example subrace
|Canon=1
|Pointer=1
|UA=1
|User=
|Sources=Foo's Guide to Nothing
}}
</pre>


produces...
produces...
Line 50: Line 87:
!Source
!Source
|-
|-
{{5e Subrace Line Hide Race|5e:Bar|Foo|5e|Bar|Bar 5e|{{SRD5|Strength}} +1|Medium|30|60|Barism, Foo's Fool|example subrace|1|1|1|1||Foo's Guide to Nothing}}
{{5e Subrace Line Hide Race
{{5e Subrace Line Hide Race|5e:Po|Foo|5e|Poe|Poe 5e|{{SRD5|Intelligence}} +1|Small|25||Poism, Foo Fight|2nd example subrace|||||1|[[user:Rlyehable]]}}
|_pageName=5e:Bar
|Race=Foo
|Race NS=5e
|Subrace=Bar
|Sort Text=Bar 5e
|Ability Mods={{SRD5|Strength}} +1
|Size=Medium
|Speed=30
|Darkvision=60 ft.
|Features=Barism, Foo's Fool
|Summary=example subrace
|Canon=1
|Pointer=1
|UA=1
|User=
|Sources=Foo's Guide to Nothing
}}
|}
|}
</noinclude>
</noinclude>

Latest revision as of 06:50, 26 May 2022

Use

gives a table row for listing race statistics

Syntax

{{5e Subrace Line Hide Race
|_pageName=
|Race=
|Race NS=
|Subrace=
|Sort Text=
|Ability_Mods=
|Size=
|Speed=
|Darkvision=
|Features=
|Summary=
|Canon=
|Pointer=
|UA=
|User=
|Sources=
}}

Example

{{5e Subrace Line Hide Race
|_pageName=5e:Bar
|Race=Foo
|Race NS=5e
|Subrace=Bar
|Sort Text=Bar 5e
|Ability Mods={{SRD5|Strength}} +1
|Size=Medium
|Speed=30
|Darkvision=60 ft.
|Features=Barism, Foo's Fool
|Summary=example subrace
|Canon=1
|Pointer=1
|UA=1
|User=
|Sources=Foo's Guide to Nothing
}}

produces...

Subrace Abilities Size Speed Darkvision Features Source Notes Source
Bar Strength +1 Medium 30 ft. 60 ft. ft. Barism, Foo's Fool Canon, Pointer, UA Foo's Guide to Nothing