Ad 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>


<dl class="bg3wiki-property-list">
<ul class="bg3wiki-property-list">
<dt> {{#ifeq: {{{handedness}}} | versatile | One-handed damage: | Damage: }}
<li> {{#ifeq: {{{handedness}}} | versatile | One-handed damage: | Damage: }} </li>
<dd> {{DamageInfo
<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 |
<dt> Two-handed damage:
<li> Two-handed damage:</li>
<dd> {{DamageInfo
<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|}}} |
<dt> Extra damage:
<li> Extra damage:</li>
<dd> {{DamageInfo
<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|}}} |
<dd> {{DamageInfo
<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>
}}
}}
<dt> Details:
<li> Details:</li>
{{#if: {{{type|}}} | <dd> {{WeaponType | {{{type}}} }}}}
{{#if: {{{type|}}} | <li> {{WeaponType | {{{type}}} }} </li>}}
<dd> {{Rarity | {{{rarity|common}}} }}
<li> {{Rarity | {{{rarity|common}}} }} </li>
<dd> {{Enchantment | {{{enchantment|}}} }}
<li> {{Enchantment | {{{enchantment|}}} }} </li>
<dd> {{#switch: {{{handedness}}}
{{#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|}}} | <dd> {{Finesse}}
}} {{#if: {{{finesse|}}} | <li> {{Finesse}} </li>
}} {{#if: {{{light|}}} | <dd> {{Light}}
}} {{#if: {{{light|}}} | <li> {{Light}} </li>
}} {{#if: {{{reach|}}} | <dd> {{Reach}}
}} {{#if: {{{reach|}}} | <li> {{Reach}} </li>
}} {{#if: {{{thrown|}}} | <dd> {{Thrown}}
}} {{#if: {{{thrown|}}} | <li> {{Thrown}} </li>
}} {{#if: {{{can't dual wield|}}} | <dd> {{Can't Dual Wield}}
}} {{#if: {{{can't dual wield|}}} | <li> {{Can't Dual Wield}} </li>
}} {{#if: {{{dippable|}}} | <dd> {{Dippable}}
}} {{#if: {{{dippable|}}} | <li> {{Dippable}} </li>
}}
}}
<dd> {{#switch: {{{melee or ranged}}}
<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>
<dd> {{Price | {{{price}}} }} {{#if: {{{special|}}} | {{blank}}
<li> {{Price | {{{price}}} }} {{#if: {{{special|}}} | {{blank}} </li>
</dl>
{{#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 =

Navigation menu