From Dark and Darker Wiki

mNo edit summary
m (Added columns to Bows and Crossbows, removed column from Shields.)
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>
<th style="font-weight:bold; width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Name</th>
<th style="font-weight:bold; width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
<th style="font-weight:bold; width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Class</th>
-->Name</th>
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Slot</th>
<th style="font-weight:bold; width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
{{#if:{{#pos:shield|{{lc:{{{type}}}}} }}<!--
-->Class</th>
-->|<th style="font-weight:bold; width:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Armor Rating</th><!--
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Damage on Hit</th>}}
-->Slot</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:10%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->||<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Stats</th>}}
-->Armor Rating</th><!--
{{#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="font-weight:bold; width:7%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Combo</th>}}
-->Damage on Hit</th>}}
{{#if:{{#pos:bow,crossbow,shield|{{lc:{{{type}}}}} }}<!--
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->||<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Attack Speed</th>}}
-->Movement Speed</th>
{{#if:{{#pos:bow,crossbow|{{lc:{{{type}}}}} }}<!--
{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Reload Speed</th><!--
-->||<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Impact Zones + Impact Power/Resist</th><!--
-->Stats</th>}}
--><th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Weapon Hitbox</th>}}
{{#if:{{#pos:bow,crossbow,shield|{{lc:{{{type}}} }} }}<!--
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Action Movement Speed</th>
-->||<th style="font-weight:bold; width:7%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
{{#if:{{#pos:shield|{{lc:{{{type}}}}} }}<!--
-->Combo</th><!--
-->||<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Slowdown On Hit</th>}}
--><th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
{{#if:{{#pos:bow|{{lc:{{{type}}}}} }}<!--
-->Combo Attack Speed</th>}}
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Quiver Size</th>}}
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
         {{#if:{{#pos:bow,crossbow|{{lc:{{{type}}}}} }}<!--
-->{{#if:{{#pos:shield|{{lc:{{{type}}} }} }}<!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Initial Projectile Speed</th>}}
-->|Impact Resist<!--
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending">Artifact</th>
-->|Impact Zones + Impact Power/Resist}}</th>
{{#if:{{#pos:bow,crossbow|{{lc:{{{type}}} }} }}<!--
-->||<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Weapon Hitbox</th>}}
{{#if:{{#pos:bow,crossbow|{{lc:{{{type}}} }} }}<!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Reload 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}}} }} }}<!--
-->||<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Slowdown On Hit</th>}}
{{#if:{{#pos:bow|{{lc:{{{type}}} }} }}<!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Quiver Size</th>}}
         {{#if:{{#pos:bow,crossbow|{{lc:{{{type}}} }} }}<!--
-->|<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Initial Projectile Speed</th>}}
<th style="font-weight:bold; width:8%" class="headerSort" tabindex="0" role="columnheader button" title="Sort ascending"><!--
-->Artifact</th>
</tr>
</tr>
{{{1}}}
{{{1}}}
Line 40: Line 59:
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>{{WeaponTable|{{GenerateWeaponRow|Throwing Knife}}}}</pre>
<pre>{{WeaponTable|{{GenerateWeaponRow|Throwing Knife}} }}</pre>
</td>
</td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{WeaponTable|{{GenerateWeaponRow|Throwing Knife}}}}
{{WeaponTable|{{GenerateWeaponRow|Throwing Knife}} }}
</td>
</td>
</tr>
</tr>

Revision as of 07:37, 19 March 2024

Parameters:

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


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


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

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