Template talk:Millenniumbox
Add topicAppearance
Latest comment: 1 year ago by Froglegseternal in topic Proposed Change
| This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||
| ||||||||||||||||||||||
Untitled comment
[edit]Historical period templates is a deceptive category for a template which features on pages about the future. Jac96 (talk) 08:14, 5 July 2014 (UTC)
Proposed Change
[edit]Proposing we update so that there isn't an inline call of the infobox style, here's what I came up with to replace the current table call (should generate the exact same thing that the current template does)
{{Infobox
|label1 = <small>[[Millennium|Millennia]]:</small>
|data1 = {{flatlist}}
*{{dr|m|m|{{{1|1}}}|-1|y}}
*{{dr|m|m|{{{1|1}}}|0|{{#switch:{{{1|1}}}|1=ya|y}}}}
*{{dr|m|m|{{{1|1}}}|1|{{#switch:{{{1|1}}}|-1|1=ya|y}}}}
{{endflatlist}}
|label2 = <small>[[Centuries]]:</small>
|data2 = {{flatlist}}
*{{dr|m|c|{{{1|1}}}|0}}
*{{dr|m|c|{{{1|1}}}|1}}
*{{dr|m|c|{{{1|1}}}|2}}
*{{dr|m|c|{{{1|1}}}|3}}
*{{dr|m|c|{{{1|1}}}|4}}
*{{dr|m|c|{{{1|1}}}|5}}
*{{dr|m|c|{{{1|1}}}|6}}
*{{dr|m|c|{{{1|1}}}|7}}
*{{dr|m|c|{{{1|1}}}|8}}
*{{dr|m|c|{{{1|1}}}|9}}
{{endflatlist}}
|bodystyle =max-width:100%; width: 400px
|rowstyle1 = background-color:#f0f0f0
|labelstyle = text-align:right;
|datastyle = text-align:center;
}} 