From Dark and Darker Wiki

m (Added unit type to Initial Projectile Speed header.)
m (Moved attribute text-weight:bold to the row style to avoid unneeded redundancy. Changed width values. Moved Movement Speed column.)
Line 1: Line 1:
<includeonly><table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="rgb(220,220,220,0.2); width:95%; color:#eee; background:transparent; text-align:center; vertical-align:middle;">
<includeonly><table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="rgb(220,220,220,0.2); width:95%; color:#eee; background:transparent; text-align:center; vertical-align:middle;">
<tr>
<tr style="font-weight:bold;">
<th style="font-weight:bold; width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Name</th>
-->Name</th>
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Class</th>
<th style="font-weight:bold; width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Slot</th>
-->Class</th>
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Movement Speed</th>
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Slot</th>
{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
-->|<th style="font-weight:bold; width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->|<th style="width:15%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Armor Rating</th><!--
-->Armor Rating</th><!--
-->|<th style="width:15%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Damage on Hit</th>}}
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Damage on Hit</th>}}
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Movement Speed</th>
{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
-->||<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->||<th style="width:15%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Stats</th>}}
-->Stats</th>}}
{{#if:{{#pos:bow,crossbow,shield|{{lc:{{{type}}} }} }}<!--
{{#if:{{#pos:bow,crossbow,shield|{{lc:{{{type}}} }} }}<!--
-->||<th style="font-weight:bold; width:7%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->||<th style="width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Combo</th><!--
-->Combo</th><!--
--><th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Combo Attack Speed</th>}}
--><th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
<th style="width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Combo Attack Speed</th>}}
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
-->{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
-->|Impact Resist<!--
-->|Impact Resist<!--
-->|Impact Zones + Impact Power/Resist}}</th>
-->|Impact Zones + Impact Power/Resist}}</th>
{{#if:{{#pos:bow,crossbow|{{lc:{{{type}}} }} }}<!--
{{#if:{{#pos:bow,crossbow|{{lc:{{{type}}} }} }}<!--
-->||<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->||<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Weapon Hitbox (mm)</th>}}
-->Weapon Hitbox</th>}}
{{#if:{{#pos:bow,crossbow|{{lc:{{{type}}} }} }}<!--
{{#if:{{#pos:bow,crossbow|{{lc:{{{type}}} }} }}<!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->|<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Reload Speed</th>}}
-->Reload Speed</th>}}
<th style="width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Action Movement Speed</th>
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Action Movement Speed</th>
{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
-->||<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->||<th style="width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Slowdown On Hit</th>}}
-->Slowdown On Hit</th>}}
{{#if:{{#pos:bow|{{lc:{{{type}}} }} }}<!--
{{#if:{{#pos:bow|{{lc:{{{type}}} }} }}<!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->|<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Quiver Size</th>}}
-->Quiver Size</th>}}
         {{#if:{{#pos:bow,crossbow|{{lc:{{{type}}} }} }}<!--
         {{#if:{{#pos:bow,crossbow|{{lc:{{{type}}} }} }}<!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->|<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Initial Projectile Speed (m/s)</th>}}
-->Initial Projectile Speed (m/s)</th>}}
<th style="width:5%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Artifact</th>
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Artifact</th>
</tr>
</tr>
{{{1}}}
{{{1}}}

Revision as of 16:29, 22 March 2024

Parameters:

  • {[Insert Weapon Row]}
  • type={Bow,Crossbow,Shield} (optional)


Code Preview
{{WeaponTable|{{GenerateWeaponRow|Throwing Knife}} }}


Template:GenerateWeaponRow
Name Class Slot Movement Speed Damage on Hit Stats ComboCombo Attack Speed Impact Zones + Impact Power/Resist Weapon Hitbox (mm) Action Movement Speed Slowdown On Hit Artifact

{{WeaponTable|{{GenerateWeaponRow|Centaur's Madness}}|type=Bow}}
Template:GenerateWeaponRow
Name Class Slot Movement Speed Damage on Hit Stats Impact Zones + Impact Power/Resist Reload Speed Action Movement Speed Slowdown On Hit Quiver Size Initial Projectile Speed (m/s) Artifact