Difference between revisions of "TimelineSpecificSort"
From ThornsWiki
Thornswiki (talk | contribs) |
Thornswiki (talk | contribs) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
This template pulls from the Cargo Timeline Table: | This template pulls from the Cargo Timeline Table: | ||
− | # | + | Fields= |
− | # URL= | + | |
− | # Day= DD | + | #_pageName |
− | # Month= | + | #Name |
− | # Year= YYYY | + | #URL = this is the link to the forum thread tag or the thread on the forum |
− | # Type= Event, Holiday, | + | #Day = DD format |
− | # Genre= Crime, Magic, Politics, Resistance | + | #Month = Intas, Bethas, Loshis, Hamis, Roalis, Yaris, Dentis, Vortas, Achtus, Ophus |
− | # Event= Exposition, Moderated, Open, Other | + | #Year = YYYY |
− | # Location= Anaxas, Bastia, Gior, Hesse, Hox, Mugroba, Elsewhere, Global | + | #Type = Event, Holiday, MainChapter, Other |
− | # | + | #Genre = Crime, Magic, Miscellaneous, Politics, Resistance |
− | # | + | #Event = Exposition, Moderated, Open, Other |
− | + | #Location = Anaxas, Bastia, Gior, Hesse, Hox, Mugroba, Elsewhere, Global | |
− | + | #Summary = 200 characters, max. | |
+ | #DateSort = YYYYMMDD | ||
+ | |||
+ | Won't know it's working until you break it first. Here we go. This is just a test. | ||
</noinclude> | </noinclude> | ||
− | <div class=" | + | |
− | + | <!-- content to sort --> | |
− | <div style="background-color:#fffcf2; border-bottom:5px solid #deb975;"> | + | <div class="item {{{6}}} {{{7}}} {{{8}}} {{{10}}}" data-date="{{{12}}}" > |
− | <div style="display: block; max-width:100%; height:80px; background:#fffcf2; color:#474440; margin:0px auto; padding:15px 10px; font-size: | + | <div style="background-color:#fffcf2; border-bottom:5px solid #deb975;"> |
− | <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;">Thread Information</div> | + | <div style="display: block; max-width:100%; height:80px; background:#fffcf2; color:#474440; margin:0px auto; padding:15px 10px; font-size:1.25rem; line-height:1.5rem; text-align:center; font-family:'Metamorphous',serif;">{{{1}}}</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;">Thread Information</div> | ||
<div style="margin:0px auto; max-width:100%;padding:0px;"> | <div style="margin:0px auto; max-width:100%;padding:0px;"> | ||
− | <table | + | <table width="100%" border="0"> |
<tr> | <tr> | ||
<th class="infobox-label">Event Date:</th> | <th class="infobox-label">Event Date:</th> | ||
− | <td>{{{ | + | <td style="background:#fffcf2;">{{{4}}} {{{5}}}, {{{6}}}</td> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<th class="infobox-label">Location:</th> | <th class="infobox-label">Location:</th> | ||
− | <td>{{{ | + | <td style="background:#fffcf2;">{{{10}}}</td> |
</tr> | </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;">Event Details</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> |
− | <table | + | <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: 150px; overflow:scroll;">{{{11}}}</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;">Event Details</div> | |
− | + | <table width="100%" border="0"> | |
− | + | <tr> | |
− | + | <td colspan="3" style="text-align:center; text-transform:uppercase; vertical-align:middle; font-size:1rem; padding:3px 0px;background:#fffcf2;"> | |
− | + | <p><span style="font-size:.6rem; letter-spacing:0.10em; font-weight:bold; margin-bottom:-8px;">PLOT GENRE:</span><br /> | |
− | + | {{{8}}}</p></td> | |
− | + | </tr> | |
− | + | <tr> | |
− | + | <td class="{{{7}}}"> | |
− | + | <p>{{{7}}}</p> | |
− | + | </td> | |
− | + | <td class="{{{9}}}" width="50%"> | |
+ | <p>{{{9}}}</p> | ||
+ | </td> | ||
+ | </tr> | ||
</table> | </table> | ||
− | + | <div style="text-align:center;display:block; width:100%; padding:5px 0px; background:#463f3a; text-decoration:none;">[[{{{1}}}|Read More]] <i class="fa fa-angle-double-right" aria-hidden="true"></i></div> | |
− | + | </div> | |
− | <div style="text-align:center;display:block; width:100%; padding:5px 0px; background:# | ||
− | |||
− | </div> | ||
</div> | </div> | ||
+ | </div> | ||
− | [[Category: Timeline | + | [[Category: Timeline]] |
Latest revision as of 23:46, 30 April 2020
Usage
This template pulls from the Cargo Timeline Table:
Fields=
- _pageName
- Name
- URL = this is the link to the forum thread tag or the thread on the forum
- Day = DD format
- Month = Intas, Bethas, Loshis, Hamis, Roalis, Yaris, Dentis, Vortas, Achtus, Ophus
- Year = YYYY
- Type = Event, Holiday, MainChapter, Other
- Genre = Crime, Magic, Miscellaneous, Politics, Resistance
- Event = Exposition, Moderated, Open, Other
- Location = Anaxas, Bastia, Gior, Hesse, Hox, Mugroba, Elsewhere, Global
- Summary = 200 characters, max.
- DateSort = YYYYMMDD
Won't know it's working until you break it first. Here we go. This is just a test.
{{{1}}}
Thread Information
Event Date: | {{{4}}} {{{5}}}, {{{6}}} |
---|---|
Location: | {{{10}}} |
Summary
{{{11}}}
Event Details
PLOT GENRE: |
||
{{{7}}} |
{{{9}}} |
[[{{{1}}}|Read More]]