Difference between revisions of "Template:Decades and years/yearbox"
Jump to navigation
Jump to search
Template documentation
imported>Jdaloner m ("{{DecadesAndYears" --> "{{Decades and years") |
imported>Wbm1058 (documentation) |
||
| Line 1: | Line 1: | ||
<includeonly>{{Decades and years/box|{{{1}}}|{{{2}}}|{{{4}}}|{{#expr:{{#expr:{{{2}}}>({{{3}}}-1)*100}}and{{#expr:{{{2}}}<={{{3}}}*100}}}}}}</includeonly><noinclude> | <includeonly>{{Decades and years/box|{{{1}}}|{{{2}}}|{{{4}}}|{{#expr:{{#expr:{{{2}}}>({{{3}}}-1)*100}}and{{#expr:{{{2}}}<={{{3}}}*100}}}}}}</includeonly><noinclude> | ||
| + | {{documentation|content= | ||
Table element coloured according to whether the year belongs to the century. | Table element coloured according to whether the year belongs to the century. | ||
*{{{1}}} = namespace | *{{{1}}} = namespace | ||
*{{{2}}} = year | *{{{2}}} = year | ||
*{{{3}}} = century | *{{{3}}} = century | ||
| − | *{{{4}}} = epoch AD or BC</noinclude> | + | *{{{4}}} = epoch AD or BC |
| + | |||
| + | == Subtemplates == | ||
| + | * {{tl|Decades and years/box}} | ||
| + | }}</noinclude> | ||
Revision as of 16:51, 13 November 2016
Table element coloured according to whether the year belongs to the century.
- {{{1}}} = namespace
- {{{2}}} = year
- {{{3}}} = century
- {{{4}}} = epoch AD or BC
Subtemplates
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |