Templat:OBJECTPAGENAME/doc
Ini ialah sublaman pendokumenan bagi Templat:OBJECTPAGENAME Ia mengandungi maklumat penggunaan, kategori dan kandungan lain yang bukan bahagian asal laman templat. |
Usage
suntingReturns the name of the non-documentation page presumably associated with the transcluding page: returns {{FULLPAGENAME}} with a /doc
suffix, if any, stripped off.
Use on a documentation subpage names the documented page (the object of the documentation) both when viewing the subpage directly and when transcluding it on the documented page.
An optional unnamed parameter specifies a name to use in place of {{FULLPAGENAME}}.
This template can be substituted (via subst:
) as well as transcluded.
Examples
suntingpage where called | result |
---|---|
Template:Assistant/dwim | Template:Assistant/dwim
|
Template:Assistant/dwim/doc | Templat:Assistant/dwim
|
Wikibuku:Assistant/dwim | Wikibuku:Assistant/dwim
|
Wikibuku:Assistant/dwim/doc | Wikibuku:Assistant/dwim
|
See also
sunting- {{Documentation}}