Jump to content

Wikipedia talk:Template sandbox and test cases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mrjulesd (talk | contribs) at 23:27, 18 November 2015 (Reverted 1 edit by Kaleem Shahzad (talk): Rv test? (TW)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconWikipedia Help Project‑class
WikiProject iconThis page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.
ProjectThis page does not require a rating on the project's quality scale.

Template notices

Template:Template test cases notice and Template:Template sandbox notice should be updated for nonstandard test case locations, additionally, test case notice template needs to be updated of nonstandard sandbox location that the sandbox notice template already supports. 76.66.196.229 (talk) 09:38, 4 February 2009 (UTC)[reply]

Many other templates, like for instance {{documentation}}, and most experienced template coders expect the standard names /sandbox and /testcases. So a better approach is to move your non-standard pages to the standard names. If you have a /testcases page that is used for several templates, then you can redirect the /testcases pages of the other templates to the main /testcases page.
--David Göthberg (talk) 15:25, 23 January 2010 (UTC)[reply]

((test-mode))

We now have the {{test-mode}} template for advanced testing. It provides a test-mode where the test version of a template is shown in the articles instead of the normal version. It is especially useful for testing meta-templates and sub-templates that might be several steps away from the templates placed on the pages, so we can't call the test versions directly.

The test-mode should only be used after the normal testing in the /sandbox and /testcases pages has been done.

--David Göthberg (talk) 15:31, 23 January 2010 (UTC)[reply]

Parameter test categories

I've followed the procedure for testing changes to a template (I'm updating the use of two parameters to be in line with other templates), and the results are fine: most examples work exactly the same as before, current parameter use doesn't break my proposed version (though they don't benefit from the "italics" fields anymore unless edited), and new parameters work exactly as I want in the new version.

But my question is this: before introducing it, I'd like to find all current uses of the parameters that I'm changing ("preceded_by_italics"/"followed_by_italics") to make sure I can update them. The simplest way I can think of is to make a temporary edit to the template, so that use of these parameters adds the articles to a specific category (e.g. {{#if:{{{preceded_by_italics|}}}|[[Category:Articles with short story infobox italics]]}}); would this temporary testing be allowed (it seems in line with Template:Test-mode editing, for example)? If not, what's the best way to find all the instances where this parameter is used, without trawling through every article that has the template? --xensyriaT 20:35, 2 March 2013 (UTC)[reply]