Template:Centurybox/centh

From Empire of Dragons
< Template:Centurybox
Revision as of 09:24, 16 August 2024 by Oberoten (talk | contribs) (Created page with "<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={{{cm|century}}}|bc={{{bc|BC}}}}}}}</includeonly><noinclude>This template corrects any century number less than one then passes parameters on to {{tl|Centurybox/nthcent}} which, in turn converts {{{1}}} to ''{{{1}}}th century (BC)'' (''BC'' is included iff {{{2}}}=''BC'') allowing for...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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}}}).