Difference between revisions of "Template:Decade category header"

From MUSICAL HERITAGE ORGANIZATION
Jump to: navigation, search
m (Protected "Template:Decade category header" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
|+ '''Usage'''
 
|+ '''Usage'''
 
|<nowiki></nowiki>
 
|<nowiki></nowiki>
<pre>{{
+
<pre>
| decade = first year of decade eg. 1700 for 1700s
+
{{Decade category header|decade=1800}}
}}
+
Example: Decade 1800s
 
</pre>
 
</pre>
 
|}</noinclude>
 
|}</noinclude>
 +
<includeonly>
 
{| class="toccolours" align="center"
 
{| class="toccolours" align="center"
 
!The [[:Category:{{{decade|}}}s|{{{decade|}}}s]]:
 
!The [[:Category:{{{decade|}}}s|{{{decade|}}}s]]:
 
||[[:Category:{{#expr: {{{decade|}}} - 10 }}s|◄ {{#expr: {{{decade|}}} - 10 }}s]] | [[:Category:{{#expr: {{{decade|}}} }}|{{#expr:  {{{decade|}}} }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 1 }}|{{#expr: {{{decade|}}} + 1 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 2 }}|{{#expr: {{{decade|}}} + 2 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 3 }}|{{#expr: {{{decade|}}} + 3 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 4 }}|{{#expr: {{{decade|}}} +4 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 5}}|{{#expr: {{{decade|}}} + 5}}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 6 }}|{{#expr: {{{decade|}}} + 6 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 7}}|{{#expr: {{{decade|}}} + 7}}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 8}}|{{#expr: {{{decade|}}} + 8}}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 9}}|{{#expr: {{{decade|}}} + 9}}]] | [[:Category:{{#expr: {{{decade|}}} + 10}}s|{{#expr: {{{decade|}}} + 10}}s ►]]
 
||[[:Category:{{#expr: {{{decade|}}} - 10 }}s|◄ {{#expr: {{{decade|}}} - 10 }}s]] | [[:Category:{{#expr: {{{decade|}}} }}|{{#expr:  {{{decade|}}} }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 1 }}|{{#expr: {{{decade|}}} + 1 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 2 }}|{{#expr: {{{decade|}}} + 2 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 3 }}|{{#expr: {{{decade|}}} + 3 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 4 }}|{{#expr: {{{decade|}}} +4 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 5}}|{{#expr: {{{decade|}}} + 5}}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 6 }}|{{#expr: {{{decade|}}} + 6 }}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 7}}|{{#expr: {{{decade|}}} + 7}}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 8}}|{{#expr: {{{decade|}}} + 8}}]]&ndash;[[:Category:{{#expr: {{{decade|}}} + 9}}|{{#expr: {{{decade|}}} + 9}}]] | [[:Category:{{#expr: {{{decade|}}} + 10}}s|{{#expr: {{{decade|}}} + 10}}s ►]]
|}<noinclude>
+
|}
 +
<!-- please do not include [[Category:Decades]] -->
 +
</includeonly>
 +
 
 +
<noinclude>
 
[[Category:Time, date and calendar templates|{{PAGENAME}}]]
 
[[Category:Time, date and calendar templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 05:27, 14 January 2012

Usage
{{Decade category header|decade=1800}}
Example: Decade 1800s