Difference between revisions of "Template:Centurybox/centh"

From BoyWiki
Jump to: navigation, search
(New page: <includeonly>{{#ifexpr:{{{1}}}>0|{{Centurybox/nthcent|{{{1}}}|{{{2|AD}}}|cm={{{cm|century}}}|bc={{{bc|BC}}}}}|{{Centurybox/nthcent|{{#expr:1-{{{1}}}}}|{{#switch:{{{2|AD}}}|AD=BC|BC=AD}}|cm...)
(No difference)

Revision as of 22:17, 26 September 2008

This template corrects any century number less than one then passes parameters on to {{Centurybox/nthcent}} which, in turn converts {{{1}}} to {{{1}}}th century (BC) (BC is included iff {{{2}}}=BC) allowing for alternatives to century & BC (respective defaults of {{{cm}}} & {{{bc}}}).