Jump to content

Template:Centurybox/previous: Difference between revisions

From IdeaWazaWiki
wikademia>Jimp
like {{Centurynum/previous}} but with small caps BC
 
wikademia>Wikademia
m 7 revisions
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#ifeq:{{{1}}}|1st century|1st century BC|{{#ifeq:{{centurynum/adbc|{{{1}}}}}|BC|{{Ordinal|{{#expr:{{centurynum/n|{{{1}}}}}+1}}}} century BC|{{Ordinal|{{#expr:{{centurynum/n|{{{1}}}}}-1}}}} century}}}}
<includeonly>{{Centurybox/following|{{{1}}}|{{{2|AD}}}|{{#expr:-{{{3|1}}}}}|cm={{{cm|century}}}|nasp={{{nasp|}}}}}</includeonly><noinclude>This template creates a link to the century {{{3}}} (defaulting to one) step(s) before the {{{1}}}th century (BC) displaying any BC's (inclusion of which dependant on optional {{{2}}}, set to ''BC'' for ''BC'') as small caps and allows for alternative to ''century'' (e.g. ''millennium'') dependant on {{{cm}}}.
;See also
*{{tl|Centurybox/following}}
*{{tl|Centurybox/link}}
</noinclude>

Latest revision as of 20:28, 4 April 2009

This template creates a link to the century {{{3}}} (defaulting to one) step(s) before the {{{1}}}th century (BC) displaying any BC's (inclusion of which dependant on optional {{{2}}}, set to BC for BC) as small caps and allows for alternative to century (e.g. millennium) dependant on {{{cm}}}.

See also