Difference between revisions of "Template:Year"

From Rigged Wiki
Jump to navigation Jump to search
(Created page with "[[{{{1|2011}}} 4chan {{{2|{{#switch: {{{2|}}}|Spring=Spring Babby|Autumn=Autumn Babby|Winter=Winter|Summer=Summer|}}}}} Cup|{{{1|2011}}}]] <noinclude>==Usage:== <code><nowiki>...")
 
m (Protected "Template:Year" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[{{{1|2011}}} 4chan {{{2|{{#switch: {{{2|}}}|Spring=Spring Babby|Autumn=Autumn Babby|Winter=Winter|Summer=Summer|}}}}} Cup|{{{1|2011}}}]]
{{#switch: {{{3|}}}|b='''|}}[[{{{1|2011}}} 4chan {{#switch: {{{2|}}}|Winter=Winter|Summer=Summer|Spring=Spring Babby|Autumn=Autumn Babby|}} Cup|{{{1|2011}}}]]{{#switch: {{{3|}}}|b='''|}}<noinclude>
<noinclude>==Usage:==
==Usage:==
<code><nowiki>{{Year|201X|Season}}</nowiki></code>
<code><nowiki>{{Year|201X|Season}}</nowiki></code>
===Example:===
===Example:===
<code><nowiki>{{Year|2011|Summer}}</nowiki></code><br>
<code><nowiki>{{Year|2011|Summer}}</nowiki></code><br>
<code><nowiki>{{Year|2012|Spring}}</nowiki></code><br>
<code><nowiki>{{Year|2012|Spring}}</nowiki></code><br>
<code><nowiki>{{Year|2012|Spring|b}}</nowiki></code> - The '''b''' parameter will turn the text into '''bold'''.<br>


Will turn into:
Will turn into:


{{Year|2011|Summer}}<br>
{{Year|2011|Summer}}<br>
{{Year|2012|Spring}}<br></noinclude>
{{Year|2012|Spring}}<br>
<includeonly>[[Category:Link templates]]</includeonly>
{{Year|2012|Spring|b}}
[[Category:Link templates]]</noinclude>

Latest revision as of 05:30, 29 August 2016

2011

Usage:

{{Year|201X|Season}}

Example:

{{Year|2011|Summer}}
{{Year|2012|Spring}}
{{Year|2012|Spring|b}} - The b parameter will turn the text into bold.

Will turn into:

2011
2012
2012