Content deleted Content added
move colour to top border as per WT:SBS discussion |
border: 1px solid #a2a9b1; |
||
Line 1: | Line 1: | ||
<includeonly>|- |
<includeonly>|- |
||
! colspan="3" style="border- |
! colspan="3" style="border-width: 5px 1px 1px; border-style: solid; border-color: #c99 #a2a9b1 #a2a9b1;" | {{#if:{{{1}}}||Weather by year}}{{#switch:{{{1}}} |
||
|#default={{#if:{{{1}}}|Weather by year}} |
|#default={{#if:{{{1}}}|Weather by year}} |
||
|glo=Global weather by year |
|glo=Global weather by year |
Revision as of 18:13, 6 June 2017
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
This template creates a header to be used with succession boxes.
Usage
Without parameter
The template defaults to
if no parameter is given. In the following table, the first column contains the header and the second column shows the template call used to create it.With parameter
The format is {{s-wea|parameter}}
, where parameter is replaced by one of the parameter names shown in the following table. The first column displays the header and the second column contains the parameter name.
Example
From the Weather in 2007 article:
{{s-start}} {{s-wea|glo}} {{s-bef | before = [[Weather in 2006|2006]] }} {{s-ttl | title = Weather in | years = 2007 }} {{s-aft | after = 2008 }} {{s-end}}