Template talk:Template sandbox notice

message: :Template:Template test cases notice needs to be updated for nonstandard sandbox locations. This should be extended for nonstandard testcase locations. 76.66.196.229 (talk) 09:35, 4 February 2009 (UTC)
replies: text: Any thoughts on how bet to do this? I'm a bit leery of trying to change it myself, since I've never messed around with  before. 「ダイノガイ千？！」(Dinoguy1000) 22:44, 4 February 2009 (UTC)
replies: text: Personally, I have no idea... perhaps a question at Village Pump might help? 76.66.196.229 (talk) 07:42, 7 February 2009 (UTC)
replies: text: Actually, I was kinda hoping one of the contributors to the template would pipe up... 「ダイノガイ千？！」(Dinoguy1000) 18:00, 7 February 2009 (UTC)
replies: text:  OK done in the sandbox; give it a go. I also added the ability to specify nonstandard test case pages to this template's sandbox (mostly because I thought that was what you wanted to start with). This controls categorisation of the test case page. Give that a try too (the test cases are commented out otherwise the testcases page is incorrectly categorised; just uncomment, fix the comments in the test case and run it as a preview). --Rogerb67 (talk) 00:20, 13 February 2009 (UTC)
replies: text: Yes, that looks good, perhaps implementation at some point? 76.66.201.179 (talk) 07:52, 13 March 2009 (UTC)
replies: text: Done --Rogerb67 (talk) 23:43, 13 March 2009 (UTC)
thread_title:  Template:Template test cases notice 

message: I'm hoping someone can move this notice into the system so that the notice box would be displayed on all template sandbox pages by default without this template being transcluded. Maybe even all sandbox pages. I'm not a developer and am totally ignorant of the issues which might be involved. If you edit this page a mbox is generated at the top of the page without the use of a template. So, it seems that it is technically feasible.  –droll [chat] 16:37, 5 July 2010 (UTC)
thread_title:  System feature? 

message: I've been working on . Its subpage arrangement is different to say the least. It has a number of sub-template sandboxes. Template:Infobox mountain is just a wrapper which provides compatibility with old parameter names. All the real code is at Template:Infobox mountain/main. So the most used sandbox is at Template:Infobox mountain/main/sandbox which works well with this template. The testcases, however, are at Template:Infobox mountain/testcases. Currently, it appears, there is no way to link to these testcases using this template. It expects the testcases to be at . The  option expects the testcases to be at . So could you add a parameter (perhaps testcases-fullname) that would allow a user to specify a page using the full page name. Hope this is understandable.  –droll [chat] 23:56, 3 August 2010 (UTC)
thread_title:  A request 

message: When I started experimenting with template design in my userspace sandbox, another template (apparently ) automatically appeared that was not the template I was designing. This unexpected template has a link for a diff, but the diff compares the sandbox revision to my main userspace page. I have no idea why comparing those two pages could be important, or even useful. Am I missing its usefulness or is the template comparing the wrong two pages and therefore it needs reprogramming? Nick Levinson (talk) 15:58, 31 July 2013 (UTC)
replies: text: You don't state which page in your userspace you were experimenting with, but I'm guessing that its name ends in /sandbox; I'm also guessing the code contains . It's a feature of the  template that if it's used on any page which ends in /sandbox, the  is displayed automatically. You can see it in action at, for example,  (to name just one of several thousand). --Redrose64 (talk) 16:26, 31 July 2013 (UTC)
replies: text: You're right (it was my sandbox and had the documentation template), but what about the 's diff link? Is it useful or should it be deleted from this template? I have no idea why we'd compare two different pages just because one is the sandbox and the other is the main user page for the same user. Nick Levinson (talk) 15:04, 1 August 2013 (UTC)
replies: text: When a template needs to be amended, and the amendment is non-trivial, it's normal to not edit the "old" version directly, in case it breaks the template (and potentially all the pages which transclude it), but to set up the proposed new version somewhere safely out of the way. As described at WP:TESTCASES, this safe place is typically the /sandbox subpage, since that is linked from the bottom of the template documentation box (the part beginning "Editors can experiment in this template's sandbox ..."). When viewing a template's sandbox, the diff link in the  is a useful means of comparing old with new. The diff link is not useful in your specific case, since User:Nick Levinson/sandbox is not intended as a new version of the page User:Nick Levinson, but there are many pages where it is useful, so should not be removed. --Redrose64 (talk) 15:27, 1 August 2013 (UTC)
replies: text: Okay, although, unless my type of case is rare, I wonder if it would help editors if the template tested for which two pages will be compared before offering a diff link, so that the link is provided only where it would fit the situation you describe. But that may be more complicated to set up than I have time for, so maybe this is moot. Thanks. Nick Levinson (talk) 15:41, 1 August 2013 (UTC)
thread_title:  why is diff link for 2-page comparator? 

message: Change  to 
The  template doesn't exist anymore, so it should be replaced with , which encodes the text in a url-safe way.
The code is nested similar to:

near the 'diff' code. SuperDragonXD (talk) 00:54, 3 December 2021 (UTC)
replies: text: . P.I. Ellsworth - ed. put'r there 16:04, 3 December 2021 (UTC)
thread_title:  Template-protected edit request on 3 December 2021 

message: Is there a way to mark a page as a template sandbox if it is a template subpage's sandbox version?  doesn't seem to support such functionality.
For instance, with this template page set
* 
* 
* 
* 
If I were to use  it would not work, if I were to use  , the sandbox notice assumes that this is the sandbox for  instead of . It seems there should be a way to indicate the template page this is the sandbox to, and possibly indicate it as a template subpage's sandbox
-- 65.92.246.142 (talk) 13:17, 11 March 2022 (UTC)
thread_title: Subpage sandbox tagging?

message: Thinking of adding a link to sync the sandbox page, like (diff | mirror). See Template:Template sandbox notice/testcases. Snowmanonahoe (talk · contribs · typos) 03:41, 19 May 2024 (UTC)
replies: text: It's not clear to me how this is supposed to work. On the testcases page, the "sync" links merely open up the testcases page in edit mode, with nothing changed. How might I test it properly? --Redrose64 🌹 (talk) 06:51, 19 May 2024 (UTC)
replies: text: Oh, yeah, so that's because I'm an idiot and it doesn't work. Snowmanonahoe (talk · contribs · typos) 06:54, 19 May 2024 (UTC)
replies: text: Can't work, in fact. Never mind. Snowmanonahoe (talk · contribs · typos) 06:57, 19 May 2024 (UTC)
thread_title:  Mirror link