Template:\sandbox

Revision as of 15:54, 11 February 2020 by Wikipedia>Christian75 ({{sandbox other}} was changed so its now like (sandbox OR doc) other - fixing that)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:\sandbox/doc" to edit its documentation if it is available. (How does this work?)

Usage

Returns "/sandbox" if the template detects that the page where it is transcluded is a subpage named "sandbox" (i.e. a sandbox page); otherwise it returns nothing.

This can be useful to e.g. switch the version of a template used in its documentation to the version in its sandbox (by replacing {{template name}} on the /doc page with {{template name{{\sandbox}}}}) when that documentation is transcluded on the template's sandbox page.

Returns "/sandbox" if the template detects that the page where it is transcluded is a subpage named "sandbox" (i.e. a sandbox page); otherwise it returns nothing. This can be useful to e.g. switch the version of a template used in its documentation to the version in its sandbox (by replacing {{template name}} on the /doc page with {{template name{{\sandbox}}}}) when that documentation is transcluded on the template's sandbox page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified