10,955
editsAd placeholder
Template:Weapon page: Difference between revisions
Jump to navigation
Jump to search
Simplify by using MediaWiki's builtin dd/dt/dl syntax.
HiddenDragon (talk | contribs) (Possibly better without a bulleted list) |
(Simplify by using MediaWiki's builtin dd/dt/dl syntax.) |
||
Line 63: | Line 63: | ||
<h2> Properties </h2> | <h2> Properties </h2> | ||
< | <div class="bg3wiki-property-list"> | ||
; {{#ifeq: {{{handedness}}} | versatile | One-handed damage | Damage }} | |||
: {{DamageInfo | |||
| {{{damage}}} | | {{{damage}}} | ||
| {{{damage type}}} | | {{{damage type}}} | ||
| modifier = {{#if: {{{modifier|}}} | {{#ifeq: {{{modifier}}} |none||{{{modifier}}}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }} | | modifier = {{#if: {{{modifier|}}} | {{#ifeq: {{{modifier}}} |none||{{{modifier}}}}} | {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }} | ||
}} | }} {{#ifeq: {{{handedness}}} | versatile | | ||
; Two-handed damage | |||
: {{DamageInfo | |||
| {{{versatile damage}}} | | {{{versatile damage}}} | ||
| {{{damage type}}} | | {{{damage type}}} | ||
| modifier = {{#if: {{{modifier|}}} | {{#ifeq: {{{modifier}}} |none||{{{modifier}}}}}| {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }} | | modifier = {{#if: {{{modifier|}}} | {{#ifeq: {{{modifier}}} |none||{{{modifier}}}}}| {{#if: {{{finesse|}}} | finesse | {{{melee or ranged}}} }} }} | ||
}} | }} | ||
}} {{#if: {{{extra damage|}}} | | }} {{#if: {{{extra damage|}}} | | ||
; Extra damage | |||
: {{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}}} | }} }} }} | ||
}} | }} | ||
}} {{#if: {{{extra damage 2|}}} | | }} {{#if: {{{extra damage 2|}}} | | ||
: {{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}}} | }} }} }} | ||
}} | }} | ||
}} | }} | ||
; Details {{#if: {{{type|}}} | | |||
{{#if: {{{type|}}} | | : {{WeaponType | {{{type}}} }} | ||
}} | }} | ||
: {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }} | |||
: {{Enchantment | {{{enchantment|}}} }} | |||
: {{#switch: {{{handedness}}} | |||
| one-handed = {{One-Handed}} | |||
| two-handed = {{Two-Handed}} | |||
| versatile = {{Versatile}} | |||
}} {{#if: {{{finesse|}}} | : {{Finesse}} | |||
}} {{#if: {{{light|}}} | : {{Light}} | |||
}} {{#if: {{{reach|}}} | : {{Reach}} | |||
}} {{#if: {{{thrown|}}} | : {{Thrown}} | |||
}} {{#if: {{{can't dual wield|}}} | : {{Can't Dual Wield}} | |||
}} {{#if: {{{dippable|}}} | : {{Dippable}} | |||
}} | |||
: {{#switch: {{{melee or ranged}}} | |||
| melee = {{Range| {{#if: {{{reach|}}} | reach | melee}} }} | | melee = {{Range| {{#if: {{{reach|}}} | reach | melee}} }} | ||
| ranged = | | ranged = | ||
Line 112: | Line 113: | ||
| #default = {{Range| m = {{{range m}}} | ft = {{{range ft}}} }} | | #default = {{Range| m = {{{range m}}} | ft = {{{range ft}}} }} | ||
}} | }} | ||
}} | }} | ||
: {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} | |||
: {{Price | {{{price}}} | {{{price honour|}}} }} | |||
{{#if:{{{uid|}}}{{{uuid|}}}| | {{#if: {{{uid|}}} {{{uuid|}}} | | ||
</ | : {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if:{{{uuid|}}}|{{Uuid|{{{uuid}}}}} }} | ||
{{#if: {{{passives|}}}{{{passives main hand|}}}{{{passives off hand|}}}{{{special|}}} | | }} | ||
</div> | |||
{{#if: {{{passives|}}} {{{passives main hand|}}} {{{passives off hand|}}} {{{special|}}} | | |||
<h3> Special </h3> | <h3> Special </h3> | ||