Ad placeholder

Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
m
Added table list
No edit summary
m (Added table list)
(222 intermediate revisions by 16 users not shown)
Line 1: Line 1:
[[File:{{{image|Dagger Icon.png}}}|frameless|right]]
<includeonly>{{#switch: {{{this is an example|}}}
| yes =
| #default = {{PageSeo
  | image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}}
  | description = {{{description|{{WeaponPage/SeoDescription
    | category = {{{category}}}
    | melee or ranged = {{{melee or ranged}}}
    | handedness = {{{handedness}}}
    | type = {{{type}}}
    | rarity = {{{rarity|}}}
    | enchantment = {{{enchantment|}}}
    | special = {{{special|}}}
    }}}}}
  }}
}} __NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-{{#if: {{{rarity|}}}
| {{#replace: {{{rarity}}} | <nowiki> </nowiki> | }}
| common
}}"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{#if:{{{controller icon|}}} | [[File:{{{controller icon}}}|frameless|right|alt={{PAGENAME}} controller icon]] | {{#if:{{{icon|}}} | [[File:{{{icon}}}|frameless|right|alt={{PAGENAME}} icon]] | }} }} }}{{#if: {{{image|}}} || {{Main only|[[Category:Misc pages without images]]}} }}{{#if: {{{controller icon|}}} || {{Main only|[[Category:Item pages without controller icons]]}} }}{{#if: {{{icon|}}} || {{Main only|[[Category:Item pages without icons]]}} }}


{{#if:{{{description|}}}
{{#if: {{{description|}}}
|{{{description}}}
| {{{description}}}
|'''{{PAGENAME}}''' is a {{{melee or ranged|melee}}}, {{{handedness|one-handed}}} [[Weapon]] of the [[{{{type|Daggers}}}]] family.
|
 
<!-- HERE BE DRAGONS!  The following monstrosity will auto-generate a nice, sensible introduction paragraph for ''any'' combination of parameters.  So, technically, you never have to provide descriptions for weapons, but for those with unique special properties you might want to do so anyway. -->
 
<strong>{{RarityColor | {{{rarity|}}} | {{{name | {{PAGENAME}} }}} }}</strong> is {{#if: {{{enchantment|}}} {{{rarity|}}} {{{special|}}}
|
  {{#if: {{{rarity|}}}
    | {{RarityWithArticle | {{{rarity}}} }}{{#if: {{{enchantment|}}} |,}}
    | a
  }}{{#switch: {{{enchantment|}}}
    | +1 = {{blank}} lightly enchanted (+1)
    | +2 = {{blank}} moderately enchanted (+2)
    | +3 = {{blank}} highly enchanted (+3)
    | +4 = {{blank}} very strongly enchanted (+4)
    | +5 = {{blank}} supremely enchanted (+5)
  }}{{#if: {{{special|}}}
    | {{blank}} special
  }}
|
  a mundane, nonmagical
}} variant of the [[{{{type}}}]] family of weapons. It is a [[Weapons|{{{category}}} {{{melee or ranged}}} weapon]] {{#switch: {{{handedness}}}
| one-handed = wielded in one hand
| versatile = that can be wielded in one hand, or with both hands for extra damage
| two-handed = that's wielded with both hands
}}. {{#if: {{{finesse|}}}
| As a [[finesse]] weapon, it can benefit from the wielder's Dexterity and not just their Strength.
}} {{#if: {{{light|}}}
| It's a [[light (weapon property)|light]] weapon that anyone can dual-wield without special training.
}} {{#if: {{{reach|}}}
| It gives the user [[extra reach]] in melee combat.
}} {{#if: {{{thrown|}}}
| Its design lends itself well to be [[thrown]] at enemies as a projectile.
}} {{#if: {{{can't dual wield|}}}
| Its design doesn't lend itself to be dual-wielded, even by those with special training in dual-wielding.
}}
}}


{{quote|{{{quote|Missing quote ... imagine some nice flavor text here.}}}}}
}}


== Properties ==
{{#if: {{{quote|}}} | {{Description|{{{quote}}}}}}}


{{#switch:{{{handedness|versatile}}}
<h2> Properties </h2>
| versatile =
 
One-handed damage:
<div class="bg3wiki-property-list">
|}}{{DamageInfo
; {{#ifeq: {{{handedness}}} | versatile | One-handed damage | Damage }}
| count = {{{damage count|1}}}
: {{DamageInfo
| die = {{{damage die|4}}}
| {{{damage}}}
| plus = {{{damage plus|0}}}
| {{{damage type}}}
| modifier = {{{damage modifier|}}}
| modifier = {{#if: {{{modifier|}}} | {{#ifeq: {{{modifier}}} |none||{{{modifier}}}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
| type = {{{damage type|Slashing}}}
}} {{#ifeq: {{{handedness}}} | versatile |
}}{{#switch:{{{handedness|versatile}}}
; Two-handed damage
| versatile =
: {{DamageInfo
Two-handed damage:
    | {{{versatile damage}}}
{{DamageInfo
    | {{{damage type}}}
| count = {{{two-handed damage count|1}}}
    | modifier = {{#if: {{{modifier|}}} | {{#ifeq: {{{modifier}}} |none||{{{modifier}}}}}| {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }}
| die = {{{two-handed damage die|6}}}
    }}
| plus = {{{damage plus|0}}}
}} {{#if: {{{extra damage|}}} |
| modifier = {{{damage modifier|}}}
; Extra damage
| type = {{{damage type|Slashing}}}
: {{DamageInfo
    | {{#sub: {{{extra damage}}} | 0 | {{#rpos: {{{extra damage}}} | }} }}
    | {{#sub: {{{extra damage}}} | {{#expr: 1 + {{#rpos: {{{extra damage}}} | }} }} }}
    }}
}} {{#if: {{{extra damage 2|}}} |
: {{DamageInfo
    | {{#sub: {{{extra damage 2}}} | 0 | {{#rpos: {{{extra damage 2}}} | }} }}
    | {{#sub: {{{extra damage 2}}} | {{#expr: 1 + {{#rpos: {{{extra damage 2}}} | }} }} }}
    }}
}}
}}
|}}
; Details {{#if: {{{type|}}}
 
| : {{WeaponType | {{{type}}} }}
{{#switch:{{{melee range|normal}}}
| [[Category:Weapon pages without a type]] [[Category:Articles with errors]]
| normal =
* {{Range|melee}}
| reach =
* {{Range|reach}}
}}{{#if:{{{range m|}}}{{{range ft|}}}|
* {{Range|m={{{range m}}}|ft={{{range ft}}}}}
}}
}}
* {{WeaponType|{{{type|Daggers}}}}}
: {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }}
* {{#switch:{{{handedness|one-handed}}}
: {{Enchantment | {{{enchantment|}}} }}
: {{#switch: {{{handedness}}}
| one-handed = {{One-Handed}}
| one-handed = {{One-Handed}}
| two-handed = {{Two-Handed}}
| two-handed = {{Two-Handed}}
| versatile = {{Versatile}}
| versatile = {{Versatile}}
|}}{{#if:{{{ammunition|}}}|
}} {{#if: {{{finesse|}}} | : {{Finesse}}
* {{Ammunition}}
}} {{#if: {{{light|}}} | : {{Light}}
}}{{#if:{{{finesse|}}}|
}} {{#if: {{{reach|}}} | : {{Reach}}
* {{Finesse}}
}} {{#if: {{{thrown|}}} | : {{Thrown}}
}}{{#if:{{{heavy|}}}|
}} {{#if: {{{can't dual wield|}}} | : {{Can't Dual Wield}}
* {{Heavy}}
}} {{#if: {{{dippable|}}} | : {{Dippable}}
}}{{#if:{{{light|}}}|
}}
* {{Light}}
: {{#switch: {{{melee or ranged}}}
}}{{#if:{{{loading|}}}|
| melee = {{Range| {{#if: {{{reach|}}} | reach | melee}} }}
* {{Loading}}
| ranged =
}}{{#if:{{{reach|}}}|
  {{#switch: {{{range}}}
* {{Reach}}
  | normal = {{Range|ranged}}
}}{{#if:{{{thrown|}}}|
  | short = {{Range|short ranged}}
* {{Thrown}}
  | special
}}{{#if:{{{dippable|}}}|
  | #default = {{Range| m = {{{range m}}} | ft = {{{range ft}}} }}
* {{Dippable}}
  }}
}}
: {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
: {{Price | {{{price}}} | {{{price honour|}}} }}
{{#if: {{{uid|}}} {{{uuid|}}} |
: {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if:{{{uuid|}}}|{{Uuid|{{{uuid}}}}} }}
}}
</div> {{#if: {{{passives|}}} {{{passives main hand|}}} {{{passives off hand|}}} {{{special|}}} | {{blank}}
 
<h3> Special </h3>
 
'''The holder of this item gains:'''
 
{{#if: {{{passives|}}} | {{blank}}
 
{{Table list|{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }}}}
 
}}{{#if: {{{special|}}} | {{blank}}
 
{{{special|}}}
 
}}{{#if: {{{passives main hand|}}} | {{blank}}
 
'''Main Hand Only:'''
 
{{Table list|{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = htmlList }}}}
 
}}{{#if: {{{passives off hand|}}} | {{blank}}
 
'''Off Hand Only:'''
 
{{Table list|{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive | type = htmlList }}}}
 
}}
 
}}{{#if: {{{weapon actions|}}} | {{blank}}
 
<h3> Weapon actions </h3>
 
{{WeaponProficiencyUnlocks}}
{{#invoke: ParseList | main | {{{weapon actions}}} | useTemplate = WeaponAction | type = htmlList}}
 
}} {{#if: {{{special weapon actions|}}} | {{blank}}
 
<h3> Special weapon actions </h3>
 
This weapon also grants the following:
{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList}}
 
}}</div> {{#if: {{{condition|}}} | {{blank}}
 
<h3> Condition: {{{condition}}} </h3>
 
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{condition}}}
| save = {{{condition save|}}}
| duration = {{{condition duration|}}}
| dc = {{{condition dc|}}}
}}
}}
* {{Weight|kg={{{weight kg|1}}}|lb={{{weight lb|2}}}}}
{{main namespace only|{{Inflicts|{{{condition}}}|item}}}}
* {{Price|{{{price|10}}}}}
</div>{{#if: {{{condition2|}}} | {{blank}}
 
<h3> Condition: {{{condition2}}} </h3>
 
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{condition2}}}
| save = {{{condition2 save|}}}
| duration = {{{condition2 duration|}}}
| dc = {{{condition2 dc|}}}
}}
{{main namespace only|{{Inflicts|{{{condition2}}}|item}}}}
</div>
 
  }}
}} {{#if: {{{where to find|}}} | {{blank}}
 
<h2> Where to find </h2>


== Actions ==
<div class="bg3wiki-tooltip-box">
{{{where to find}}}
</div>
}} {{#if: {{{notes|}}} | {{blank}}


{{ProficiencyUnlocks}}
<h2> Notes </h2>


{{{actions|* {{Flourish}}}}}<noinclude>
<div class="bg3wiki-tooltip-box">
[[Category:Weapon Page Templates]]
{{{notes}}}
</noinclude>
</div>
}} {{#if: {{{bugs|}}} | {{blank}}
 
<h2> Bugs </h2>
 
<div class="bg3wiki-tooltip-box">
{{{bugs}}}
{{Main namespace only|[[Category:Bugs]]}}
</div>
}}
{{Main namespace only|[[Category:Equipment]] [[Category:Weapons]] [[Category:{{{melee or ranged}}} weapons]] [[Category:{{{category}}} weapons]] {{#if: {{{type|}}} | [[Category:{{{type}}}]]}}  {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very rare items]] | [[Category:{{{rarity|common}}} items]]}}
{{ItemIcon Insert
|icon={{{icon|}}}
|image={{{controller icon|}}}
|uid={{{uid|}}}
|rarity={{{rarity|common}}}
}}{{#cargo_store: _table = weapons
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| uid = {{{uid|}}}
| legacy = {{#var:legacy|}}
| rarity = {{IfEmpty | {{{rarity|}}} | common}}
| rarity_order = {{#switch: {{{rarity|}}}
  | = 0
  | uncommon = 1
  | rare = 2
  | very rare = 3
  | legendary = 4
  | story = 5
  }}
| finesse = {{IfEmpty | {{{finesse|}}} | no}}
| heavy = {{IfEmpty | {{{heavy|}}} | no}}
| light = {{IfEmpty | {{{light|}}} | no}}
| reach = {{IfEmpty | {{{reach|}}} | no}}
| thrown = {{IfEmpty | {{{thrown|}}} | no}}
| cannot_dual_wield = {{IfEmpty | {{{can't dual wield|}}} | no}}
| dippable = {{IfEmpty | {{{dippable |}}} | no}}
| range_m = {{#switch: {{{melee or ranged}}}
  | melee = {{#if: {{{reach|}}} | 1.5 | 2.5 }}
  | ranged = {{#switch: {{{range}}}
    | normal = 18
    | short = 15
    | special
    | #default = {{{range m}}}
    }}
  }}
| range_ft = {{#switch: {{{melee or ranged}}}
  | melee = {{#if: {{{reach|}}} | 5 | 8 }}
  | ranged = {{#switch: {{{range}}}
    | normal = 60
    | short = 50
    | special
    | #default = {{{range ft}}}
    }}
  }}
| extra_damage = {{#if: {{{extra damage|}}}
  | {{#sub: {{{extra damage}}} | 0 | {{#rpos: {{{extra damage}}} | }} }}
  }}
| extra_damage_type = {{#if: {{{extra damage|}}}
  | {{#sub: {{{extra damage}}} | {{#expr: 1 + {{#rpos: {{{extra damage}}} | }} }} }}
  }}
| extra_damage_2 = {{#if: {{{extra damage 2|}}}
  | {{#sub: {{{extra damage 2}}} | 0 | {{#rpos: {{{extra damage 2}}} | }} }}
  }}
| extra_damage_2_type = {{#if: {{{extra damage 2|}}}
  | {{#sub: {{{extra damage 2}}} | {{#expr: 1 + {{#rpos: {{{extra damage 2}}} | }} }} }}
  }}
}}
}}</includeonly><noinclude>{{documentation}}
{{#cargo_declare: _table = weapons
| name = String (mandatory)
| uid = String
| legacy = String(allowed values = inaccessible, unobtainable)
| image = File
| controller_icon = File
| icon = File
| description = Wikitext
| quote = Wikitext
| category = String (allowed values = simple, martial)
| handedness = String (allowed values = one-handed, two-handed, versatile)
| melee_or_ranged = String (allowed values = melee, ranged)
| type = Page
| rarity = String
| rarity_order = Integer
| enchantment = String
| damage = String
| damage_type = String (allowed values = Piercing, Slashing, Bludgeoning)
| versatile_damage = String
| extra_damage = String
| extra_damage_type = String
| extra_damage_2 = String
| extra_damage_2_type = String
| range_m = String
| range_ft = String
| finesse = Boolean
| heavy = Boolean
| light = Boolean
| reach = Boolean
| thrown = Boolean
| cannot_dual_wield = Boolean
| dippable = Boolean
| weight_kg = String
| weight_lb = String
| price = String
| passives = List (,) of String
| passives_main_hand = List (,) of String
| passives_off_hand = List (,) of String
| weapon_actions = List (,) of String
| special_weapon_actions = List (,) of String
| special = Wikitext
| where_to_find = Wikitext
}}</noinclude>

Navigation menu