Template:Centurynum/adbc: Difference between revisions

From BoyWiki
(New page: <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:{{Cen...)
 
No edit summary
Line 8: Line 8:
;Note:
;Note:
:It works for all interger n, 100 ≥ n ≥ 1<!-- as per {{Centurynum/switch}} -->.</noinclude>
:It works for all interger n, 100 ≥ n ≥ 1<!-- as per {{Centurynum/switch}} -->.</noinclude>
[[Category:General wiki templates]]

Revision as of 13:34, 6 December 2012

  • 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.