Difference between revisions of "Equipment Weapons Table"
From Titan's Teeth
Dicemonger (talk | contribs) |
Dicemonger (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
* 2: light / one-handed / two-handed | * 2: light / one-handed / two-handed | ||
* 3: melee / ranged | * 3: melee / ranged | ||
− | |||
− | + | <hr> | |
− | + | '''Template:''' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | * <nowiki>{{</nowiki>Equipment_Weapons|simple|light|melee<nowiki>}}</nowiki> | |
+ | * <nowiki>{{</nowiki>Equipment_Weapons|simple|ranged<nowiki>}}</nowiki> | ||
+ | * <nowiki>{{</nowiki>Equipment_Weapons|ammunition<nowiki>}}</nowiki> | ||
+ | </noinclude><includeonly><!-- | ||
− | -->=== {{ucfirst:{{{2}}}}} === | + | -->{{#if: {{{3|}}}|<!-- |
− | {{#cargo_query:tables=Equipment_Weapons | + | -->=== {{ucfirst:{{{2}}}}} {{ucfirst:{{{3}}}}} === |
− | |where=Proficiency="{{{1}}}" AND TableType="{{{2}}}" | + | {{#cargo_query:tables=Equipment_Weapons |
− | |order by=Name | + | |where=Proficiency="{{{1}}}" AND Category="{{{2}}}" AND TableType="{{{3}}}" |
− | |fields=CONCAT( '[[', _pageName, '|', Name, ']]' ) = Name,Cost,Damage,Critical,RangeInc = Range,Weight,Type,Special | + | |order by=Name |
− | |format=table | + | |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}}