Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
m
add TemplateData
No edit summary
m (add TemplateData)
Line 265: Line 265:
     }}
     }}
   }}
   }}
}}</includeonly>
}}</includeonly><noinclude>
(Auto-generated TemplateData follows.)
----
<templatedata>
{
"params": {
"image": {
"description": "The filename of the image/icon associated with this item.",
"example": "Merregon Halberd Icon.png",
"type": "wiki-file-name",
"required": true,
"suggested": true
},
"category": {
"description": "The weapon's overall proficiency category (martial or simple)",
"type": "string",
"suggestedvalues": [
"martial",
"simple"
],
"required": true,
"suggested": true
},
"melee or ranged": {
"example": "melee",
"type": "string",
"suggestedvalues": [
"melee",
"ranged"
],
"required": true,
"suggested": true
},
"handedness": {
"example": "one-handed",
"type": "string",
"suggestedvalues": [
"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
},
"ammunition": {
"description": "Does this weapon have the Ammunition property? (Leave EMPTY if no!)",
"example": "yes",
"type": "string",
"suggestedvalues": [
"yes"
],
"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
},
"loading": {
"description": "Does this weapon have the Loading 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
},
"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
},
"actions": {
"description": "List of Weapon Actions gained by wielding this weapon in the main hand. Be sure to separate multiple actions with * Bullets, with each bullet and action on a new line.",
"example": "* {{Lacerate}}",
"type": "content",
"suggested": true
}
},
"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": [
"image",
"category",
"description",
"quote",
"where to find",
"type",
"rarity",
"melee or ranged",
"handedness",
"damage",
"versatile damage",
"damage type",
"extra damage",
"enchantment",
"range",
"range m",
"range ft",
"ammunition",
"finesse",
"heavy",
"light",
"loading",
"reach",
"thrown",
"can't dual wield",
"dippable",
"weight kg",
"weight lb",
"price",
"special",
"actions"
]
}
</templatedata></noinclude>

Navigation menu