Template:SandboxDocumentation/doc: Difference between revisions
Template page
More actions
Usage |
m M_remove |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{documentation | {{TemplateBox | ||
|desc= | |||
:This template can be used in a template documentation (/doc page) to describe the process to modify/test the template | |||
: This template can also be used in a template sandbox documentation (/sandbox/doc page) | |||
: '''{{Note:}}''' it will add [[:Category:Sandbox templates]] to /sandbox pages | |||
|1=template | |||
|1d=name of the template associated with the sandbox and testcases page. | |||
|1def=''(computed by the template)'' | |||
|2=protected | |||
|2d=set to yes if the template is protected (modifiable only by an administrator) | |||
|3=domain | |||
|3d=The domain of the template (for example: biology). [[:Category:biology sandbox templates|Category:<domain> sandbox templates]] must exist. | |||
|namespace=Template | |||
|relieson={{t|SandboxDocumentation/core}} | |||
}} | |||
=={{section header|examples}}== | |||
:* protected templates: | |||
:** {{t|Wikispecies/doc}}, {{t|Wikispecies/sandbox/doc}} | |||
:** {{t|WikispeciesCompact/doc}}, {{t|WikispeciesCompact/sandbox/doc}} | |||
:** {{t|Taxonavigation/doc}}, {{t|Taxonavigation/sandbox/doc}} | |||
:** {{t|Taxonavigation/taxon/doc}}, {{t|Taxonavigation/taxon/sandbox/doc}} | |||
:* unprotected templates: | |||
:** {{t|VN/doc}}, {{t|VN/sandbox/doc}} | |||
:** {{t|SN/doc}}, {{t|SN/sandbox/doc}} | |||
[[Category:Template documentation]] | |||
: | [[Category:Sandbox templates|~]] | ||
: | |||
Latest revision as of 12:31, 4 May 2019
- This template can be used in a template documentation (/doc page) to describe the process to modify/test the template
- This template can also be used in a template sandbox documentation (/sandbox/doc page)
- Note: it will add Category:Sandbox templates to /sandbox pages
Usage
{{SandboxDocumentation/doc |template= |protected= |domain= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
template | name of the template associated with the sandbox and testcases page. | (computed by the template) | optional | |
protected | set to yes if the template is protected (modifiable only by an administrator) | empty | optional | |
domain | The domain of the template (for example: biology). Category:<domain> sandbox templates must exist. | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: no user group specified
Relies on:
{{SandboxDocumentation/core}}
Examples
- protected templates:
- unprotected templates: