Mal:Centurybox/nthcent

This template

  • converts {{{1}}} to Abad ka-{{{1}}} (SM) (SM is included if {{{2}}}=SM),
  • handles {{{1}}}=0 correctly &
  • allows for alternatives to century & SM (respective defaults of {{{cm}}} & {{{sm}}}).