Actions

Template

Difference between revisions of "HolidaySort"

From ThornsWiki

(Created page with "<noinclude> == Usage == This template pulls from the Cargo Holiday Table: # Page Name # Name # Day # Month # Origin # Race </noinclude> <div class="grid-item {{{4}}} {{{6}}}...")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
This template pulls from the Cargo Holiday Table:
+
This template pulls from the Cargo Holidays Table:
 
# Page Name
 
# Page Name
 
# Name
 
# Name
 +
# Month
 
# Day
 
# Day
# Month
 
 
# Origin
 
# Origin
 
# Race
 
# Race
 
</noinclude>
 
</noinclude>
  
<div class="grid-item {{{4}}} {{{6}}} {{{5}}}">
+
<div class="grid-item {{{3}}} {{{6}}} {{{5}}}">
 
<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}}} {{{2}}}</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}}} {{{4}}}</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%">
Line 26: Line 26:
 
</table>
 
</table>
 
<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></div>
+
   Read More]]</div>
 +
</div>
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 22:52, 1 May 2020

Usage

This template pulls from the Cargo Holidays Table:

  1. Page Name
  2. Name
  3. Month
  4. Day
  5. Origin
  6. Race


{{{1}}}
{{{3}}} {{{4}}}
Origin: {{{5}}}
Race: {{{6}}}
[[{{{1}}}| Read More]]