Template talk:Toolbar
Template:Toolbar is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit protected}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
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.
|
Add safesubst:
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Could {{{|safesubst:}}}
be added to all the if-functions and the int:pipe-separator? There are instances in which it would be useful to have this template substituted.
Another additional note (though not part of my edit request) would be to replace the int: words with the corresponding MediaWiki: pages as template. It's really not a big problem, but there are some languages in which the pipe-separator looks different (same for other separators), which might then not fit with the usual design. Furthermore, it's probably not necessary to localize the separators on an English wiki. But as I said, it's really not that big deal. --The Evil IP address (talk) 17:36, 3 May 2010 (UTC)
- Could I ask you to put your suggested code in /sandbox and test it first? Thanks — Martin (MSGJ · talk) 11:01, 4 May 2010 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Could this template please be synched with its sandbox? This will allow substitution to work, as Evil IP requested. Thanks, — This, that, and the other (talk) 11:33, 22 September 2011 (UTC)
- Done — Martin (MSGJ · talk) 16:18, 23 September 2011 (UTC)
- I appear to have introduced a minor glitch which did not show up when I tested this change. Could an administrator please re-sync with the sandbox? — This, that, and the other (talk) 01:06, 24 September 2011 (UTC)
- Okay, fixed. — Martin (MSGJ · talk) 07:08, 24 September 2011 (UTC)
- I appear to have introduced a minor glitch which did not show up when I tested this change. Could an administrator please re-sync with the sandbox? — This, that, and the other (talk) 01:06, 24 September 2011 (UTC)
Use in signatures
[edit]Do you think it would be feasible to provide an option that allows the span tag to be omitted? When substituting to provide signatures, as in {{User}} (see Wikipedia:SIGCLEAN#Signature_cleanup and related TfD) the span tag is often unneeded and increases the length of the signature. If it would not be inappropriate to omit the tag, I could make the edit to the sandbox. —PC-XT+ 22:19, 29 March 2014 (UTC)
- I've added the code to the module sandbox. Test it out with
{{subst:toolbar/sandbox|foo|bar|baz|span=no}}
and see what you think. — Mr. Stradivarius ♪ talk ♪ 01:35, 30 March 2014 (UTC)- I think it works well. I will be posting at Template talk:User-multi, too, because if this is to be used from {{User}}, Module:UserLinks will need to pass the parameter through, and it also has a span tag we may want to look into. Thanks for the fast reply! —PC-XT+ 07:20, 30 March 2014 (UTC)
- Ok, it's now up live. — Mr. Stradivarius ♪ talk ♪ 09:08, 5 April 2014 (UTC)
- I think it works well. I will be posting at Template talk:User-multi, too, because if this is to be used from {{User}}, Module:UserLinks will need to pass the parameter through, and it also has a span tag we may want to look into. Thanks for the fast reply! —PC-XT+ 07:20, 30 March 2014 (UTC)
Symmetry and beauty
[edit]Hello,
Presently, we have that :
(user| talk| block)
That is not symmetrical, that is ugly. And that is inconsistent with the separator=dot
variant.
Please replace that with this :
(user | talk | block)
with a non-breaking space (
) before each “|” separator. This is symmetrical, this is beautiful.
I was going to make the change, but it's locked.
Thanks,
--Nnemo (talk) 01:15, 8 January 2012 (UTC)
- This should now be fixed - MediaWiki:Pipe-separator/en-gb has been created as a clone of MediaWiki:Pipe-separator. If not, please state which language you have set at Preferences → User profile → Internationalisation. --Redrose64 (talk) 15:06, 24 May 2012 (UTC)
Default separator
[edit]According to the documentation, the pipe character is set to be the default separator between links in the lists formed by this template. Should this be changed to the (bold) middot/interpunct, as this seems to be the default elsewhere..? Sardanaphalus (talk) 09:10, 26 May 2014 (UTC)
- The pipe is used in various MediaWiki messages, and this template was made to emulate usage in the MediaWiki software. Changing the default would break the uses that expect the default to act like the MediaWiki software, and should probably be avoided. — Mr. Stradivarius ♪ talk ♪ 09:48, 26 May 2014 (UTC)
- Understood. Thanks for explaining. Sardanaphalus (talk) 01:05, 29 May 2014 (UTC)
Per item classes
[edit]It might be valuable to have per-item classes assigned (e.g. class1
). {{User21}} has some admin-specific classes in it that either cause awkward display for non-admins, or which cause a lint error when worked around. --Izno (talk) 16:07, 1 November 2017 (UTC)