Template:Material: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable" cellpadding="2" style="float:right; margin: 0em 0em 1em 2em; width:400px; border-spacing:1px;"
{| class="wikitable" cellpadding="2" style="float:right; margin: 0em 0em 1em 2em; width:350px; border-spacing:1px;"
|-
|-
! colspan="3" | {{#if:{{{name|}}}|'''{{{name}}}'''|{{PAGENAME}}}} at a Glance
! colspan="3" | {{#if:{{{name|}}}|'''{{{name}}}'''|{{PAGENAME}}}} at a Glance
|-
|-
| style="width: 100px;" | Material Type || align="center" style="width: 200px;" | {{#if:{{{type|}}}|{{ucfirst:{{{type}}}}}[[material type is::{{{type}}}|]]{{Cat|{{{type}}}}}|''Unknown''}}{{#if:{{{stype|}}}|, {{ucfirst:{{{stype}}}}}{{Cat|{{{stype}}}}}|}}
| style="width: 100px;" | Material Type || align="center" style="width: 200px;" | {{#if:{{{type|}}}|{{ucfirst:{{{type}}}}}[[material type is::{{{type}}}|]]{{Cat|{{{type}}}}}|''Unknown''}}{{#if:{{{stype|}}}|, {{ucfirst:{{{stype}}}}}{{Cat|{{{stype}}}}}|}} || __TOC__
|-
|-
| Colors || align="center" | {{#if:{{{CTag|}}}|{{#switch:{{{CTag|}}}|-=Various|=|#default={{#arraymap:{{lc:{{{CTag}}}}}|,|@@@@|[[uses color::@@@@|{{ucfirst:@@@@}}]]}}}}|''Unknown''}}
| Colors || align="center" | {{#if:{{{CTag|}}}|{{#switch:{{{CTag|}}}|-=Various|=|#default={{#arraymap:{{lc:{{{CTag}}}}}|,|@@@@|[[uses color::@@@@|{{ucfirst:@@@@}}]]}}}}|''Unknown''}}

Revision as of 07:00, 3 February 2022


Usage Documentation

This template is for use with materials found in the game.