Bureaucrats, content-moderator, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Administrators, threadmoderator
85,404
edits
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
|4=previous: [[{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|1}}-1}}}} century]] next: [[{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|1}}+1}}}} century]] | |4=previous: [[{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|1}}-1}}}} century]] next: [[{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|1}}+1}}}} century]] | ||
|6=<div id=ssh style=text:align:center>[[Far Future]]</div> | |6=<div id=ssh style=text:align:center>[[Far Future]]</div> | ||
|#default=previous: [[{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|2}}-1}}}} century]] next: [[{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|2}}+1}}}} century]] }} | |||
}} | }} | ||
|- | |- | ||
Line 19: | Line 19: | ||
|6==[[Category:{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|3}}}}}} century| *]][[Category:Centuries]] | |6==[[Category:{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|3}}}}}} century| *]][[Category:Centuries]] | ||
|#default==[[Category:{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|2}}}}}} century| *]][[Category:Centuries]] | |#default==[[Category:{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|2}}}}}} century| *]][[Category:Centuries]] | ||
|suppresserrors=true | |||
}} | }} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude>{{documentation}}[[Category:Timeline templates|C]] | <noinclude>{{documentation}}[[Category:Timeline templates|C]] | ||
next up is how to get the thing to work for centuries with 1 digit and 3 digits. Probably will use some kind of #switch. Something like #switch:{{#pos:{{PAGENAME}}|c. Then if the position of c is 5 it's a 1 digit century. if it's 7 it's a 3 digit century. and therefore the sub will have to take either the first, or the first 3 digits. </nowiki></noinclude> | next up is how to get the thing to work for centuries with 1 digit and 3 digits. Probably will use some kind of #switch. Something like #switch:{{#pos:{{PAGENAME}}|c. Then if the position of c is 5 it's a 1 digit century. if it's 7 it's a 3 digit century. and therefore the sub will have to take either the first, or the first 3 digits. </nowiki></noinclude> |
edits