Difference between revisions of "Template:Centurybox/previous"

From blackwiki
Jump to navigation Jump to search
imported>Jimp
imported>Jimp
(dfault 1)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{PAGENAME}}|1st century|1st century <small>BC</small>|{{#ifeq:{{centurynum/adbc|{{PAGENAME}}}}|<small>BC</small>|{{Ordinal|{{#expr:{{centurynum/n|{{PAGENAME}}}}+1}}}} century <small>BC</small>|{{Ordinal|{{#expr:{{centurynum/n|{{PAGENAME}}}}-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 06:51, 12 July 2007

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