Template:Centurybox/nthcent: Difference between revisions
From BoyWiki
New page: <includeonly>{{Ordinal|{{#expr:{{{1}}}+not{{{1}}}}}}} {{#ifexpr:{{#ifeq:{{{2|AD}}}|BC|1|0}}=not{{{1}}}|{{{cm|century}}}|{{{cm|century}}} {{{bc|BC}}}}}</includeonly><noinclude>This template... |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
*handles {{{1}}}=0 correctly & | *handles {{{1}}}=0 correctly & | ||
*allows for alternatives to ''century'' & ''BC'' (respective defaults of {{{cm}}} & {{{bc}}}).</noinclude> | *allows for alternatives to ''century'' & ''BC'' (respective defaults of {{{cm}}} & {{{bc}}}).</noinclude> | ||
<noinclude> | |||
{{documentation}} | |||
[[Category:General wiki templates]] | |||
</noinclude> |
Latest revision as of 12:22, 11 December 2012
This template
- converts {{{1}}} to {{{1}}}th century (BC) (BC is included iff {{{2}}}=BC),
- handles {{{1}}}=0 correctly &
- allows for alternatives to century & BC (respective defaults of {{{cm}}} & {{{bc}}}).
BoyWiki Template documentation (for the above template, sometimes hidden or invisible)
- This template doesn't have any documentation yet! Help out by writing some. There may also be documentation on Wikia Templates which can be copied.
Visit Template:Centurybox/nthcent/doc to edit this template's description!
Done making changes? Refresh Also see: Portal:Template index and Help:Templates
Done making changes? Refresh Also see: Portal:Template index and Help:Templates