Difference between revisions of "Template:Decades and years"

From blackwiki
Jump to navigation Jump to search
imported>Jimp
(show sample box on non-century pages)
imported>Jimp
(correct parameter for Tnavbar)
Line 1: Line 1:
 
<div style="clear: both; width: 70%; margin-left: auto; margin-right: auto; padding: 1px; border:1px solid #8888aa;" class="NavFrame">
 
<div style="clear: both; width: 70%; margin-left: auto; margin-right: auto; padding: 1px; border:1px solid #8888aa;" class="NavFrame">
<div class="NavHead">{{Tnavbar|1st century|mini=1|style=position:absolute; width:auto; left:0.5em;}} '''[[:{{NAMESPACE}}:Decades|Decades]] and [[:{{NAMESPACE}}:Years|Years]]'''</div>
+
<div class="NavHead">{{Tnavbar|DecadesAndYears|mini=1|style=position:absolute; width:auto; left:0.5em;}} '''[[:{{NAMESPACE}}:Decades|Decades]] and [[:{{NAMESPACE}}:Years|Years]]'''</div>
<div class="NavContent" style="font-size:0.9em; margin:0.5em; text-align: center">{{#ifeq:{{Centurynum|adbc}}||{{DecadesAndYears/table|{{{1|}}}|{{{2|21}}}|{{{3|AD}}}}}
+
<div class="NavContent" style="font-size:0.9em; margin:0.5em; text-align: center">{{#ifeq:{{Centurynum|adbc}}|ADBC|{{DecadesAndYears/table|{{{1|}}}|{{{2|21}}}|{{{3|AD}}}}}
 
{{DecadesAndYears/table|{{NAMESPACE}}|{{Centurynum|n}}|{{Centurynum|adbc}}}}}}</div></div>
 
{{DecadesAndYears/table|{{NAMESPACE}}|{{Centurynum|n}}|{{Centurynum|adbc}}}}}}</div></div>

Revision as of 23:49, 11 July 2007