MediaWiki talk:Templatesused

Wording edit

"Transcluded in" would be better than "transcluded onto", I think. Rich Farmbrough, 15:44 16 January 2007 (GMT).

Both sounds okay for me. Just stating this to indicate that it probably is not controversial to do the change. If one more user thinks we should change it then we should do the update.
--David Göthberg (talk) 01:16, 11 February 2010 (UTC)Reply

Add id edit

This should have some kind of id attribute for anchor links. It would be easier than explaining how to find the template list: "no, you're not there yet, keep scrolling down". — CharlotteWebb 18:13, 24 February 2009 (UTC)Reply

 Y Done - I added the anchor "templatesused". I stick to the unwritten rule that "if someone wants a CSS id on a system message, then we add it", since such ids tend to be useful in all kinds of ways and they cost pretty much nothing to add.
Here's how to use that anchor the way CharlotteWebb was thinking of:
To make an anchor link to the template list for a page simply go to the page, click edit, then add "#templatesused" to the URL. Then copy and paste that URL to the discussion where you want to link it. For instance, the URL to the template list for Template:Example would be this:
http://en.wikipedia.org/w/index.php?title=Template:Example&action=edit#templatesused
--David Göthberg (talk) 01:16, 11 February 2010 (UTC)Reply

Wording (Feb 2010) edit

The current wording is accurate and succinct (Pages transcluded onto the current version of this page:), but I don't think it helps the people who need it most. Any experienced editor will recognize the items in the list without any introductory text, but most newbies won't know what "transcluded" means and won't follow the link to find out. For them, I think we need text that indicates what they can do with the list, how it's useful. Unfortunately, explaining that concisely is hard to do. Something along these lines might be better:

Text from the following page(s) is included in this article. Click a link to learn more about the transcluded page:

It may be better to use the word template even though transclusion does not always refer to a page in the template namespace: using the word will give us a chance to link to the help page for templates. While that will make the message somewhat less accurate than it is now, I think it would help editors who are not familiar with transclusion but have heard about templates. Most transclusion from the article namespace is to a template, and that's where newbies will be. By the time they encounter other types of transclusion, they'll be more experienced and won't be relying on the message.

I am not convinced the text I proposed is the best we can do, but I do think we need a change. — John Cardinal (talk) 03:47, 11 February 2010 (UTC)Reply

Uncollapse by default? edit

How do I tweak my vector css to always display this class/section uncollapsed, on any edit/preview?

.templatesUsed {?}

Please and thanks. —Quiddity (talk) 19:15, 23 November 2012 (UTC)Reply

Answered at Wikipedia:MediaWiki_messages, and copy&pasted below.Quiddity (talk) 21:49, 27 November 2012 (UTC)Reply
Maybe .templatesUsed > ul { display:block !important; }. But your best option may be to add a line to your vector.js that sets the cookie "templates-used-list" to "expanded". Anomie 01:33, 27 November 2012 (UTC)Reply
How is that done? or pointers to an existing example? (I can deconstruct, but need a starting place). I searched for "cookie user.js", and searched the WP:JS page for "cookie", but couldn't see anything obvious. Thanks. —Quiddity (talk) 04:55, 27 November 2012 (UTC)Reply
document.cookie='templates-used-list=expanded';
is the simplest way. Or if you want to use jQuery,
mw.loader.using('jquery.cookie', function(){ $.cookie('templates-used-list', 'expanded'); });
should do it. Anomie 12:24, 27 November 2012 (UTC)Reply
Much thanks, that works perfectly. =) —Quiddity (talk) 21:49, 27 November 2012 (UTC)Reply

Protected edit request on 14 September 2020 edit

Change

Wikipedia:transclusion

to

Help:Transclusion

per recent move. Nardog (talk) 14:40, 14 September 2020 (UTC)Reply

  Done — Martin (MSGJ · talk) 04:32, 15 September 2020 (UTC)Reply