Template

Difference between revisions of "Weather-intro"

From Children of StarClan

Line 4: Line 4:
 
<div class="row" style="{{Style/charbox}} color: #5e5a5a; margin-left: 5px; padding: 10px;">
 
<div class="row" style="{{Style/charbox}} color: #5e5a5a; margin-left: 5px; padding: 10px;">
 
<div class="large-4 columns">{{#ifeq:{{{moonyear}}}-{{{moonnum}}}|2006-01||'''[[Info:Weather {{#ifeq:{{{moonnum}}}|01|{{#expr:({{{moonyear}}} - 1)}}-13|{{{moonyear}}}-{{#ifeq:{{#expr:({{{moonnum}}} < 11)}}|1|0}}{{#expr:({{{moonnum}}} - 1)}}}}|<i class="fa fa-arrow-left"></i> Previous Moon]]'''}}</div>
 
<div class="large-4 columns">{{#ifeq:{{{moonyear}}}-{{{moonnum}}}|2006-01||'''[[Info:Weather {{#ifeq:{{{moonnum}}}|01|{{#expr:({{{moonyear}}} - 1)}}-13|{{{moonyear}}}-{{#ifeq:{{#expr:({{{moonnum}}} < 11)}}|1|0}}{{#expr:({{{moonnum}}} - 1)}}}}|<i class="fa fa-arrow-left"></i> Previous Moon]]'''}}</div>
<div class="large-4 columns">'''[[Info:Weather|All Weather Reports]]'''</div>
+
<div class="large-4 columns" style="text-align: center;">'''[[Info:Weather|All Weather Reports]]'''</div>
<div class="large-4 columns">'''[[Info:Weather {{#ifeq:{{{moonnum}}}|13|{{#expr:({{{moonyear}}} + 1)}}-01|{{{moonyear}}}-{{#ifeq:{{#expr:({{{moonnum}}} < 9)}}|1|0}}{{#expr:({{{moonnum}}} + 1)}}}}|Next Moon <i class="fa fa-arrow-right"></i>]]'''</div>
+
<div class="large-4 columns" style="text-align: right;">'''[[Info:Weather {{#ifeq:{{{moonnum}}}|13|{{#expr:({{{moonyear}}} + 1)}}-01|{{{moonyear}}}-{{#ifeq:{{#expr:({{{moonnum}}} < 9)}}|1|0}}{{#expr:({{{moonnum}}} + 1)}}}}|Next Moon <i class="fa fa-arrow-right"></i>]]'''</div>
 
<!-- navbar --></div>
 
<!-- navbar --></div>
 +
 +
<div class="row" style="{{Style/charbox}} color: #5e5a5a; margin-left: 5px; padding: 10px;">
 +
<div class="row">
 +
<div class="large-2 columns">'''IC Dates''' :&nbsp;</div>
 +
<div class="large-4 columns">{{{icdates}}}</div>
 +
<div class="large-2 columns">'''OOC Dates''' :&nbsp;</div>
 +
<div class="large-4 columns">{{{oocdates}}}</div>
 +
<!-- row --></div>
 +
<!-- infobox --></div>
  
 
{| align="center" border="0" style="background: none;" border="0" width="75%"
 
{| align="center" border="0" style="background: none;" border="0" width="75%"

Revision as of 15:16, 19 August 2014

Top header for the weather table

{{Weather-intro|moonname=|moonnum=|moonyear=|season=|icdates=|oocdates=|general=|brief=}}