From Dark and Darker Wiki

(Changing Template to use structure that works with the new Item Data.)
m (Added Template Examples.)
Line 1: Line 1:
{{#if:{{Item Data|Weapon|{{PAGENAME}}|impactresistance}}<!--
<includeonly>{{#if:{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|impactresistance}}<!--
-->|<h2>Block</h2><!--
-->|<h2>Block</h2><!--
-->{{PAGENAME}} has a block ability.<br><!--
-->{{{1|{{PAGENAME}}}}} has a block ability.<br><!--
-->It has impact resistance of '''{{Item Data|Weapon|{{PAGENAME}}|impactresistance}}''', learn more at [[Impact Power]].}}
-->It has impact resistance of '''{{Item Data|Weapon|{{{1|{{PAGENAME}}}}}|impactresistance}}''', learn more at [[Impact Power]].}}</includeonly><noinclude><table class="wikitable">
<tr>
<th>Code</th>
<th>Preview</th>
</tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateBlock|Arming Sword}}</pre>
</td>
<td style="padding: 20px 30px;">
{{GenerateBlock|Arming Sword}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;">
<pre>{{GenerateBlock|Heater Shield}}</pre>
</td>
<td style="padding: 20px 30px;">
{{GenerateBlock|Heater Shield}}
</td>
</tr>
</table></noinclude>

Revision as of 04:14, 15 March 2024

Code Preview
{{GenerateBlock|Arming Sword}}
{{GenerateBlock|Heater Shield}}