Actions

Template

Difference between revisions of "ConsumableSort"

From ThornsWiki

Line 10: Line 10:
 
# Price
 
# Price
 
</noinclude>
 
</noinclude>
 
 
<div class="grid-item {{{4}}} {{{7}}} {{{5}}}">
 
<div class="grid-item {{{4}}} {{{7}}} {{{5}}}">
<p>{{{2}}}</p>
+
<div style="background-color:#e8e4da; border-bottom:5px solid #977c4f;">
<ul>
+
<div style="display: block; max-width:100%; height:80px; background:#5f5543; color:#FFF; margin:0px auto; padding:15px 10px; font-size:.85rem; text-align:center; font-family:'Metamorphous',serif;">{{{1}}}</div>
<li>{{{4}}}</li>
+
<div style="background:#977c4f; color:#FFF;max-width:100%;margin:0px auto;padding:5px 10px; font-size:.85rem;line-height:1.25rem; text-align:center; font-family:'Alice',serif; font-weight:bold; letter-spacing:.05rem; text-transform:uppercase;">{{{3}}}</div>
<li>{{{7}}}</li>
+
<div style="margin:0px auto; max-width:100%;padding:0px;">
<li>{{{5}}}</li></ul>
+
<table max-width="100%">
 +
<tr>
 +
    <th class="infobox-label">Origin:</th>
 +
    <td>{{{4}}}</td>
 +
</tr>
 +
<tr>
 +
    <th class="infobox-label">Availability:</th>
 +
    <td>{{{6}}}</td>
 +
</tr>
 +
<tr>
 +
    <th class="infobox-label">Price:</th>
 +
    <td>{{{7}}}</td>
 +
</tr>
 +
<tr>
 +
    <th class="infobox-label">Legailty:</th>
 +
    <td>{{{5}}}</td>
 +
</tr>
 +
</table>
 +
<div style="text-align:center;display:block; width:100%; padding:5px 0px; background:#FFF; text-decoration:none;">[[{{{1}}}|<i class="fa fa-angle-double-right" aria-hidden="true"></i>
 +
  Read More]]</div></div>
 +
</div>
 
</div>
 
</div>

Revision as of 15:50, 29 April 2019

Usage

This template pulls from the Cargo Consumable Table:

  1. Page Name
  2. Name
  3. Type
  4. Origin
  5. Legality
  6. Availability
  7. Price
{{{1}}}
{{{3}}}
Origin: {{{4}}}
Availability: {{{6}}}
Price: {{{7}}}
Legailty: {{{5}}}
[[{{{1}}}| Read More]]