Template:Centurynum/adbc: Difference between revisions

From Empire of Dragons
Jump to navigation Jump to search
(Created page with "<noinclude>*Input a parameter of the form ''nth century'' and get :::''AD''. *Input a parameter of the form ''nth century BC'' and get :::''BC''. *Else get :::''</noinclude>{{#ifeq:{{Centurynum/n|{{{1}}}}}|{{Centurynum/switch|{{{1}}} BC}}|AD}}{{#ifeq:{{Centurynum/n|{{{1}}}}}|{{Centurynum/switch|{{{1}}}}}|BC}}<noinclude>''. ;Note: :It works for all interger n, 100 ≥ n ≥ 1<!-- as per {{Centurynum/switch}} -->.</noinclude>")
 
(No difference)

Latest revision as of 09:27, 16 August 2024

  • Input a parameter of the form nth century and get
AD.
  • Input a parameter of the form nth century BC and get
BC.
  • Else get
ADBC.
Note
It works for all interger n, 100 ≥ n ≥ 1.