• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.213
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Testcases notice

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
(Redirected from Template:Testcases)
Gnome-applications-science.svgThis is the template test cases page for the sandbox of Template:Testcases notice. Purge this page to update the examples.
If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page.
You can also use Special:ExpandTemplates to examine the results of template uses.
You can test how this page looks in the different skins with these links:
  • MinervaNeue (mobile)
  • MonoBook
  • Timeless
  • Vector
  • ⧼skinname-vector-2022⧽
Template documentation[view] [edit] [history] [purge]
This page is not a sandbox.
It should not be used for test editing. To experiment, please use the Wikipedia sandbox, your user sandbox, or the other sandboxes.
WarningThis template is used on approximately 3,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

{{Testcases notice}} is meant to be placed at the top of a /testcases page, i.e. a page where a test version (a "sandbox" version) of (usually) a template and its parameters is tested and (usually) compared with the version currently in use (the "main" version). For further information about template sandboxes and testcase pages, see Wikipedia:Template sandbox and test cases.

Usage

{{Testcases notice}}, i.e. the template without any parameters, produces the notice as formatted above.

Parameters

You may specify the link to the associated sandbox page using the parameter sandboxlink:

{{Testcases notice |sandboxlink=../[alternate sandbox name here]}}

You may also specify that some other text is substituted for the word "sandbox" shown in the template using the parameter sandboxname:

{{Testcases notice |sandboxlink=../[alternate sandbox name here] |sandboxname=[alternate to "sandbox" here]}}
{{Testcases notice
 | [template name]
 | purgelink = 
 | sandboxlink = 
 | sandboxname = 
 | category = 
 | style = 
}}
{{{1}}}  (i.e. first unnamed parameter)
Full name of the template being tested on the page, including the "Template:" prefix. If omitted, the default is the base page of the test cases page. Be careful not to use any leading or trailing spaces with this parameter, as they will affect the display of the template link.
sandboxlink  (or sandbox link)
The page that the sandbox link in the message targets. Can be an absolute page name, or relative to the test cases page. The default is "../sandbox".
sandboxname  (or sandbox name)
The text shown for the sandbox link. The default is "sandbox".
category
Category and sort key to use for the test cases page instead of the default of [[Category:Template test cases|{{PAGENAME}}]]. When using this parameter, the double square brackets and "Category:" prefix are required. To suppress the category, use |category= (i.e. category without any value).
subpage-name
(deprecated)  Sets the sandboxlink and sandboxname parameters at the same time. The value is prefixed with "../" for the sandbox link, so must be a page name relative to the base page. For example, subpage-name=sandbox3 implies sandboxlink=../sandbox3 |sandboxname=sandbox3.

See also

  • {{Documentation}}, for use at the bottom of templates and their /sandbox pages.
  • {{Template sandbox notice}}, for use at the bottom of /sandbox pages if {{Documentation}} is not used.
The above documentation is transcluded from Template:Testcases notice/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Testcases_notice&oldid=33119"
Categories:
  • Template test cases
  • Template namespace templates
Last edited on 17 March 2021, at 16:27

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 17 March 2021, at 16:27.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop