Template:Elements/doc: Difference between revisions

From Archaelund Wiki
(Created page with "== Description == This template generates various output formats from raw element input. == Usage == <pre> {{Elements|<element input>|<format>}} </pre> Make sure that the ele...")
 
No edit summary
Line 11: Line 11:
<table class="wikitable>
<table class="wikitable>
<tr><th>Format</th><th>Description</th><th>Input</th><th>Example output</th></tr>
<tr><th>Format</th><th>Description</th><th>Input</th><th>Example output</th></tr>
<tr><td>Resistance</td><td>Displays elemental symbols and the corresponding restistance values.</td><td>vector of 6 comma-separated numbers, respresenting resistance values (e.g. 10,0,50,-10,0,0)</td><td>{{Elements|10,0,50,-10,0,0|Resistance}}</td></tr>
<tr><td>Resistance</td><td>Displays elemental symbols and the corresponding restistance values.</td><td>vector of 6 comma-separated numbers, representing resistance values (e.g. 10,0,50,-10,0,0)</td><td>{{Elements|10,0,50,-10,0,0|Resistance}}</td></tr>
<tr><td>Threat</td><td>Displays elemental symbols according to threat level.</td><td>vector of 6 comma-separated numbers, respresenting threat level 0...2 (e.g. 0,2,0,0,1,1)</td><td>{{Elements|0,2,0,0,1,1|Threat}}</td></tr>
<tr><td>Threat</td><td>Displays elemental symbols according to threat level.</td><td>vector of 6 comma-separated numbers, representing threat level 0...2 (e.g. 0,2,0,0,1,1)</td><td>{{Elements|0,2,0,0,1,1|Threat}}</td></tr>
</table>
</table>

Revision as of 11:51, 12 September 2020

Description

This template generates various output formats from raw element input.

Usage

{{Elements|<element input>|<format>}}

Make sure that the element input is formatted correctly, otherwise error messages may be generated.

Format options

FormatDescriptionInputExample output
ResistanceDisplays elemental symbols and the corresponding restistance values.vector of 6 comma-separated numbers, representing resistance values (e.g. 10,0,50,-10,0,0)
ThreatDisplays elemental symbols according to threat level.vector of 6 comma-separated numbers, representing threat level 0...2 (e.g. 0,2,0,0,1,1)