10,966
editsMore actions
no edit summary
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
| {{#sub: {{{extra damage}}} | 0 | {{#rpos: {{{extra damage}}} | }} }} | | {{#sub: {{{extra damage}}} | 0 | {{#rpos: {{{extra damage}}} | }} }} | ||
| {{#sub: {{{extra damage}}} | {{#expr: 1 + {{#rpos: {{{extra damage}}} | }} }} }} | | {{#sub: {{{extra damage}}} | {{#expr: 1 + {{#rpos: {{{extra damage}}} | }} }} }} | ||
}} | |||
}} | }} | ||
Line 91: | Line 92: | ||
This template generates entire pages for individual weapons in the game, such as [[Longsword]] (not to be confused with [[Longswords]]) or [[Worgfang]]. | This template generates entire pages for individual weapons in the game, such as [[Longsword]] (not to be confused with [[Longswords]]) or [[Worgfang]]. | ||
Following is an example of usage with all possible template parameters shown. The values are partly nonsensical: they describe a made up Longsword which for some reason deals an extra 1d4 Fire damage, is heavy (longswords normally aren't), and has the Tenacity attribute which normally blunt weapons like Mauls have. | |||
<pre> | <pre> | ||
Line 97: | Line 98: | ||
| <!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template: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 | | description = Optional description. Nonmagical and simple +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 you might still want to provide a short description of what makes the weapon noteworthy. | ||
| quote = The in-game flavor text in the item's tooltip | | quote = The in-game flavor text in the item's tooltip. | ||
| category = martial | | category = martial <!-- martial or simple --> | ||
| melee or ranged = melee | | melee or ranged = melee <!-- melee or ranged, duh --> | ||
| handedness = versatile | | handedness = versatile <!-- one-handed, versatile, two-handed --> | ||
| type = Longswords | | type = Longswords <!-- One of [[Category:Weapon Types]]. --> | ||
| rarity = <!-- | | rarity = <!-- EMPTY for common, otherwise: uncommon, rare, veryrare, legendary --> | ||
| enchantment = <!-- | | enchantment = <!-- EMPTY for none, otherwise: +1, +2, +3, +4, +5 --> | ||
| damage = 1d8 + 1 Slashing | | damage = 1d8 + 1 Slashing <!-- Must follow this exact strict format, with the "+ X" being optional. --> | ||
| versatile damage = 1d10 + 2 | | versatile damage = 1d10 + 2 <!-- Same as above, without the damage type. --> | ||
| extra damage = 1d4 Fire | | extra damage = 1d4 Fire <!-- Same as the regular damage, with optional "+ X". --> | ||
| | | <!-- Here we have yes/no properties, which MUST BE EMPTY if you mean "no"! Never actually type "no"! --> | ||
| ammunition = | |||
| finesse = | | finesse = | ||
| heavy = | | heavy = |