Actions

Template

Difference between revisions of "ConsumableItem"

From ThornsWiki

Line 12: Line 12:
 
</noinclude>
 
</noinclude>
  
<div style="max-width:250px; margin:10px auto; background-color:#e8e4da; border-bottom:5px solid #977c4f;">
+
<div style="max-width:200px; margin:10px auto; background-color:#e8e4da; border-bottom:5px solid #977c4f;">
<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="background:#5f5543; color:#FFF; max-width:100%; margin:0px auto; padding:10px 0px; font-size:.9rem; text-align:center;font-family:'Metamorphous',serif;">{{{1}}}</div>
 
<div style="background:#EFEFEF; display:block; max-width:250px; max-height:300px;">[[File:{{{8}}}|frameless|250px]]</div>
 
<div style="background:#EFEFEF; display:block; max-width:250px; max-height:300px;">[[File:{{{8}}}|frameless|250px]]</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="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 10px;">
+
<div style="margin:0px auto; max-width:100%;padding:0px;">
 
<table max-width="100%">
 
<table max-width="100%">
 
<tr>
 
<tr>
Line 35: Line 35:
 
</tr>
 
</tr>
 
</table>
 
</table>
[[{{{1}}}| Read More]]</div>
+
<div style="text-align:center;">[[{{{1}}}| Read More]]</div></div>
 
</div>
 
</div>

Revision as of 16:11, 24 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
  8. (actually 11) Image (if there is one)


{{{1}}}
[[File:{{{8}}}|frameless|250px]]
{{{3}}}
Origin: {{{4}}}
Availability: {{{6}}}
Price: {{{7}}}
Legailty: {{{5}}}
[[{{{1}}}| Read More]]