Difference between revisions of "Template:Decades and years/box"

From blackwiki
Jump to navigation Jump to search
imported>JFG
(Strike deprecated parameter)
imported>JFG
(Copyedit)
 
Line 2: Line 2:
 
{{documentation|content=
 
{{documentation|content=
 
This subtemplate creates a hyperlinked table element with the following specifications.
 
This subtemplate creates a hyperlinked table element with the following specifications.
*{{{1}}} = <s>namespace</s> (deprecated)
+
*{{{1}}} = <s>namespace</s> (deprecated, ignored)
 
*{{{2}}} = year/decade  
 
*{{{2}}} = year/decade  
 
*{{{3}}} = epoch ''AD'' or ''BC''
 
*{{{3}}} = epoch ''AD'' or ''BC''

Latest revision as of 22:25, 5 January 2017

Template documentation

This subtemplate creates a hyperlinked table element with the following specifications.

  • {{{1}}} = namespace (deprecated, ignored)
  • {{{2}}} = year/decade
  • {{{3}}} = epoch AD or BC
  • {{{4}}} = background colour code:
    • 0 = year not in the century
    • 1 = year in the century
    • 2 = decade not in the century
    • 3 = decade in the century
  • {{{5}}} = (decade) if needed for disambiguation; otherwise blank

Subtemplates