Wikipedia:Template sandbox and test cases: Difference between revisions

pointing out default sandbox and testcases subpages very clearly (some editors do not immediately know how to name them)
m (Reverted edits by 2607:FB90:281A:3C1C:488D:736B:8949:AC3A (talk) (HG) (3.1.18))
(pointing out default sandbox and testcases subpages very clearly (some editors do not immediately know how to name them))
 
[[Help:Template|Templates]] are a very powerful feature of [[MediaWiki]], but mistakes can be easily made, even by experienced users. Complex templates should therefore be accompanied by [[Sandbox (software development)|sandboxes]] and [[test case]]s to prevent bugs.
 
== Default sandbox and testcase naming ==
Most protected templates already have a sandbox subpage and testcases subpage. The names of these pages are default. Templates with documentation subpages existing will automatically include links to the sandbox and testcases pages (and make "create" links if they do not exist).
 
For example, here are the subpages for '''{{tl|FlagIOCmedalist}}''':
{|class="wikitable"
!Template
!Link
|-
| Main template || [[Template:FlagIOCmedalist]]
|-
| Template's sandbox || [[Template:FlagIOCmedalist/sandbox]]
|-
| Template's testcases page || [[Template:FlagIOCmedalist/testcases]]
|}
 
== For what kind of templates ==