6,366
editsAd placeholder
Template:Weapon page: Difference between revisions
Jump to navigation
Jump to search
add uid, fix all the tags
(add alt text) |
(add uid, fix all the tags) |
||
Line 63: | Line 63: | ||
<h2> Properties </h2> | <h2> Properties </h2> | ||
< | <ul class="bg3wiki-property-list"> | ||
< | <li> {{#ifeq: {{{handedness}}} | versatile | One-handed damage: | Damage: }} </li> | ||
< | <li> {{DamageInfo | ||
| {{{damage}}} | | {{{damage}}} | ||
| {{{damage type}}} | | {{{damage type}}} | ||
| modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }} | | modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }} | ||
}} {{#ifeq: {{{handedness}}} | versatile | | }} </li> {{#ifeq: {{{handedness}}} | versatile | | ||
< | <li> Two-handed damage:</li> | ||
< | <li> {{DamageInfo | ||
| {{{versatile damage}}} | | {{{versatile damage}}} | ||
| {{{damage type}}} | | {{{damage type}}} | ||
| modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }} | | modifier = {{#if: {{{modifier|}}} | {{{modifier}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }} | ||
}} | }} </li> | ||
}} {{#if: {{{extra damage|}}} | | }} {{#if: {{{extra damage|}}} | | ||
< | <li> Extra damage:</li> | ||
< | <li> {{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}}} | }} }} }} | ||
}} | }} </li> | ||
}} {{#if: {{{extra damage 2|}}} | | }} {{#if: {{{extra damage 2|}}} | | ||
< | <li> {{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}}} | }} }} }} | ||
}} | }} </li> | ||
}} | }} | ||
< | <li> Details:</li> | ||
{{#if: {{{type|}}} | < | {{#if: {{{type|}}} | <li> {{WeaponType | {{{type}}} }} </li>}} | ||
< | <li> {{Rarity | {{{rarity|common}}} }} </li> | ||
< | <li> {{Enchantment | {{{enchantment|}}} }} </li> | ||
< | {{#switch: {{{handedness}}} | ||
| one-handed = {{One-Handed}} | | one-handed = <li>{{One-Handed}}</li> | ||
| two-handed = {{Two-Handed}} | | two-handed = <li>{{Two-Handed}}</li> | ||
| versatile = {{Versatile}} | | versatile = <li>{{Versatile}}</li> | ||
}} {{#if: {{{finesse|}}} | < | }} {{#if: {{{finesse|}}} | <li> {{Finesse}} </li> | ||
}} {{#if: {{{light|}}} | < | }} {{#if: {{{light|}}} | <li> {{Light}} </li> | ||
}} {{#if: {{{reach|}}} | < | }} {{#if: {{{reach|}}} | <li> {{Reach}} </li> | ||
}} {{#if: {{{thrown|}}} | < | }} {{#if: {{{thrown|}}} | <li> {{Thrown}} </li> | ||
}} {{#if: {{{can't dual wield|}}} | < | }} {{#if: {{{can't dual wield|}}} | <li> {{Can't Dual Wield}} </li> | ||
}} {{#if: {{{dippable|}}} | < | }} {{#if: {{{dippable|}}} | <li> {{Dippable}} </li> | ||
}} | }} | ||
< | <li> {{#switch: {{{melee or ranged}}} | ||
| melee = {{Range| {{#if: {{{reach|}}} | reach | melee}} }} | | melee = {{Range| {{#if: {{{reach|}}} | reach | melee}} }} | ||
| ranged = | | ranged = | ||
Line 112: | Line 112: | ||
| #default = {{Range| m = {{{range m}}} | ft = {{{range ft}}} }} | | #default = {{Range| m = {{{range m}}} | ft = {{{range ft}}} }} | ||
}} | }} | ||
}} | }} </li> | ||
<dd> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} | <dd> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} </li> | ||
< | <li> {{Price | {{{price}}} }} {{#if: {{{special|}}} | {{blank}} </li> | ||
</ | {{#if:{{{uid|}}}|<li>{{Uid|{{{uid|}}}}}</li>}} | ||
</ul> | |||
<h3> Special </h3> | <h3> Special </h3> | ||
Line 235: | Line 236: | ||
<!-- The price in gp as shown in the normal tooltip (NOT while buying or selling). --> | <!-- The price in gp as shown in the normal tooltip (NOT while buying or selling). --> | ||
| price = 75 | | price = 75 | ||
<!-- The uid for the item, usually in format "MAG_SomeDescription_Something". It is not a uuid, which is in format "117f7687-189b-436b-bf79-0f8b9e0247a2" --> | |||
| uid = OBJ_Longsword | |||
<!-- Actions you get when you have proficiency and wield the weapon in your main-hand. --> | <!-- Actions you get when you have proficiency and wield the weapon in your main-hand. --> | ||
Line 282: | Line 286: | ||
| weight lb = | | weight lb = | ||
| price = | | price = | ||
| uid = | |||
| weapon actions = | | weapon actions = | ||
| special = | | special = | ||
Line 321: | Line 326: | ||
| weight lb = 2.7 | | weight lb = 2.7 | ||
| price = 75 | | price = 75 | ||
| uid = OBJ_Longsword | |||
| weapon actions = Pommel Strike, Lacerate, Rush Attack | | weapon actions = Pommel Strike, Lacerate, Rush Attack | ||
| special = | | special = |