Template:Template test cases notice
![]() | Toto je stránka šablonových testovacích případů pro sandbox z Template:Template test cases notice. pro aktualizaci příkladů. |
Dokumentace šablony
Toto je šablona {{Template test cases notice }}.
Může být umístěnA v horní části stránek šablony / testovacích případů.
Chcete-li se dozvědět více o tom, jak používat šablony /sandbox a /testcases podstránky, podívejte se na stránku w:Wikipedia:Template test cases.
Použití
V nejjednodušším případě tato šablona nepotřebuje žádné parametry.
{{template test cases notice}}
Můžete zadat odkaz na přidruženou stránku sandboxu pomocí parametru sandbox link:
{{template test cases notice|sandbox link=../AlternateSandboxName}}
Můžete také určit, že slovo 'sandbox' zobrazené v šabloně bude nahrazeno nějakým jiným textem pomocí parametru sandbox name:
{{template test cases notice|sandbox link=../sandbox2|sandbox name=second sandbox}}
Všechny parametry
{{template test cases notice|template name|category = | sandbox link = | sandbox name = | subpage-name = }}
- 1 (unnamed 1st 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.
- 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, usecategory=
without any value following it. - 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.
- sandbox name: The text shown for the sandbox link. The default is sandbox.
- subpage-name: Deprecated. Sets the sandbox link and sandbox name 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
is equivalent tosandbox link=../sandbox3 | sandbox name=sandbox3
.
Související odkazy
- {{Documentation }} - chcete-li umístit na konec šablon a jejich /sandbox stránek.