Калып:TEMPLATENAME
Көрүнүш
When used on a template's /doc subpage, {{[[Калып:Калып:TEMPLATENAMEE|Калып:TEMPLATENAMEE]]}} 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 Калып: namespace: the Калып: 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,Калып:Clarify 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 stripped:
- /doc
- /sandbox
- /testcases
See also
- {{TEMPLATENAMEE}}
| Бул колдонмо Калып:TEMPLATENAME/doc барагынан кошулган. (оңдоо | тарыхы) Сиз бул калыптын template's sandbox (түзүү | күзгү) барагында жана testcases (түзүү) барагында калыптын иштешин текшере алсаңыз болот. Сураныч, категорияларды калыптын колдонмо барагына кошуңуз. |