ထႅမ်းပလဵတ်ႉ:Subpage other
Appearance
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်းငဝ်ႈငႃႇ]This template checks whether the current page is a subpage or not. A subpage is a page that has a slash:
- [[Template:Parentpage/Subpage]]
Exception: in article space (mainspace) the slash is part of the title, and there are no subpages. Example, AC/DC is a parent page not a subpage.
Usage example: both Template:Infobox element isotopes and Template:Infobox element isotopes/infotable use documentation page Template:Infobox element isotopes/doc. We only want to categorise the parent page. So in the /doc page we add:
{{Subpage other|<!-- do not categorise -->|[[Category:Chemical element infobox]]}}
- Note
- WP:Subpage uses an other definition than magic word
{{SUBPAGENAME}}
. This template uses the former definition (pagename has an after-slash part).
တူၺ်းပႃး
[မႄးထတ်းငဝ်ႈငႃႇ]- {{Sandbox other}} — Distinguishes between the /sandbox subpages and the root template page and other subpages.
- {{Testcases other}} — Distinguishes between the /testcases subpages and the root template page and other subpages.
- {{Template other}} — Distinguishes between pages in the template namespace and other namespaces.
- {{When on basepage}} — Distinguishes between the root template page and subpages, without special consideration in the mainspace.
- {{Subpage other}} — Distinguisheds between the root page and subpages (any subpage), classifying pagenames in the mainspace with a slash as being the root page.
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Subpage other/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |