Bureaucrats, content-moderator, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Administrators, threadmoderator
85,404
edits
No edit summary |
(prettying up a bit; adding auto cat) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="noprint" style="clear: right; -moz-border-radius:10px; border-left: inset black 5px; margin: 0 0 .5em .5em; background: #d8d8d8; width: 246px; padding: 0px; spacing: 0px; text-align: left; float: right;" | |||
<includeonly> | |||
{| | |||
|- | |- | ||
| | | style="margin-left: 0px;margin-top:2px;line-height:110%;text-align:center; font-size:150%;"|[[Timeline]] | ||
|- | |||
|} | |previous: [[{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|2}}-1}}}} century]] next: [[{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|2}}+1}}}} century]] | ||
|}[[category:{{nth|{{#expr:{{#sub:{{PAGENAME}}|0|2}} century]] </includeonly> | |||
<noinclude>{{documentation}}[[Category:Template sandbox]]</noinclude> | |||
</includeonly><noinclude>[[Category:Template sandbox]] | |||
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