Template talk:Template link interwiki
Appearance
(Redirected from Template talk:Tl2/sandbox)
Text has been copied to or from this page; see the list below. The source pages now serve to provide attribution for the content in the destination pages and must not be deleted as long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below.
|
parameters in lowercase
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Using all uppercase inside templates is very non-standard. Please change the code to also allow for lowercase parameter names:
{{{LANG|{{{lang|}}}}}}{{{SISTER|{{{sister|}}}}}}
Thanks —capmo (talk) 11:28, 19 March 2013 (UTC)
- Given that these parameters appear to basically never be used, it's not obvious why we even need this template. I've removed it from its most common transclusion to get an idea of how widely it's deployed apart from that (which should hopefully weed out most of the 12,000 current uses); after that I'm going to take it to TfD. Chris Cunningham (user:thumperward) (talk) 12:32, 19 March 2013 (UTC)
- Aww, that would be a shame, as I just completely reworked it... but if you think it should go, I won't stop you. The "SISTER" and "LANG" parameters were only transcluded on 28 pages, so I deprecated them and replaced them with "sister" and "lang" parameters, and fixed the most important transclusions. I also made it so that the colon didn't have to be specified manually, and I updated the docs. — Mr. Stradivarius ♪ talk ♪ 12:43, 19 March 2013 (UTC)
- Thinking about this a bit more, merging with Template:Tlx might be a useful way of fixing things. At a glance at the Tlx code, it looks like the LANG and SISTER parameters have the same shortcomings as they did in this template (i.e. they're the wrong way round). It might be too late to insert the colons automatically into that one, but it couldn't hurt to have a look. — Mr. Stradivarius ♪ talk ♪ 12:48, 19 March 2013 (UTC)
- I didn't even realise {{tlx}} already took these options. At any rate, this is an area in need of consolidation, as it's absurd that we have more than half a dozen templates for trivial differences in output here. Chris Cunningham (user:thumperward) (talk) 12:53, 19 March 2013 (UTC)
- I agree with merging them and as far as the colons go, the template could test if there is a colon there or not and add them as needed. — T13 ( C • M • Click to learn how to view this signature as intended ) 12:56, 19 March 2013 (UTC)
- I didn't even realise {{tlx}} already took these options. At any rate, this is an area in need of consolidation, as it's absurd that we have more than half a dozen templates for trivial differences in output here. Chris Cunningham (user:thumperward) (talk) 12:53, 19 March 2013 (UTC)
- Thinking about this a bit more, merging with Template:Tlx might be a useful way of fixing things. At a glance at the Tlx code, it looks like the LANG and SISTER parameters have the same shortcomings as they did in this template (i.e. they're the wrong way round). It might be too late to insert the colons automatically into that one, but it couldn't hurt to have a look. — Mr. Stradivarius ♪ talk ♪ 12:48, 19 March 2013 (UTC)
- Aww, that would be a shame, as I just completely reworked it... but if you think it should go, I won't stop you. The "SISTER" and "LANG" parameters were only transcluded on 28 pages, so I deprecated them and replaced them with "sister" and "lang" parameters, and fixed the most important transclusions. I also made it so that the colon didn't have to be specified manually, and I updated the docs. — Mr. Stradivarius ♪ talk ♪ 12:43, 19 March 2013 (UTC)