Difference between revisions of "Template:Centurynum/adbc"
Jump to navigation
Jump to search
imported>Jimp (added explanation and adjusted the default to match the subtemplate name) |
imported>Jimp m |
||
| Line 1: | Line 1: | ||
| − | <noinclude>*Input a parameter of the form ''nth century'' | + | <noinclude>*Input a parameter of the form ''nth century'' and get |
| − | :: | + | :::''AD''. |
| − | *Input a parameter of the form ''nth century BC'' | + | *Input a parameter of the form ''nth century BC'' and get |
| − | :: | + | :::''BC''. |
*Else get | *Else get | ||
| − | :: | + | :::''</noinclude>{{#ifeq:{{Centurynum/n|{{{1}}}}}|{{Centurynum/switch|{{{1}}} BC}}|AD}}{{#ifeq:{{Centurynum/n|{{{1}}}}}|{{Centurynum/switch|{{{1}}}}}|BC}}<noinclude>''. |
;Note: | ;Note: | ||
:It works for all interger n, 100 ≥ n ≥ 1.</noinclude> | :It works for all interger n, 100 ≥ n ≥ 1.</noinclude> | ||
Revision as of 00:40, 6 July 2007
- 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.