Template:CenturyNav: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
No edit summary
Line 14: Line 14:
{{#sub:{{PAGENAME}}|0|2}} as the core engine
{{#sub:{{PAGENAME}}|0|2}} as the core engine
prolly have to throw in some #if or #switch thingies to capture centuries that are 1 or 3 numbers in length.
prolly have to throw in some #if or #switch thingies to capture centuries that are 1 or 3 numbers in length.
{{{1|{{#expr:{{#sub:{{PAGENAME}}|0|2}} -1}} }}}  -1 or +1 gives prev and next cent and should assign to the variable {{{1}}}


for decades
for decades
{{#sub:{{PAGENAME}}|0|4}}</nowiki></noinclude>
{{#sub:{{PAGENAME}}|0|4}}</nowiki></noinclude>
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.