Jump to content

Template talk:Toolbar

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Toolbar)

Add safesubst:

[edit]

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)[reply]

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)[reply]

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)[reply]

 Done — Martin (MSGJ · talk) 16:18, 23 September 2011 (UTC)[reply]
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)[reply]
Okay, fixed. — Martin (MSGJ · talk) 07:08, 24 September 2011 (UTC)[reply]

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)[reply]

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)[reply]
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)[reply]
Ok, it's now up live. — Mr. Stradivarius ♪ talk ♪ 09:08, 5 April 2014 (UTC)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]