From Dark and Darker Wiki
(Created page with "<includeonly><!-- -->{{#arraydefine:Utilities|{{Utility Data|AllLists|Types|Utility|{{#if:{{{craftable|}}}|Craftable|Uncraftable}}|{{{1}}}}} }}<!-- -->{{#loop:i|0|{{#arraysize:Utilities}}<!-- -->|{{#vardefine:current|{{#arrayindex:Utilities|{{#var:i}} }} }}<!-- -->{{GenerateUtilityRow|{{#var:current}}}} }}<!-- --></includeonly><noinclude> List Utilities and generate rows with them == Example == <table class="wikitable"> <tr> <th>Code</th> <th>Preview</th> </tr>...") |
(Added table header and formatting.) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#arraydefine:Utilities|{{Utility Data|AllLists|Types|Utility|{{#if:{{{craftable|}}}|Craftable|Uncraftable}}|{{{1}}}}} }}<!-- | -->{{#arraydefine:Utilities|{{Utility Data|AllLists|Types|Utility|{{#if:{{{craftable|}}}|Craftable|Uncraftable}}|{{{1}}}}} }}<!-- | ||
-->{{#loop:i|0|{{#arraysize:Utilities}}<!-- | --><table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="rgb(220,220,220,0.2); color:#eee; background:transparent; text-align:center; vertical-align:middle;"> | ||
<tr style="font-weight:bold;"> | |||
<th style="width:5%">Name</th> | |||
<th style="width:5%">Class</th> | |||
<th style="width:5%">Movement Speed</th> | |||
<th style="width:10%">Damage on Hit</th> | |||
<th style="width:10%">Stats</th> | |||
<th style="width:30%">Effect</th> | |||
<th style="width:10%">Action Time</th> | |||
<th style="width:10%">Action Movement Speed</th> | |||
<th style="width:10%">Slowdown On Hit</th><!-- | |||
-->{{#loop:i|0|{{#arraysize:Utilities}}<!-- | |||
-->|{{#vardefine:current|{{#arrayindex:Utilities|{{#var:i}} }} }}<!-- | |||
-->{{GenerateUtilityRow|{{#var:current}}}} }}</table><!-- | |||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
List Utilities and generate rows with them | List Utilities and generate rows with them | ||
== Example == | == Example == | ||
< | <pre>{{GenerateUtilityRows|Drink}}</pre> | ||
{{GenerateUtilityRows|Drink}} | |||
<pre>{{GenerateUtilityRows|Consumable}}</pre> | |||
{{GenerateUtilityRows|Consumable}} | |||
<pre>{{GenerateUtilityRows|Installable}}</pre> | |||
{{GenerateUtilityRows|Installable}} | |||
<pre>{{GenerateUtilityRows|MusicalInstrument}}</pre> | |||
{{GenerateUtilityRows|MusicalInstrument}} | |||
<pre>{{GenerateUtilityRows|LightSource}}</pre> | |||
{{GenerateUtilityRows|LightSource}} | |||
<pre>{{GenerateUtilityRows|Throwable}}</pre> | |||
{{GenerateUtilityRows|Throwable}} | |||
</noinclude> | </noinclude> |
Revision as of 06:49, 8 May 2024
List Utilities and generate rows with them
Example
{{GenerateUtilityRows|Drink}}Template:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRow
Name | Class | Movement Speed | Damage on Hit | Stats | Effect | Action Time | Action Movement Speed | Slowdown On Hit |
---|
{{GenerateUtilityRows|Consumable}}Template:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRow
Name | Class | Movement Speed | Damage on Hit | Stats | Effect | Action Time | Action Movement Speed | Slowdown On Hit |
---|
{{GenerateUtilityRows|Installable}}Template:GenerateUtilityRow
Name | Class | Movement Speed | Damage on Hit | Stats | Effect | Action Time | Action Movement Speed | Slowdown On Hit |
---|
{{GenerateUtilityRows|MusicalInstrument}}Template:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRow
Name | Class | Movement Speed | Damage on Hit | Stats | Effect | Action Time | Action Movement Speed | Slowdown On Hit |
---|
{{GenerateUtilityRows|LightSource}}Template:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRowTemplate:GenerateUtilityRow
Name | Class | Movement Speed | Damage on Hit | Stats | Effect | Action Time | Action Movement Speed | Slowdown On Hit |
---|
{{GenerateUtilityRows|Throwable}}
Name | Class | Movement Speed | Damage on Hit | Stats | Effect | Action Time | Action Movement Speed | Slowdown On Hit |
---|