Actions

Template

Difference between revisions of "Equipment Weapons Table"

From Titan's Teeth

(Created page with "<no include> All lower-case * 1: simple / martial / exotic * 2: light / one-handed / two-handed * 3: melee / ranged </noinclude><!-- -->== {{ucfirst:{{{1}}}}} Weapons == ===...")
 
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<no include>
+
<noinclude>
 
All lower-case
 
All lower-case
  
Line 5: Line 5:
 
* 2: light / one-handed / two-handed
 
* 2: light / one-handed / two-handed
 
* 3: melee / ranged
 
* 3: melee / ranged
</noinclude><!--
 
  
-->== {{ucfirst:{{{1}}}}} Weapons ==
+
<hr>
=== Light Melee ===
+
 
{{#cargo_query:tables=Equipment_Weapons
+
'''Template:'''
|where=Proficiency="{{{1}}}" AND Category="{{{2}}}" AND TableType="{{{3}}}"
+
 
|order by=Name
+
* <nowiki>{{</nowiki>Equipment_Weapons|simple|light|melee<nowiki>}}</nowiki>
|fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,Cost,Damage,Critical,RangeInc = Range,Weight,Type,Special
+
* <nowiki>{{</nowiki>Equipment_Weapons|simple|ranged<nowiki>}}</nowiki>
|format=table
+
* <nowiki>{{</nowiki>Equipment_Weapons|ammunition<nowiki>}}</nowiki>
}}
+
</noinclude><includeonly><!--
 +
 
 +
-->{{#if: {{{3|}}}|<!--
 +
  -->=== {{ucfirst:{{{2}}}}} {{ucfirst:{{{3}}}}} ===
 +
  {{#cargo_query:tables=Equipment_Weapons
 +
  |where=Proficiency="{{{1}}}" AND Category="{{{2}}}" AND TableType="{{{3}}}"
 +
  |order by=Name
 +
  |fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,Cost,Damage,Critical,RangeInc = Range,Weight,Type,Special
 +
  |format=table
 +
  }}<!--
 +
-->|{{#if: {{{2|}}}|<!--
 +
    -->=== {{ucfirst:{{{2}}}}} ===
 +
    {{#cargo_query:tables=Equipment_Weapons
 +
    |where=Proficiency="{{{1}}}" AND TableType="{{{2}}}"
 +
    |order by=Name
 +
    |fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,Cost,Damage,Critical,RangeInc = Range,Weight,Type,Special
 +
    |format=table
 +
    }}<!--
 +
  -->|<!--
 +
    -->=== {{ucfirst:{{{1}}}}} ===
 +
    {{#cargo_query:tables=Equipment_Weapons
 +
    |where=TableType="{{{1}}}"
 +
    |order by=Name
 +
    |fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,Cost,Damage,Critical,RangeInc = Range,Weight,Type,Special
 +
    |format=table
 +
    }}<!--
 +
  -->}}<!--
 +
-->}}</includeonly>

Latest revision as of 11:01, 28 May 2021

All lower-case

  • 1: simple / martial / exotic
  • 2: light / one-handed / two-handed
  • 3: melee / ranged

Template:

  • {{Equipment_Weapons|simple|light|melee}}
  • {{Equipment_Weapons|simple|ranged}}
  • {{Equipment_Weapons|ammunition}}