6,366
editsAd placeholder
Template:Weapon page: Difference between revisions
Jump to navigation
Jump to search
m
move copyable one before the example
HiddenDragon (talk | contribs) (Undo revision 107657 by HiddenDragon (talk) undo the undo!) Tag: Undo |
m (move copyable one before the example) |
||
Line 190: | Line 190: | ||
--> | --> | ||
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. | 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 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. | |||
<pre> | |||
{{WeaponPage | |||
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:WeaponPage --> | |||
| image = | |||
| description = | |||
| 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 = | |||
| uid = | |||
| uuid = | |||
| special = | |||
| weapon actions = | |||
| special weapon actions = | |||
| condition = | |||
| condition duration = | |||
| condition save = | |||
| condition2 = | |||
| condition2 duration = | |||
| condition2 save = | |||
| where to find = | |||
}} | |||
</pre> | |||
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. | 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. | Please don't copy-paste this example code into any actual page you create. Prefer copy-pasting the completely blank template above. | ||
<pre> | <pre> | ||
Line 293: | Line 340: | ||
This is a made-up weapon. You cannot obtain it anywhere in the game. | This is a made-up weapon. You cannot obtain it anywhere in the game. | ||
}} | }} | ||
</pre> | </pre> |