Template

Difference between revisions of "Weather-intro"

From Children of StarClan

Line 3: Line 3:
 
<PRE>{{Weather-intro|moonname=|moonnum=|moonyear=|season=|icdates=|oocdates=|general=|brief=}}</PRE></noinclude><includeonly>
 
<PRE>{{Weather-intro|moonname=|moonnum=|moonyear=|season=|icdates=|oocdates=|general=|brief=}}</PRE></noinclude><includeonly>
 
<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)}}}}|<font size=4></font> 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">'''[[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 <font size=4></font>]]'''</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>
 
<!-- navbar --></div>
 
<!-- navbar --></div>
  

Revision as of 15:12, 19 August 2014

Top header for the weather table

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