Difference between revisions of "Template:Decades and years"

From blackwiki
Jump to navigation Jump to search
imported>Pomte
(Template:Navbox to avoid hard coding, and width:auto to properly center the table of years in Firefox etc.)
imported>Pomte
(unfortunately width must be fixed lest the title wrap when collapsed; not using min/max-width to conform with {{Centuries}})
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = DecadesAndYears
 
| name = DecadesAndYears
| style = width:auto;
+
| style = width:70%;
 
| title = [[:{{NAMESPACE}}:Decades|Decades]] and [[:{{NAMESPACE}}:Years|Years]]
 
| title = [[:{{NAMESPACE}}:Decades|Decades]] and [[:{{NAMESPACE}}:Years|Years]]
 
| list1 = {{#ifeq:{{Centurynum|adbc}}|ADBC|{{DecadesAndYears/table|{{{1|}}}|{{{2|21}}}|{{{3|AD}}}}}|{{DecadesAndYears/table|{{NAMESPACE}}|{{Centurynum|n}}|{{Centurynum|adbc}}}}}}
 
| list1 = {{#ifeq:{{Centurynum|adbc}}|ADBC|{{DecadesAndYears/table|{{{1|}}}|{{{2|21}}}|{{{3|AD}}}}}|{{DecadesAndYears/table|{{NAMESPACE}}|{{Centurynum|n}}|{{Centurynum|adbc}}}}}}
 
}}
 
}}

Revision as of 05:23, 28 December 2007