Tech, Bureaucrats, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Suppressors, Administrators, threadmoderator
119,411
edits
No edit summary Tag: sourceedit |
No edit summary Tag: sourceedit |
||
Line 21: | Line 21: | ||
|suppresserrors=true | |suppresserrors=true | ||
}}</includeonly> | }}</includeonly> | ||
<noinclude>{{documentation}}[[Category:Timeline templates|C]] | <noinclude>{{documentation}}[[Category:Timeline templates|C]][[Category:Templates that add a category]] | ||
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