ထႅမ်းပလဵတ်ႉ:Magic word templates/subject page examples/doc
ဢၼ်ၼႆႉပဵၼ် ၼႃႈလိၵ်ႈၽႄ ၽိုၼ်ၵႅမ်မိုဝ်း တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ:Magic word templates/subject page examples. မၼ်းၶဝ်ႈပႃး လွၼ်ႉၶၢဝ်ႇ လွင်ႈၸႂ်ႉတိုဝ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ လမ်းၼႂ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၸႂ်ႈပွတ်းတွၼ်ႈ ၶွင်ငဝ်ႈတိုၼ်း ထႅမ်းပလဵတ်ႉ ၼႃႈလိၵ်ႈ။ |
Usage
မႄးထတ်းTransclude this on the documentation page of a magic word template relating a page to its associated subject, to produce a table of examples of the template's behavior on various page names. The template is expected to accept an unnamed parameter overriding the current page name. See for example ထႅမ်းပလဵတ်ႉ:SUBJECTNAME/doc.
This template itself accepts an unnamed parameter specifying the name of the template to be demonstrated; otherwise it uses {{OBJECTPAGENAME}}. For example,
{{ထႅမ်းပလဵတ်ႉ:Magic word templates/subject page examples|SUBJECTNAME}}
would produce
page where called | result | note |
---|---|---|
Subject:Biology | ပၢႆး:Biology
| |
Biology | ပၢႆး:Biology
|
likely the Subject: prefix was simply omitted
|
Wikijunior:ပၢႆး:Biology | ပၢႆး:Biology
|
the Subject: prefix in the pagename overrides all other considerations
|
Wikijunior:Biology | ပၢႆး:ဝီႇၶီႇလုၵ်ႈဢွၼ်ႇ:Biology
|
parallel to content-space behavior of {{BOOKNAME}} |
Template:Biology | ပၢႆး:Biology
|
ignore namespace prefix of non-content namespace |
Category:ပၢႆး:Biology/all books | ပၢႆး:Biology
|
the Subject: prefix in the pagename overrides all other considerations
|
Category:Biology/all books | ပၢႆး:Biology
|
ignore namespace prefix of non-content namespace |
Internals
မႄးထတ်းThe examples are in subtemplate {{Magic word templates/subject page examples/core}}; this template only chooses the target for demonstration and delegates there.