Difference between revisions of "Template:TEMPLATENAME"
From Kerbal Space Program Wiki
(Import from Wikipedia (CC BY-SA license)) |
(No difference)
|
Latest revision as of 15:21, 4 June 2015
This template uses material from the Wikipedia template Template:TEMPLATENAME, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). | Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
When used on a template's /doc
subpage, {{TEMPLATENAME}} evaluates to the name of the associated template. The result will be accurate when the end page is either the /doc
subpage or the actual template page. The template makes a special case for the Template:
namespace: the Template:
prefix will be removed.
Note that the result will not be URL-safe. For a URL-encoded version, see {{TEMPLATENAMEE}}.
Parameters
- {{{1}}} (i.e. the first unnamed parameter) or require
- Sets the subpage from which the template extracts a name. If the parameter's value does not match the current subpage, nothing will be returned. This is useful in preventing potentially endless recursive loops on some templates pages that might otherwise reference themselves.
- docpage or override
- Use to indicate the documentation page's location if it is other than the subpage
/doc
, e.g.{{TEMPLATENAME|docpage=Documentation}}
if the subpage is/Documentation
.
The following subpages will always be removed [?] :
- /doc
- /sandbox
- /testcases
See also
- {{TEMPLATENAMEE}}
The above documentation is transcluded from Template:TEMPLATENAME/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |