Template:5e Weapon List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(wip)
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{!}}{{{1|}}}{{!}}{{{3|}}}{{!}}{{{4|}}}{{!}}{{{5|}}} {{{6|}}}{{!}}{{{7|}}} lbs.{{!}}{{{8|}}}{{!}}{{{9|}}}{{#if: {{{showpolearm|}}}|{{!}}{{{10|}}}{{!}}{{{11}}}{{!}}{{{12|}}}|}}{{!}}{{#if: {{{13|}}}|Canon{{#if: {{{14|}}}|, Pointer{{#if: {{{15|}}}|, UA|}}|<!--not canon-->{{#if: {{{14|}}}|Pointer{{#if: {{{15|}}}|, UA|}}|<!--not pointer-->{{#if: {{{15|}}}|UA|}}|}}|}}{{#if: {{{16|}}}|User|}}{{!}}{{{17|}}}</includeonly><noinclude>
<includeonly>|[[{{{1|}}}|{{{2|}}}]]
|{{{3|}}}  
|{{{4|}}}
|{{{5|}}}&nbsp;{{{6|}}}
|{{{7|}}}&nbsp;lbs.
|{{{8|}}}
|{{{9|}}}
|{{#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|}}
|{{#ifexpr: {{{13|}}}=1|{{{14|}}}|{{pub|{{{14}}}}}|}}
|-
</includeonly><noinclude>
==Syntax==
==Syntax==
<pre>{{5e Weapon List Row
<pre>{{5e Weapon List Row
|1 <!--weap name-->
|1 <!--weapon page-->
|2 <!--sorttext-->
|2 <!--weapon name-->
|3 <!--simple, martial-->
|3 <!--simple, martial-->
|4 <!-- melee, ranged -->
|4 <!-- melee, ranged -->
Line 11: Line 21:
|8 <!--cost-->
|8 <!--cost-->
|9 <!--properties-->
|9 <!--properties-->
|10 <!--polearm= blank/true-->
|10 <!--canon blank/true-->
|11 <!-- PBA polearm master feat grants bonus attack blank/true-->
|11 <!--pointer blank/true-->
|12 <!-- POAR  polearm feat givess reach to op attack blank/true-->
|12 <!--ua blank/true-->
|13 <!--canon blank/true-->
|13 <!--user blank/true-->
|14 <!--pointer blank/true-->
|14 <!--source-->
|15 <!--ua blank/true-->
|16 <!--user blank/true-->
|17 <!--source-->
}}
}}
 
</pre>
==Example==
==Example==
<pre>
<pre>
Line 31: Line 38:
!Cost
!Cost
!Properties
!Properties
!Notes
!Source<br />Notes
!Source
!Source
|-
|-
{{5e Weapon List Row|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 50: Line 58:
!Source
!Source
|-
|-
{{5e Weapon List Row|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)|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