Template:5e Weapon List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 6: Line 6:
|{{{8|}}}
|{{{8|}}}
|{{{9|}}}
|{{{9|}}}
|{{#ifexpr: {{{10|}}}<>0|Canon{{#ifexpr: {{{11|}}}<>0|, Pointer|}}{{#ifexpr: {{{12|}}}<>0|, UA|}}|<!--not canon-->{{#if: {{{11|}}}|Pointer{{#if: {{{12|}}}|, UA|}}|<!--not pointer-->{{#if: {{{12|}}}|UA|}}|}}|}}{{#ifexpr: {{{13|}}}>0|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>

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