Actions

Template

Difference between revisions of "ConsumableItem"

From ThornsWiki

 
(48 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
# Availability
 
# Availability
 
# Price
 
# Price
# (actually 11) Image (if there is one)
 
 
</noinclude>
 
</noinclude>
  
<div style="max-width:250px; margin:10px auto; background-color:#e8e4da; border-bottom:5px solid #977c4f;">
+
<div style="width:300px; margin:10px auto; background-color:#474440; border-bottom:5px solid #deb975; color:#ccc5b9;">
<div style="background:#5f5543; color:#FFF; max-width:100%; margin:0px auto; padding:10px 0px; font-size:1rem; text-align:center;font-family:'Metamorphous',serif;">{{{1}}}</div>
+
<div style="display: block; max-width:100%; height:80px; background:#fffcf2; color:#474440; margin:0px auto; padding:15px 10px; font-size:1rem; text-align:center; font-family:'Metamorphous',serif;">{{{1}}}</div>
<div style="background:#EFEFEF; display:block; max-width:250px; height:300px;">[[File:{{{8}}}|frameless|250px]]</div>
+
<div style="background:#deb975; color:#FFF;max-width:100%;margin:0px auto;padding:5px 10px; font-size:1rem;line-height:1.25rem; text-align:center; font-family:'Open Sans', sans-serif; font-weight:bold; letter-spacing:.05rem; text-transform:uppercase;">{{{3}}}</div>
<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;">{{{3}}}</div>
+
<div style="margin:0px auto; max-width:100%;padding:0px;">
<div style="margin:0px auto; max-width:100%;padding:0px 10px;">
 
 
<table max-width="100%">
 
<table max-width="100%">
 
<tr>
 
<tr>
Line 35: Line 33:
 
</tr>
 
</tr>
 
</table>
 
</table>
[[{{{1}}}| Read More]]</div>
+
<div style="text-align:center;display:block; width:100%; padding:5px 0px; background:#242422; text-decoration:none;">[[{{{1}}}|<i class="fa fa-angle-double-right" aria-hidden="true"></i>
 +
  Read More]]</div></div>
 
</div>
 
</div>

Latest revision as of 15:24, 1 January 2020

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]]