Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
m
Added table list
(allow for blank type - this happens on a certain scimitar)
m (Added table list)
(76 intermediate revisions by 12 users not shown)
Line 2: Line 2:
| yes =
| yes =
| #default = {{PageSeo
| #default = {{PageSeo
   | image = {{{image}}}
   | image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}}
   | description = {{{seo description|{{WeaponPage/SeoDescription
   | description = {{{description|{{WeaponPage/SeoDescription
     | category = {{{category}}}
     | category = {{{category}}}
     | melee or ranged = {{{melee or ranged}}}
     | melee or ranged = {{{melee or ranged}}}
Line 17: Line 17:
| {{#replace: {{{rarity}}} | <nowiki> </nowiki> | }}
| {{#replace: {{{rarity}}} | <nowiki> </nowiki> | }}
| common
| common
}}"> {{#if:{{{image|}}} | [[File:{{{image}}}|link=|300px|right]] | [[Category:Equipment pages without images]]}}
}}"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{#if:{{{controller icon|}}} | [[File:{{{controller icon}}}|frameless|right|alt={{PAGENAME}} controller icon]] | {{#if:{{{icon|}}} | [[File:{{{icon}}}|frameless|right|alt={{PAGENAME}} icon]] | }} }} }}{{#if: {{{image|}}} || {{Main only|[[Category:Misc pages without images]]}} }}{{#if: {{{controller icon|}}} || {{Main only|[[Category:Item pages without controller icons]]}} }}{{#if: {{{icon|}}} || {{Main only|[[Category:Item pages without icons]]}} }}


{{#if: {{{description|}}}
{{#if: {{{description|}}}
Line 59: Line 59:
}}
}}


{{#if: {{{quote|}}} | {{Description|{{{quote}}}}} }}
{{#if: {{{quote|}}} | {{Description|{{{quote}}}}}}}


<h2> Properties </h2>
<h2> Properties </h2>


<dl class="bg3wiki-property-list">
<div class="bg3wiki-property-list">
<dt> {{#ifeq: {{{handedness}}} | versatile | One-handed damage: | Damage: }}
; {{#ifeq: {{{handedness}}} | versatile | One-handed damage | Damage }}
<dd> {{DamageInfo
: {{DamageInfo
| {{{damage}}}
| {{{damage}}}
| {{{damage type}}}
| {{{damage type}}}
| modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
| modifier = {{#if: {{{modifier|}}} | {{#ifeq: {{{modifier}}} |none||{{{modifier}}}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
}} {{#ifeq: {{{handedness}}} | versatile |
}} {{#ifeq: {{{handedness}}} | versatile |
<dt> Two-handed damage:
; Two-handed damage
<dd> {{DamageInfo
: {{DamageInfo
     | {{{versatile damage}}}
     | {{{versatile damage}}}
     | {{{damage type}}}
     | {{{damage type}}}
     | modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
     | modifier = {{#if: {{{modifier|}}} | {{#ifeq: {{{modifier}}} |none||{{{modifier}}}}}| {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
     }}
     }}
}} {{#if: {{{extra damage|}}} |
}} {{#if: {{{extra damage|}}} |
<dt> Extra damage:
; Extra damage
<dd> {{DamageInfo
: {{DamageInfo
     | {{#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}}} | }} }} }}
     }}
     }}
}} {{#if: {{{extra damage 2|}}} |
}} {{#if: {{{extra damage 2|}}} |
<dd> {{DamageInfo
: {{DamageInfo
     | {{#sub: {{{extra damage 2}}} | 0 | {{#rpos: {{{extra damage 2}}} | }} }}
     | {{#sub: {{{extra damage 2}}} | 0 | {{#rpos: {{{extra damage 2}}} | }} }}
     | {{#sub: {{{extra damage 2}}} | {{#expr: 1 + {{#rpos: {{{extra damage 2}}} | }} }} }}
     | {{#sub: {{{extra damage 2}}} | {{#expr: 1 + {{#rpos: {{{extra damage 2}}} | }} }} }}
     }}
     }}
}}
}}
<dt> Details:
; Details {{#if: {{{type|}}}
{{#if: {{{type|}}} | <dd> {{WeaponType | {{{type}}} }}}}
| : {{WeaponType | {{{type}}} }}
<dd> {{Rarity | {{{rarity|common}}} }}
| [[Category:Weapon pages without a type]] [[Category:Articles with errors]]
<dd> {{Enchantment | {{{enchantment|}}} }}
}}
<dd> {{#switch: {{{handedness}}}
: {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }}
: {{Enchantment | {{{enchantment|}}} }}
: {{#switch: {{{handedness}}}
| one-handed = {{One-Handed}}
| one-handed = {{One-Handed}}
| two-handed = {{Two-Handed}}
| two-handed = {{Two-Handed}}
| versatile = {{Versatile}}
| versatile = {{Versatile}}
}} {{#if: {{{finesse|}}} | <dd> {{Finesse}}
}} {{#if: {{{finesse|}}} | : {{Finesse}}
}} {{#if: {{{light|}}} | <dd> {{Light}}
}} {{#if: {{{light|}}} | : {{Light}}
}} {{#if: {{{reach|}}} | <dd> {{Reach}}
}} {{#if: {{{reach|}}} | : {{Reach}}
}} {{#if: {{{thrown|}}} | <dd> {{Thrown}}
}} {{#if: {{{thrown|}}} | : {{Thrown}}
}} {{#if: {{{can't dual wield|}}} | <dd> {{Can't Dual Wield}}
}} {{#if: {{{can't dual wield|}}} | : {{Can't Dual Wield}}
}} {{#if: {{{dippable|}}} | <dd> {{Dippable}}
}} {{#if: {{{dippable|}}} | : {{Dippable}}
}}
}}
<dd> {{#switch: {{{melee or ranged}}}
: {{#switch: {{{melee or ranged}}}
| melee = {{Range| {{#if: {{{reach|}}} | reach | melee}} }}
| melee = {{Range| {{#if: {{{reach|}}} | reach | melee}} }}
| ranged =
| ranged =
Line 113: Line 115:
   }}
   }}
}}
}}
<dd> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
: {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
<dd> {{Price | {{{price}}} }} {{#if: {{{special|}}} | {{blank}}
: {{Price | {{{price}}} | {{{price honour|}}} }}
</dl>
{{#if: {{{uid|}}} {{{uuid|}}} |
: {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if:{{{uuid|}}}|{{Uuid|{{{uuid}}}}} }}
}}
</div> {{#if: {{{passives|}}} {{{passives main hand|}}} {{{passives off hand|}}} {{{special|}}} | {{blank}}


<h3> Special </h3>
<h3> Special </h3>


The holder of this item gains:
'''The holder of this item gains:'''
{{{special}}}
}} {{#if: {{{weapon actions|}}}{{{actions|}}} | {{blank}}


<h3> Weapon Actions </h3>
{{#if: {{{passives|}}} | {{blank}}


{{WeaponProficiencyUnlocks}}
{{Table list|{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }}}}


{{#if: {{{weapon actions|}}}
}}{{#if: {{{special|}}} | {{blank}}
| {{#invoke: ParseList | main | {{{weapon actions}}} | useTemplate = WeaponAction | type = htmlList }}
| {{{actions}}}
}}
}}</div>{{#if: {{{where to find|}}} | {{blank}}


<h2> Where to Find </h2>
{{{special|}}}


<div class="bg3wiki-tooltip-box">
}}{{#if: {{{passives main hand|}}} | {{blank}}
{{{where to find}}}
</div>
}} {{#if: {{{notes|}}} | {{blank}}


<h2> Notes </h2>
'''Main Hand Only:'''


<div class="bg3wiki-tooltip-box">
{{Table list|{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = htmlList }}}}
{{{notes}}}
</div>
}}


{{#switch: {{{this is an example|}}}
}}{{#if: {{{passives off hand|}}} | {{blank}}
| yes =
| #default = [[Category:Equipment]] [[Category:Weapons]] [[Category:{{{melee or ranged}}} Weapons]] [[Category:{{{category}}} Weapons]] [[Category:{{{type}}}]]  {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare Items]] | [[Category:{{{rarity|common}}} Items]]}}
}}{{ItemIcon Insert
|icon={{{icon|}}}
|image={{{image|}}}
|rarity={{{rarity|}}}
}}</includeonly><noinclude><!--


    ==== Documentation follows ====
'''Off Hand Only:'''


-->
{{Table list|{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive | type = htmlList }}}}
This template generates entire pages for individual weapons in the game, such as [[Longsword]] (not to be confused with [[Longswords]]) or [[Worgfang]].  Note that the template adds the page to the correct categories automatically.


Following is an example of usage with all possible template parameters shown and explained with HTML comments.  This describes a made up Longsword which for some reason deals an extra 1d4 Fire damage and is Heavy (longswords normally aren't).  If you're ever unsure what to type, simply leave the parameter empty.
}}


Please don't copy-paste this example code into any actual page you create.  There's examples for copy-pasting further below.
}}{{#if: {{{weapon actions|}}} | {{blank}}


<pre>
<h3> Weapon actions </h3>
{{WeaponPage


<!-- A high-res image of the item. -->
{{WeaponProficiencyUnlocks}}
| image = Longsword Icon.png
{{#invoke: ParseList | main | {{{weapon actions}}} | useTemplate = WeaponAction | type = htmlList}}
 
<!-- A smaller image of the item, to be used as an icon. Falls back to the value of "image" if not provided -->
| icon =
 
<!-- 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 =  
 
<!-- In-game tooltip quote. -->
| quote = The in-game flavor text in the item's tooltip.
 
<!-- "martial" or "simple" -->
| category = martial
 
<!-- "melee" or "ranged" -->
| melee or ranged = melee
 
<!-- "one-handed", "versatile", or "two-handed" -->
| handedness = versatile
 
<!-- One of [[Category:Weapon Types]]. Always plural! -->
| type = Longswords
 
<!-- Leave EMPTY for common, otherwise: uncommon, rare, very rare, legendary, story -->
| rarity =
 
<!-- Leave EMPTY for none, otherwise: +1, +2, +3, +4, +5 -->
| enchantment =


<!-- Must follow the strict format "XdY + Z", with the "+ Z" only needed if the weapon has an enchantment. -->
}} {{#if: {{{special weapon actions|}}} | {{blank}}
| damage = 1d8 + 1


<!-- Accepts any of [[Damage Types]], but usually: Slashing, Piercing, or Bludgeoning -->
<h3> Special weapon actions </h3>
| damage type = Slashing


<!-- Same format as regular damage, or leave EMPTY if this isn't a Versatile weapon. -->
This weapon also grants the following:
| versatile damage = 1d10 + 2
{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList}}


<!-- Same format as regular damage, but with damage type directly on the same line. -->
}}</div> {{#if: {{{condition|}}} | {{blank}}
| extra damage = 1d4 Fire


<!-- Same format as regular damage, but with damage type directly on the same line. -->
<h3> Condition: {{{condition}}} </h3>
| extra damage 2 = 1d6 Acid
 
<!-- Leave EMPTY if melee, otherwise this can be "normal", "short" (e.g. Hand Crossbow), or "special" -->
| range =
 
<!-- Leave EMPTY if "range" is NOT "special", otherwise provide the range in meters and in feet. -->
| range m =
| range ft =
 
<!-- Following are yes/no properties, which MUST BE EMPTY if you mean "no"!  Never actually type "no"! -->
| finesse =
| heavy =
| light =
| reach =
| thrown =
| can't dual wield =
| dippable = yes
 
<!-- The weight in kg and in lb. -->
| weight kg = 1.35
| weight lb = 2.7
 
<!-- The price in gp as shown in the normal tooltip (NOT while buying or selling). -->
| price = 75
 
<!-- Actions you get when you have proficiency and wield the weapon in your main-hand. -->
| weapon actions = Pommel Strike, Lacerate, Rush Attack
 
<!-- List of special features or abilities granted by the weapon. -->
| special =
* '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this weapon.
 
<!-- Describe where and how to obtain the weapon, if it's a special one. -->
| where to find =
This is a made-up weapon.  You cannot obtain it anywhere in the game.


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{condition}}}
| save = {{{condition save|}}}
| duration = {{{condition duration|}}}
| dc = {{{condition dc|}}}
}}
}}
</pre>
{{main namespace only|{{Inflicts|{{{condition}}}|item}}}}
</div>{{#if: {{{condition2|}}} | {{blank}}


Following is a blank starting point for using this template that you can copy-paste.  You can also view the source of this page and copy-paste one of the actual examples further below.
<h3> Condition: {{{condition2}}} </h3>


<pre>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{WeaponPage
{{Condition | {{{condition2}}}
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage -->
| save = {{{condition2 save|}}}
| image =
| duration = {{{condition2 duration|}}}
| description =
| dc = {{{condition2 dc|}}}
| quote =
| category =
| melee or ranged =
| handedness =
| type =
| rarity =
| enchantment =
| damage =
| damage type =
| versatile damage =
| extra damage =
| extra damage 2 =
| range =
| range m =
| range ft =
| finesse =
| heavy =
| light =
| reach =
| thrown =
| can't dual wield =
| dippable =
| weight kg =
| weight lb =
| price =
| weapon actions =
| special =
| where to find =
}}
}}
</pre>
{{main namespace only|{{Inflicts|{{{condition2}}}|item}}}}
</div>


Live examples of this template's usage follow.  Feel free to view this page's source and copy-paste one of them as a starting point. __NOTOC__
  }}
}} {{#if: {{{where to find|}}} | {{blank}}


<h1>Longsword</h1>
<h2> Where to find </h2>


{{WeaponPage
<div class="bg3wiki-tooltip-box">
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage -->
{{{where to find}}}
| image = Longsword Icon.png
</div>
| description =
}} {{#if: {{{notes|}}} | {{blank}}
| quote = The in-game flavor text in the item's tooltip.
| category = martial
| melee or ranged = melee
| handedness = versatile
| type = Longswords
| rarity =
| enchantment =
| damage = 1d8 + 1
| damage type = Slashing
| versatile damage = 1d10 + 2
| extra damage = 1d4 Fire
| extra damage 2 = 1d6 Acid
| range =
| range m =
| range ft =
| finesse =
| heavy =
| light =
| reach =
| thrown =
| can't dual wield =
| dippable = yes
| weight kg = 1.35
| weight lb = 2.7
| price = 75
| weapon actions = Pommel Strike, Lacerate, Rush Attack
| special =
* '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this weapon.
| where to find =
This is a made-up weapon.  You cannot obtain it anywhere in the game.
| this is an example = yes
}}


<h1>Dagger</h1>
<h2> Notes </h2>


{{WeaponPage
<div class="bg3wiki-tooltip-box">
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage -->
{{{notes}}}
| image = Dagger Icon.png
</div>
| description =
}} {{#if: {{{bugs|}}} | {{blank}}
| quote = The in-game flavor text in the item's tooltip.
| category = simple
| melee or ranged = melee
| handedness = one-handed
| type = Longswords
| rarity =
| enchantment =
| damage = 1d4 + 1
| damage type = Piercing
| range =
| range m =
| range ft =
| finesse = yes
| heavy =
| light = yes
| reach =
| thrown = yes
| can't dual wield =
| dippable = yes
| weight kg = 1.35
| weight lb = 2.7
| price = 75
| weapon actions = Piercing Strike
| special =
* '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this weapon.
| where to find =
This is a made-up weapon.  You cannot obtain it anywhere in the game.
| this is an example = yes
}}


----
<h2> Bugs </h2>


[[Category:Page Generating Templates]] [[Category:Weapon Page Templates]]
<div class="bg3wiki-tooltip-box">
 
{{{bugs}}}
{{#cargo_declare: _table = weapons
{{Main namespace only|[[Category:Bugs]]}}
| name = String (unique; mandatory)
</div>
| image = File
| description = Wikitext
| quote = Wikitext
| category = String (allowed values = simple, martial)
| handedness = String (allowed values = one-handed, two-handed, versatile)
| melee_or_ranged = String (allowed values = melee, ranged)
| type = Page
| rarity = String
| rarity_order = Integer
| enchantment = String
| damage = String
| damage_type = String (allowed values = Piercing, Slashing, Bludgeoning)
| versatile_damage = String
| extra_damage = String
| extra_damage_type = String
| extra_damage_2 = String
| extra_damage_2_type = String
| range_m = String
| range_ft = String
| finesse = Boolean
| heavy = Boolean
| light = Boolean
| reach = Boolean
| thrown = Boolean
| cannot_dual_wield = Boolean
| dippable = Boolean
| weight_kg = String
| weight_lb = String
| price = String
| weapon_actions = List (,) of String
| special = Wikitext
| where_to_find = Wikitext
}}
}}
</noinclude><includeonly>{{#switch: {{{this is an example|}}}
{{Main namespace only|[[Category:Equipment]] [[Category:Weapons]] [[Category:{{{melee or ranged}}} weapons]] [[Category:{{{category}}} weapons]] {{#if: {{{type|}}} | [[Category:{{{type}}}]]}}  {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very rare items]] | [[Category:{{{rarity|common}}} items]]}}
| yes =  
{{ItemIcon Insert
| #default = {{#cargo_store: _table = weapons
|icon={{{icon|}}}
|image={{{controller icon|}}}
|uid={{{uid|}}}
|rarity={{{rarity|common}}}
}}{{#cargo_store: _table = weapons
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| uid = {{{uid|}}}
| legacy = {{#var:legacy|}}
| rarity = {{IfEmpty | {{{rarity|}}} | common}}
| rarity = {{IfEmpty | {{{rarity|}}} | common}}
| rarity_order = {{#switch: {{{rarity|}}}
| rarity_order = {{#switch: {{{rarity|}}}
Line 455: Line 267:
   }}
   }}
}}
}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{documentation}}
(Auto-generated TemplateData follows.)
{{#cargo_declare: _table = weapons
----
| name = String (mandatory)
<templatedata>
| uid = String
{
| legacy = String(allowed values = inaccessible, unobtainable)
"params": {
| image = File
"name": {
| controller_icon = File
"description": "The name of the item -- can be left out to use the page name automatically.",
| icon = File
"example": "Merregon Halberd",
| description = Wikitext
"type": "string",
| quote = Wikitext
"required": false,
| category = String (allowed values = simple, martial)
"suggested": true
| handedness = String (allowed values = one-handed, two-handed, versatile)
},
| melee_or_ranged = String (allowed values = melee, ranged)
"image": {
| type = Page
"description": "The filename of the image/icon associated with this item.",
| rarity = String
"example": "Merregon Halberd Icon.png",
| rarity_order = Integer
"type": "wiki-file-name",
| enchantment = String
"required": true,
| damage = String
"suggested": true
| damage_type = String (allowed values = Piercing, Slashing, Bludgeoning)
},
| versatile_damage = String
"category": {
| extra_damage = String
"description": "The weapon's overall proficiency category (martial or simple)",
| extra_damage_type = String
"type": "string",
| extra_damage_2 = String
"suggestedvalues": [
| extra_damage_2_type = String
"martial",
| range_m = String
"simple"
| range_ft = String
],
| finesse = Boolean
"required": true,
| heavy = Boolean
"suggested": true
| light = Boolean
},
| reach = Boolean
"melee or ranged": {
| thrown = Boolean
"example": "melee",
| cannot_dual_wield = Boolean
"type": "string",
| dippable = Boolean
"suggestedvalues": [
| weight_kg = String
"melee",
| weight_lb = String
"ranged"
| price = String
],
| passives = List (,) of String
"required": true,
| passives_main_hand = List (,) of String
"suggested": true
| passives_off_hand = List (,) of String
},
| weapon_actions = List (,) of String
"handedness": {
| special_weapon_actions = List (,) of String
"example": "one-handed",
| special = Wikitext
"type": "string",
| where_to_find = Wikitext
"suggestedvalues": [
}}</noinclude>
"one-handed",
"versatile",
"two-handed"
],
"required": true,
"suggested": true
},
"type": {
"description": "The weapon's specific type. Always plural.",
"example": "Longswords",
"type": "string",
"suggestedvalues": [
"Battleaxes",
"Clubs",
"Daggers",
"Glaives",
"Greataxes",
"Greatclubs",
"Greatswords",
"Halberds",
"Hand Crossbows",
"Handaxes",
"Heavy Crossbows",
"Javelins",
"Light Crossbows",
"Light Hammers",
"Longbows",
"Longswords",
"Maces",
"Mauls",
"Morningstars",
"Pikes",
"Quarterstaves",
"Rapiers",
"Scimitars",
"Shortbows",
"Shortswords",
"Sickles",
"Spears",
"Tridents",
"War Picks",
"Warhammers"
],
"required": true,
"suggested": true
},
"rarity": {
"description": "The rarity level of the weapon (common, uncommon, rare, very rare, legendary, story)",
"example": "uncommon",
"type": "string",
"suggestedvalues": [
"common",
"uncommon",
"rare",
"very rare",
"legendary",
"story"
],
"required": true,
"suggested": true
},
"enchantment": {
"description": "The value of the enchantment on the weapon. Leave blank if no enchantment.",
"example": "+1",
"type": "string",
"suggestedvalues": [
"+1",
"+2",
"+3",
"+4",
"+5"
],
"suggested": true
},
"special": {
"description": "Any special features granted to the wielder of the weapon. Separate multiple special features with bullets.",
"example": "* '''Super Cool Ability:''' Cast [[Awesome Spell]] once per [[Long Rest]].",
"type": "content",
"suggested": true
},
"description": {
"description": "Optional, BRIEF description of what is notable about this weapon. If left empty, a basic description will be auto-generated for you based on the other information you've entered in the template.",
"example": "{{uncommon|Longsword of Slash-Slash}} is an uncommon [[Longsword]] that allows the wielder to slash a lot.",
"type": "content",
"suggested": true
},
"finesse": {
"description": "Does this weapon have the Finesse property? (Leave BLANK if no!)",
"type": "string",
"suggestedvalues": [
"yes"
],
"suggested": true
},
"heavy": {
"description": "Does this weapon have the Heavy property? (Leave BLANK if no!)",
"example": "yes",
"type": "string",
"suggestedvalues": [
"yes"
],
"suggested": true
},
"light": {
"description": "Does this weapon have the Light property? (Leave BLANK if no!)",
"example": "yes",
"type": "string",
"suggestedvalues": [
"yes"
],
"suggested": true
},
"reach": {
"description": "Does this weapon have the Extra Reach property? (Leave BLANK if no!)",
"example": "yes",
"type": "string",
"suggestedvalues": [
"yes"
],
"suggested": true
},
"thrown": {
"description": "Does this weapon have the Thrown property? (Leave BLANK if no!)",
"example": "yes",
"type": "string",
"suggestedvalues": [
"yes"
],
"suggested": true
},
"can't dual wield": {
"description": "Does this weapon have the Can't Dual Wield property? (Leave BLANK if no!)",
"example": "yes",
"type": "string",
"suggestedvalues": [
"yes"
],
"suggested": true
},
"quote": {
"description": "The in-game flavour text in the weapon's tooltip.",
"type": "string",
"suggested": true
},
"where to find": {
"description": "Describe where and how to obtain the weapon (can leave empty if it's super commonly obtainable).",
"example": "Looted from [[NPC Name]] in [[Location]].",
"type": "content",
"suggested": true
},
"damage": {
"description": "The damage of the weapon (the one-handed damage, in the case of Versatile weapons). Must follow the strict format XdY + Z, with the \"+ Z\" only needed if the weapon has an enchantment.",
"example": "1d8 + 1",
"type": "string",
"required": true,
"suggested": true
},
"damage type": {
"description": "The damage type of the weapon",
"example": "Slashing",
"type": "string",
"suggestedvalues": [
"Slashing",
"Bludgeoning",
"Piercing"
],
"required": true,
"suggested": true
},
"versatile damage": {
"description": "Same format as regular damage. Leave EMPTY if this weapon is not Versatile.",
"example": "1d10 + 1",
"type": "string",
"suggested": true
},
"extra damage": {
"description": "Any extra damage granted by this weapon. Leave EMPTY if this weapon does not receive a damage bonus aside from its enchantment. Otherwise, same format as regular damage, but with damage type directly on the same line. ",
"example": "1d4 Fire",
"type": "string",
"suggested": true
},
"extra damage 2": {
"description": "Additional extra damage, like if the weapon deals and extra 1d4 Fire AND an extra 1d4 Acid or something.",
"example": "1d4 Fire",
"type": "string",
"suggested": true
},
"dippable": {
"description": "Does this weapon have the Dippable property? (Leave BLANK if no!)",
"example": "yes",
"type": "string",
"suggestedvalues": [
"yes"
],
"default": "yes",
"suggested": true
},
"range": {
"description": "This is for ranged weapons only. Leave EMPTY if melee; otherwise choose one of the suggested values. \"short\" in this context refers to the shorter range of Hand Crossbows.",
"type": "string",
"suggestedvalues": [
"normal",
"short",
"special"
],
"suggested": true
},
"range m": {
"label": "special range m",
"description": "Leave EMPTY unless range is \"special.\" Special range of the weapon in meters.",
"example": "18",
"type": "number",
"suggested": true
},
"range ft": {
"label": "special range ft",
"description": "Leave EMPTY unless range is \"special.\" Special range of the weapon in feet.",
"example": "60",
"type": "number",
"suggested": true
},
"weight kg": {
"description": "Weight of the weapon in kilograms",
"example": "1.35",
"type": "number",
"required": true,
"suggested": true
},
"weight lb": {
"description": "Weight of the weapon in pounds",
"example": "2.7",
"type": "number",
"required": true,
"suggested": true
},
"price": {
"description": "Price/value of the item. When two values are listed on the tooltip, use the crossed out \"true\" value, not the adjusted buy/sell price.",
"example": "75",
"type": "number",
"required": true,
"suggested": true
},
"weapon actions": {
"description": "List of Weapon Actions gained by wielding this weapon in the main hand. Be sure to separate multiple actions with a comma.",
"example": "Pommel Strike, Lacerate",
"type": "content",
"suggested": true
},
"icon": {
"description": "The icon of this item. Defaults to the value of image= if not provided."
}
},
"description": "This template generates entire pages for individual weapons in the game. (For other Equipment, use Template:EquipmentPage. For Consumables and other miscellaneous items, use Template:MiscItemPage.)",
"format": "block",
"paramOrder": [
"name",
"image",
"icon",
"category",
"description",
"quote",
"where to find",
"type",
"rarity",
"melee or ranged",
"handedness",
"damage",
"versatile damage",
"damage type",
"extra damage",
"extra damage 2",
"enchantment",
"range",
"range m",
"range ft",
"finesse",
"heavy",
"light",
"reach",
"thrown",
"can't dual wield",
"dippable",
"weight kg",
"weight lb",
"price",
"special",
"weapon actions"
]
}
</templatedata></noinclude>

Navigation menu