Template talk:Template sandbox

From Wikipedia, the free encyclopedia

Contents

[edit] Usage

This is the Talk page for the Template sandbox.
When done with the sandbox please clean it by placing the following in it.

This sandbox is itself a template.  This sandbox is for experimenting with templates.
{{Please leave this line alone (template sandbox heading)}}

If you defined parameters such as '''<nowiki>{{Template sandbox|First|Second|name="Named"}}</nowiki>''':<br>
'''<nowiki>First:"</nowiki>'''{{{1}}}'''"'''<br/>
'''<nowiki>Second:"</nowiki>'''{{{2}}}'''"'''<br/>
'''<nowiki>Name:"</nowiki>'''{{{name}}}'''"'''

----

[edit] TFD

This template was nominated for deletion, but consensus was to keep it. See Wikipedia:Templates for deletion/Log/Not deleted/July 2005. Radiant_>|< 12:59, July 11, 2005 (UTC)

[edit] Discussion

[edit] Notice from User:FastLizard4

Sorry if you notice that this page dosen't have a history anymore. I was reverting page move vandalism, and forgot to move the talk page also. My mistake, and I apologize for any inconvenience this may have caused.
--FastLizard4 (TalkLinksSign) 04:14, 30 August 2007 (UTC)

No harm done! It's been taken care of.  :-) —David Levy 04:15, 30 August 2007 (UTC)

[edit] Request to add ...

{{editprotected}} Request: I'd like to change the default state of this sandbox from

This sandbox is itself a template.  This sandbox is for experimenting with templates.
{{Please leave this line alone (template sandbox heading)}}

If you defined parameters such as <tt>{{Template sandbox|First|Second|name="Named"}}</tt>:
;First:{{{1}}}
;Second:{{{2}}}
;Name:{{{name}}}

----
<!-- Hello!  Feel free to try your formatting and editing skills below this line.  As this page is for editing experiments, this page will automatically be cleaned every 12 hours. -->
to
<noinclude>
This sandbox is itself a template.  This sandbox is for experimenting with templates.
{{Please leave this line alone (template sandbox heading)}}

</noinclude>
If you defined parameters such as <tt>{{Template sandbox|First|Second|name="Named"}}</tt>:
;First:{{{1}}}
;Second:{{{2}}}
;Name:{{{name}}}

----
<!-- Hello!  Feel free to try your formatting and editing skills below this line.  As this page is for editing experiments, this page will automatically be cleaned every 12 hours. -->

Reason: I want a beginning template experimenter to be able to enter a template into the template sandbox, and then invoke it from a normal sandbox by a {{template sandbox}}, without having all the welcome text from {{Please leave this line alone (template sandbox heading)}} displayed as a result of the invocation. To achieve that, it's currently necessary for the user to add <noinclude>...</noinclude> around the boilerplate text at the top of the template sandbox, ignoring the warnings that tell him not to alter that area.
Wdfarmer (talk) 23:46, 18 February 2008 (UTC)

N Not done, not because it's not a good idea, but because there's nothing I or any other admin can do. I suggest you talk to User:Uncle G, who runs the bot which resets the sandboxes - implementing this will require him to modify the text that the bot is instructed to replace the page with when resetting. Happymelon 16:00, 23 February 2008 (UTC)
Someone has gone and done this use of <noinclude></noinclude> - very bad idea. Some people, myself included, have this template used in personal sandboxes, which means we lose the template and get whatever practice stuff someone has placed below the line when they do this.--Doug.(talk contribs) 04:15, 27 February 2008 (UTC)
(I added <nowiki>...</nowiki> tags to the above post to clarify its meaning. Wdfarmer (talk) 23:11, 27 February 2008 (UTC)
Doug, my request would only prevent the introductory header of this template from being included. You would still get the template. With or without my request being implemented, you'd still get the "practice stuff" included. Wdfarmer (talk) 23:24, 27 February 2008 (UTC)
Ha, thanks, I didn't realize that {{Please leave this line alone (template sandbox heading)}} was transcluded here. I have this page transcluded on a userspace template sandbox when what I really want is the header. I agree with you now that I understand this. However, this does need to be coordinated with the cleaning bot's owner (which doesn't seem to be operating, as I note below).--Doug.(talk contribs) 04:05, 3 March 2008 (UTC)
The User:SoxBot IV cleaning bot appears to be doing that job now. It has cleared the template sandbox including my requested changes, except that it includes the blank line before "If you defined parameters...". That's good enough for me. :) Thanks to the bots creator and owner, User:Soxred93. Wdfarmer (talk) 12:11, 5 March 2008 (UTC)

[edit] Autocleaning is not working

This is not getting cleaned out automatically. Some things have been here for several days. I'm cleaning it out manually but if someone can get it to be automatic again, that would be great!--Doug.(talk contribs) 04:08, 27 February 2008 (UTC)

I noticed a bot on this today so this issue is likely resolved.--Doug.(talk contribs) 01:05, 5 March 2008 (UTC)
Yes, and it seems my Request to add ... has been implemented as well. I've tested it and I'm satisfied with the result. Wdfarmer (talk) 11:46, 5 March 2008 (UTC)

[edit] Where can I add interwikis?

ko:틀:틀 연습장 is created, but if I add an interwiki to this (en:) template, it seems likely that it will soon be erased, by other users or by the autocleaning. --Acepectif (talk) 18:47, 6 March 2008 (UTC)

[edit] Turn this talk into sandbox

Move page to an archive as subpage of Wikipedia:About the sandbox and then add sandbox header? --209.244.43.122 (talk) 16:50, 13 March 2008 (UTC)