User:Hennils/Weapon type page: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "<onlyinclude>{{#switch: {{{this is an example|}}} | yes = | #default = {{PageSeo | title = {{{type}}} | description = {{{type}}} are a type of {{{handedness}}} {{{category}}} {{{melee or ranged}}} weapon in Baldur's Gate 3. Learn more about their properties and see the list of all {{{type}}} in the game. }} }} {{WeaponType|{{{type}}}}} are a type of {{{handedness}}} {{{category}}} {{{melee or ranged}}} weapon. Following are some base attributes com...")
 
No edit summary
Line 1: Line 1:
<onlyinclude>{{#switch: {{{this is an example|}}}
| yes =
| #default =
  {{PageSeo
  | title = {{{type}}}
  | description = {{{type}}} are a type of {{{handedness}}} {{{category}}} {{{melee or ranged}}} weapon in Baldur's Gate 3.  Learn more about their properties and see the list of all {{{type}}} in the game.
  }}
}}
{{WeaponType|{{{type}}}}} are a type of {{{handedness}}} {{{category}}} {{{melee or ranged}}} [[Weapons|weapon]]. Following are some base attributes common to most {{lc:{{{type}}} }}, although special or magical variants may be significantly different.  For the most common, nonmagical kind of this weapon, see [[{{{example}}}]].  Further down below, you can find a list of all {{lc:{{{type}}} }} in the game.
<h2> Properties </h2>


<dl class="bg3wiki-property-list">
<dt> {{#if: {{{versatile damage|}}} | One-handed damage: | Damage: }}
<dd> {{DamageInfo
    | {{{damage}}}
    | {{{damage type}}}
    | modifier = {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }}
    }}
{{#if: {{{versatile damage|}}} |
<dt> Two-handed damage:
<dd> {{DamageInfo
    | {{{versatile damage}}}
    | {{{damage type}}}
    | modifier = {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }}
    }}
}}
<dt> Details:
<dd> {{#switch:{{{handedness|}}}
    | one-handed = {{One-Handed}}
    | two-handed = {{Two-Handed}}
    | versatile = {{Versatile}}
    }}
{{#if: {{{range m|}}} {{{range ft|}}}
| <dd> {{Range|m={{{range m}}}|ft={{{range ft}}}}}
| <dd> {{#if:{{{range|}}}
      | {{Range|{{{range}}}}}
      | {{#ifeq: {{{melee or ranged|}}} | ranged
        | {{Range|ranged}}
        | {{#if:{{{reach|}}}
          | {{Range|reach}}
          | {{Range|melee}}
          }}
        }}
      }}
}} {{#if: {{{finesse|}}} | <dd> {{Finesse}}
}} {{#if: {{{light|}}} | <dd> {{Light}}
}} {{#if: {{{reach|}}} | <dd> {{Reach}}
}} {{#if: {{{thrown|}}} | <dd> {{Thrown}}
}} {{#if: {{{can't dual wield|}}} | <dd> {{Can't Dual Wield}}
}} {{#if: {{{dippable|}}} | <dd> {{Dippable}}
}}
</dl>


<h3> Actions </h3>
{{WeaponProficiencyUnlocks}}
{{#if: {{{weapon actions|}}}
| {{#invoke: ParseList | main | {{{weapon actions}}} | useTemplate = WeaponAction | type = htmlList }}
| {{{actions}}}
}}
<h2> List of {{lc:{{{type}}} }}</h2>
{{#switch: {{{this is an example|}}}
| yes = ''Omitted because this is an example''
| #default =
{{WeaponsTableHeader}}
{{WeaponsTableHeader}}
{{#cargo_query: tables = weapons
{{#cargo_query: tables = weapons
| fields = name, image, rarity, enchantment, damage, damage_type, extra_damage, extra_damage_type, weight_kg, weight_lb, price, special
| fields = name, image, rarity, enchantment, damage, damage_type, extra_damage, extra_damage_type, weight_kg, weight_lb, price, special, weapon_actions
| order by = rarity_order, name
| order by = rarity_order, name
| where = type="{{{type}}}" AND legacy IS NULL
| where = type="Rapiers" AND legacy IS NULL
| default = {{WeaponsTableEmpty}}
| default = {{WeaponsTableEmpty}}
| format = template
| format = template
Line 79: Line 12:
}}
}}
{{WeaponsTableFooter}}
{{WeaponsTableFooter}}
}}
<h2>Legacy content</h2>
{{#switch: {{{this is an example|}}}
| yes = ''Omitted because this is an example''
| #default =
<ul>
{{#cargo_query: tables = weapons
| fields = name, legacy
| order by = rarity_order, name
| where = type="{{{type}}}" AND (legacy="unobtainable" OR legacy="inaccessible")
| default = ''(None)''
| format = template
| template = Legacy item entry
| order by = legacy
| named args = yes
| more results text =
}}
</ul>
}}
{{#switch: {{{this is an example|}}}
| yes =
| #default = [[Category:Equipment]] [[Category:Weapon Types]] [[Category:{{{category|simple}}} Weapon Types]]
}}</onlyinclude>
<br/><br/><hr/><br/><br/>




{{User:Hennils/Weapon_type_page
{{#cargo_query:
| type = Rapiers
tables=weapons
| example = Rapier
|fields=weapons.name, weapons.weapon_actions, weapons.weapon_actions
| category = martial
|where=weapons.type = 'Rapiers'
| handedness = one-handed
|order by=weapons.name ASC
| melee or ranged = melee
| damage = 1d8
| damage type = Piercing
| finesse = yes
| dippable = yes
| weapon actions = Piercing Strike, Weakening Strike, Flourish
}}
}}

Navigation menu