10,959
editsAd placeholder
Template:Weapon page: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
Line 139: | Line 139: | ||
{{WeaponProficiencyUnlocks}} | {{WeaponProficiencyUnlocks}} | ||
{{{actions}}} | {{#if: {{{weapon actions|}}} | ||
| {{#invoke: ParseList | main | {{{weapon actions}}} | useTemplate = WeaponAction | type = htmlList }} | |||
| {{{actions}}} | |||
}} | |||
{{#switch: {{{this is an example|}}} | {{#switch: {{{this is an example|}}} | ||
Line 155: | Line 158: | ||
<pre> | <pre> | ||
{{WeaponPage | {{WeaponPage | ||
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage --> | |||
| image = Longsword Icon.png | | image = Longsword Icon.png | ||
| description = <!-- Optional description. Nonmagical and +1/+2/etc. will be auto-generated, so leave empty for those. Others will also have a sensible default description generated, so strictly speaking you can always leave this empty, but for weapons with special properties, you might want to instead provide a short description of what makes the weapon noteworthy. --> | | description = <!-- Optional description. Nonmagical and +1/+2/etc. will be auto-generated, so leave empty for those. Others will also have a sensible default description generated, so strictly speaking you can always leave this empty, but for weapons with special properties, you might want to instead provide a short description of what makes the weapon noteworthy. --> | ||
Line 172: | Line 175: | ||
| range m = <!-- Leave EMPTY if "range" is NOT "special", otherwise this is the range in meters. --> | | range m = <!-- Leave EMPTY if "range" is NOT "special", otherwise this is the range in meters. --> | ||
| range ft = <!-- Leave EMPTY if "range" is NOT "special", otherwise this is the range in feet. --> | | range ft = <!-- Leave EMPTY if "range" is NOT "special", otherwise this is the range in feet. --> | ||
<!-- Following are yes/no properties, which MUST BE EMPTY if you mean "no"! Never actually type "no"! --> | |||
| ammunition = | | ammunition = | ||
| finesse = | | finesse = | ||
Line 185: | Line 188: | ||
| weight lb = 2.7 | | weight lb = 2.7 | ||
| price = 75 | | price = 75 | ||
<!-- Common actions you get when you have proficiency and wield the weapon in your main-hand. --> | |||
| weapon actions = Pommel Strike, Lacerate, Rush Attack | |||
| special = <!-- List of special features or abilities granted by the weapon. --> | | special = <!-- List of special features or abilities granted by the weapon. --> | ||
* '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this weapon. | * '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this weapon. | ||
Line 202: | Line 203: | ||
[[Category:Page Generating Templates]] [[Category:Weapon Page Templates]] | [[Category:Page Generating Templates]] [[Category:Weapon Page Templates]] | ||
{{#cargo_declare: | {{#cargo_declare: _table = weapons | ||
_table = weapons | |||
| name = String (unique; mandatory) | | name = String (unique; mandatory) | ||
| image = File | | image = File | ||
Line 234: | Line 234: | ||
| price = Integer | | price = Integer | ||
| actions = Wikitext | | actions = Wikitext | ||
| weapon_actions = List (,) of String | |||
| special = Wikitext | | special = Wikitext | ||
| where_to_find = Wikitext | | where_to_find = Wikitext | ||
Line 569: | Line 570: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"actions": { | "weapon actions": { | ||
"description": "List of Weapon Actions gained by wielding this weapon in the main hand. Be sure to separate multiple actions with | "description": "List of Weapon Actions gained by wielding this weapon in the main hand. Be sure to separate multiple actions with a comma.", | ||
"example": " | "example": "Pommel Strike, Lacerate", | ||
"type": "content", | "type": "content", | ||
"suggested": true | "suggested": true | ||
Line 608: | Line 609: | ||
"weight lb", | "weight lb", | ||
"price", | "price", | ||
" | "weapon actions", | ||
" | "special" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |