From Dark and Darker Wiki
m (Added Demon's Glee example.) |
m (Changed to not display tabs above the iconbox if only a single rarity exists.) |
||
| Line 1: | Line 1: | ||
<includeonly>{{Tabs | <includeonly>{{#vardefine:rarities|{{Item Data|Weapon|{{{1}}}|rarities}}}}<!-- | ||
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!-- | |||
-->|{{Tabs | |||
|firstShownTier={{#expr:{{#explode:{{Item Data|Weapon|{{{1}}}|rarities}}|,|0|2}}+1}} | |firstShownTier={{#expr:{{#explode:{{Item Data|Weapon|{{{1}}}|rarities}}|,|0|2}}+1}} | ||
|content1 ={{#if:{{#pos:{{Item Data|Weapon|{{{1}}}|rarities}}|0}}<!-- | |content1 ={{#if:{{#pos:{{Item Data|Weapon|{{{1}}}|rarities}}|0}}<!-- | ||
| Line 19: | Line 21: | ||
-->{{#if:{{Item Data|Weapon|{{{1}}}|artifactname}}<!-- | -->{{#if:{{Item Data|Weapon|{{{1}}}|artifactname}}<!-- | ||
-->|{{GenerateWeaponInfobox|{{Item Data|Weapon|{{{1}}}|artifactname}}|7}}}} | -->|{{GenerateWeaponInfobox|{{Item Data|Weapon|{{{1}}}|artifactname}}|7}}}} | ||
}}</includeonly><noinclude> | }}<!-- | ||
-->|<div class="cardtabs" data-cardtabs>{{GenerateWeaponInfobox|{{{1}}}|{{#var:rarities}}}}</div>}}</includeonly><noinclude> | |||
<table class="wikitable"> | <table class="wikitable"> | ||
<tr> | <tr> | ||
Revision as of 08:48, 17 March 2024
| Code | Preview |
|---|---|
{{GenerateWeaponTabs|Arming Sword}}
|
- Physical Base Weapon Damage - - Move Speed -20 - Weapon Type: Sword Slot Type: Main-Hand Hand Type: One Handed Hitbox: 47.24x10.38x1.67 Error creating thumbnail: Unable to save thumbnail to destination A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand. |
{{GenerateWeaponTabs|Longsword}}
|
- Physical Base Weapon Damage - - Move Speed -30 - Weapon Type: Sword Slot Type: Main-Hand Hand Type: Two Handed Hitbox: 72.75x12.87x2.05 Error creating thumbnail: Unable to save thumbnail to destination A very long blade crafted from durable metal with a staunch hilt, heavy yet still feels nimble in your grasp. |
{{GenerateWeaponTabs|Demon's Glee}}
|
- Physical Base Weapon Damage 26 - - Magical Base Weapon Damage 1 - - Move Speed -15 - Weapon Type: Sword Slot Type: Main-Hand Hand Type: One Handed Hitbox: 55.57x13.34x6.64 Error creating thumbnail: Unable to save thumbnail to destination A blade fused with unholy blood is said to become almost sentient, craving destruction. |