Actions

Template

Difference between revisions of "FaunaSort"

From ThornsWiki

 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
This template pulls from the Cargo Fauna Table:
+
This template pulls from the Cargo FaunaEntry Table:
 
# Page Name
 
# Page Name
 
# Name
 
# Name
Line 9: Line 9:
 
</noinclude>
 
</noinclude>
  
<div class="grid-item {{{3}}} {{{4}}}">
+
<div class="grid-item {{{3|}}} {{#arraymap:{{{4|}}}|,|x|x<nowiki> </nowiki>|<nowiki> </nowiki>}}">
 
<div style="background-color:#fffcf2; border-bottom:5px solid #deb975;">
 
<div style="background-color:#fffcf2; border-bottom:5px solid #deb975;">
<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="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:#deb975; color:#fffcf2;max-width:100%;margin:0px auto;padding:5px 10px; font-size:1rem;line-height:1.25rem; text-align:center; font-family:'Alice',serif; font-weight:bold; letter-spacing:.05rem; text-transform:uppercase;">{{{3}}}</div>
+
<div style="background:#deb975; color:#fffcf2;max-width:100%;margin:0px auto;padding:5px 10px; font-size:1rem;line-height:1.25rem; text-align:center; font-family:'Alice',serif; font-weight:bold; letter-spacing:.05rem; text-transform:uppercase;">{{{3|}}}</div>
 
<div style="margin:0px auto; max-width:100%;padding:0px;">
 
<div style="margin:0px auto; max-width:100%;padding:0px;">
 
<table max-width="100%">
 
<table max-width="100%">
 
<tr>
 
<tr>
     <th class="infobox-label"; height="50px">Found in</th>
+
     <th class="infobox-label" width="50%">Found in</th>
     <td>{{{4}}}</td></tr>
+
     <td height="60 px">{{#arraymap:{{{4|}}}|,|x|x<nowiki></nowiki>|<nowiki>, </nowiki>}}</td></tr>
 
</table>
 
</table>
 
<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:'Alice',serif; font-weight:bold; letter-spacing:.05rem; text-transform:uppercase;">Summary</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:'Alice',serif; font-weight:bold; letter-spacing:.05rem; text-transform:uppercase;">Summary</div>
<div style="display: block; max-width: 100%; background: #fffcf2; color: #242422; margin: 0px auto; padding: 15px 15px; font-size: .9rem; line-height: 1.25em; text-align: justify; height: 75px; overflow:scroll;">{{{5}}}</div>
+
<div style="display: block; max-width: 100%; background: #fffcf2; color: #242422; margin: 0px auto; padding: 15px 15px; font-size: .9rem; line-height: 1.25em; text-align: center; height: 65px; overflow:scroll;">{{{5|}}}</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>
+
<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>
 
   Read More]]</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 13:58, 18 June 2020

Usage

This template pulls from the Cargo FaunaEntry Table:

  1. Page Name
  2. Name
  3. Classification
  4. Origin
  5. Summary


Found in
Summary
[[| Read More]]