ထႅမ်းပလဵတ်ႉ:Magic word templates/shelf page examples/doc
ဢၼ်ၼႆႉပဵၼ် ၼႃႈလိၵ်ႈၽႄ ၽိုၼ်ၵႅမ်မိုဝ်း တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ:Magic word templates/shelf page examples. မၼ်းၶဝ်ႈပႃး လွၼ်ႉၶၢဝ်ႇ လွင်ႈၸႂ်ႉတိုဝ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ လမ်းၼႂ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၸႂ်ႈပွတ်းတွၼ်ႈ ၶွင်ငဝ်ႈတိုၼ်း ထႅမ်းပလဵတ်ႉ ၼႃႈလိၵ်ႈ။ |
လွင်ႈၸႂ်ႉတိုဝ်း
မႄးထတ်းTransclude this on the documentation page of a magic word template relating a page to its intrinsically associated shelf, 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 Template:SHELFNAME/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/shelf page examples|SHELFNAME}}
would produce
page where called | result | note |
---|---|---|
Shelf:Biology | Shelf:Biology
| |
Biology | ၶဵင်ႇႁၢၼ်ႉ:Biology
|
likely the Shelf: prefix was simply omitted
|
Wikijunior:Shelf:Biology | Shelf:Biology
|
the Shelf: 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:Shelf:Biology/all books | Shelf:Biology
|
the Shelf: prefix in the pagename overrides all other considerations
|
Category:Biology/all books | ၶဵင်ႇႁၢၼ်ႉ:ပိူင်ထၢၼ်ႈ:Biology
|
ignore namespace prefix of non-content namespace |
ၽၢႆႇၼႂ်း
မႄးထတ်းThe examples are in subtemplate {{Magic word templates/shelf page examples/core}}; this template only chooses the target for demonstration and delegates there.