Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Parameters  







2 See also  














Template:Testcases notice






Afrikaans
العربية
Asturianu
تۆرکجه
Basa Bali

Беларуская

Cymraeg
Dansk
Español
فارسی
Français


Ilokano
Bahasa Indonesia
IsiXhosa
Íslenska
Ikinyarwanda
Kurdî
Кыргызча

Latina
ि


مصرى

Bahasa Melayu
Мокшень



Norsk bokmål
ି
Oʻzbekcha / ўзбекча

Polski
Português
Русский

Simple English
سنڌي
Slovenščina
کوردی
Српски / srpski
Tagalog
ி
Татарча / tatarça
 

Тоҷикӣ
Türkçe
Tyap
Українська
اردو
Tiếng Vit


Zazaki

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



MediaWiki
Meta-Wiki
Wikidata
Wikisource
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:Testcases)

{{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  (orsandbox 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  (orsandbox 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


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Testcases_notice&oldid=1234815289"

Categories: 
Template test cases
Template namespace templates
Hidden category: 
Wikipedia template-protected templates
 



This page was last edited on 16 July 2024, at 08:27 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki