Template talk:Ss

From Wikisource
Jump to navigation Jump to search

It doesn't seem like this is working with no params, i.e. {{ss}}=ſſ should be the same as {{ss|1}}=ſſ. I don't remember enough about templates to understand why. Prosody (talk) 22:09, 15 November 2015 (UTC)[reply]

Where, exactly? The template settings depend upon the namespace to select one of the display options. That is, whether it appears as "ss" or one of the variants is dependent upon the namespace in which the template is either called or transcluded. --EncycloPetey (talk) 22:12, 15 November 2015 (UTC)[reply]
It produces nothing here (see unneceary and poet where should be unnecessary and posset). After thinking about it some more I'm pretty sure that means it's going into the long ss rather than the modern part of the if statement, then it's misinterpreting the default case because there's an equals sign in it, so there's no case match and it produces no result. Don't remember how to fix that. Prosody (talk) 22:16, 15 November 2015 (UTC)[reply]
Using #default= explicitly seems to have done the trick. Prosody (talk) 22:54, 15 November 2015 (UTC)[reply]
BTW, instead of {{gap}}{{gap}}, you can just use {{gap|4em}}. It does precisely the same thing with half the template calls. --EncycloPetey (talk) 23:30, 15 November 2015 (UTC)[reply]
That one's my bad, and even after I figured that out I kept using {{gap}}{{gap}} as a personal preference because it just makes it easier for me to keep track of the indentations in my head. The text is going to need a fixup pass once all the transcription is done, so I may adjust it then to spare the poor macro processor some cycles. And a thousand thanks to Prosody for figuring out the problem with this template! It was driving me slightly batty, but not quite enough to make me dive into Mediawiki template syntax yet. --Xover (talk) 19:36, 16 November 2015 (UTC)[reply]