Template

Difference between revisions of "Weather-intro"

From Children of StarClan

Line 2: Line 2:
  
 
<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: 10px;">
+
<div class="row" style="{{Style/charbox}} color: #5e5a5a; margin-left: 5px; padding: 10px;">
<div class="large-4 columns">ONE</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)}}}}|<font size=4>←</font> Previous Moon]]'''}}</div>
<div class="large-4 columns">TWO</div>
+
<div class="large-4 columns">'''[[Info:Weather|All Weather Reports]]'''</div>
<div class="large-4 columns">THREE</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>
 
<!-- navbar --></div>
 
<!-- navbar --></div>
  
{| align="center" border="0" style="background: none;" border="0" width="100%"
 
|-
 
| width="33%" valign="top" align="left" | {{#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]]'''}}
 
| width="33%" valign="top" align="center" | '''[[Info:Weather|All Weather Reports]]'''
 
| width="33%" valign="top" align="right" | '''[[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>]]'''
 
|-
 
| width="100%" colspan="3" | <HR>
 
|-
 
|}
 
 
{| 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:10, 19 August 2014

Top header for the weather table

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