Template:5e Weapon List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
|{{{8|}}}
|{{{8|}}}
|{{{9|}}}
|{{{9|}}}
|{{#if: {{{10|}}}|Canon{{#if: {{{11|}}}|, Pointer|}}{{#if: {{{12|}}}|, UA|}}|<!--not canon-->{{#if: {{{11|}}}|Pointer{{#if: {{{12|}}}|, UA|}}|<!--not pointer-->{{#if: {{{12|}}}|UA|}}|}}|}}{{#if: {{{13|}}}|User|}}
|{{#ifexpr: {{{10|}}}=1|Canon{{#ifexpr: {{{11|}}}=1|, Pointer|}}{{#ifexpr: {{{12|}}}=1|, UA|}}|<!--not canon-->{{#ifexpr: {{{11|}}}=1|Pointer{{#ifexpr: {{{12|}}}=1|, UA|}}|<!--not pointer-->{{#ifexpr: {{{12|}}}=1|UA|}}|}}|}}{{#ifexpr: {{{13|}}}=1|User|}}
|{{#if: {{{13|}}}|{{{14|}}}|{{pub|{{{14}}}}}|}}
|{{#ifexpr: {{{13|}}}=1|{{{14|}}}|{{pub|{{{14}}}}}|}}
|- </includeonly><noinclude>
|-  
</includeonly><noinclude>
==Syntax==
==Syntax==
<pre>{{5e Weapon List Row
<pre>{{5e Weapon List Row
Line 40: Line 41:
!Source
!Source
|-
|-
{{5e Weapon List Row|5e:Foo|Foo|Martial|Ranged|1d8|Bludgeoning|13|14gp|Ammunition, Range (30/90)|y|y|||Foo's Guide to Nothing}}
{{5e Weapon List Row|5e:Foo|Foo|Martial|Ranged|1d8|Bludgeoning|13|14gp|Ammunition, Range (30/90)|1|1|||Foo's Guide to Nothing}}
|}
|}
</pre>
</pre>
Line 57: Line 58:
!Source
!Source
|-
|-
{{5e Weapon List Row|5e:Foo|Foo|Martial|Ranged|1d8|Bludgeoning|13|14gp|Ammunition, Range (30/90)|1|1|||Foo's Guide to Nothing}}
{{5e Weapon List Row|5e:Foo|Foo|Martial|Ranged|1d8|Bludgeoning|13|14gp|Ammunition, Range (30/90)|1|1|0|0|Foo's Guide to Nothing}}
{{5e Weapon List Row|5e:Bar|Bar|Simple|Melee|1d6|Slashing|1|1sp|Range (30/90), Thrown, Versatile (d8)||||1|[[user:Noah Body]]}}
{{5e Weapon List Row|5e:Bar|Bar|Simple|Melee|1d6|Slashing|1|1sp|Range (30/90), Thrown, Versatile (d8)|0|0|0|1|[[user:Noah Body]]}}
|}
|}
[[Category:5e Templates|Weapon List Row Template 5e]]
[[Category:5e Templates|Weapon List Row Template 5e]]
</noinclude>
</noinclude>

Latest revision as of 11:21, 2 May 2020

Syntax

{{5e Weapon List Row
|1 <!--weapon page-->
|2 <!--weapon name-->
|3 <!--simple, martial-->
|4 <!-- melee, ranged -->
|5 <!--damage-->
|6 <!--damage type bludgeoning, piercing, slashing-->
|7 <!--weight-->
|8 <!--cost-->
|9 <!--properties-->
|10 <!--canon blank/true-->
|11 <!--pointer blank/true-->
|12 <!--ua blank/true-->
|13 <!--user blank/true-->
|14 <!--source-->
}}

Example

{|
!Weapon
!Prof
!Type
!Damage
!Weight
!Cost
!Properties
!Source<br />Notes
!Source
|-
{{5e Weapon List Row|5e:Foo|Foo|Martial|Ranged|1d8|Bludgeoning|13|14gp|Ammunition, Range (30/90)|1|1|||Foo's Guide to Nothing}}
|}

produces...

Weapon Prof Type Damage Weight Cost Properties Notes Source
Foo Martial Ranged 1d8 Bludgeoning 13 lbs. 14gp Ammunition, Range (30/90) Canon, Pointer Foo's Guide to Nothing
Bar Simple Melee 1d6 Slashing 1 lbs. 1sp Range (30/90), Thrown, Versatile (d8) User user:Noah Body