ထႅမ်းပလဵတ်ႉ:SHELFNAME
Jump to navigation
Jump to search
Shelf:ထႅမ်းပလဵတ်ႉ:SHELFNAME
This template generates the name of the shelf page intrinsically associated with the current page. Compare {{BOOKNAME}}.
လွင်ႈၸႂ်ႉတိုဝ်း[မႄးထတ်း]
Simply place {{SHELFNAME}}
on a page to get the output.
Optionally specify a page as a parameter to see the output for a different page than the current one.
{{SHELFNAME|<full pagename>}}
Deduction assumes the page is intrinsically associated with a shelf; this maximizes convenience of valid use, while disregarding behavior on invalid use.
တူဝ်ယၢင်ႇ[မႄးထတ်း]
page where called | result | note |
---|---|---|
Shelf:Biology | Shelf:Biology
| |
Biology | Shelf: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 | Shelf:ဝီႇၶီႇလုၵ်ႈဢွၼ်ႇ:Biology
|
parallel to content-space behavior of {{BOOKNAME}} |
Template:Biology | Shelf:ထႅမ်းပလဵတ်ႉ: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 | Shelf:ပိူင်ထၢၼ်ႈ:Biology
|
ignore namespace prefix of non-content namespace |
ၽၢႆႇၼႂ်း[မႄးထတ်း]
This template itself only contains the logic to sort out the namespace and base-name; deducing from those data the associated shelf-category name is then delegated to {{SHELFNAME/core}}.
တူၺ်းပႃး[မႄးထတ်း]
- {{SHELFCATEGORY}} — deduces full root name of shelf-category intrinsically associated with the current page.
- {{BOOKNAME}} — deduces full root name of book associated with the current page.
- {{BOOKPAGENAME}} — deduces the part of page name after name of associated book.
- {{BOOKSORTKEY}} — deduces usual sort key for use in book categories.
- {{BOOKTEMPLATE}} — deduces full root name for templates of book associated with the current page.
- {{BOOKCATEGORY}} — deduces full root name for categories of book associated with the current page.
- {{BOOKTALKNAME}} — deduces main talk page name of book associated with the current page.
- {{CHAPTERNAME}} — deduces first field of page name after the book name.
- {{NAIVEBOOKNAME}} — page name without subpages and retaining the namespace.
ၽိုၼ်ၵႅမ်မိုဝ်း ၽၢႆႇၼိူဝ်ၼႆႉ မၼ်းပဵၼ်ဢၼ်ၶဝ်ႈပႃးဝႆႉ ၵႃႈတီႈ ထႅမ်းပလဵတ်ႉ:SHELFNAME/doc. (ထတ်း | ပိုၼ်း) ၽူႈမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်း တီႈၼႂ်း ၼႃႈလိၵ်ႈ sandbox (create | mirror) လႄႈ testcases (create) ၶွင် ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ။ ၶႅၼ်းတေႃႈ ၽိူမ်ႉသႂ်ႇပၼ်ပိူင်ထၢၼ်ႈ ၸူးတီႈ ၼႃႈလိၵ်ႈၽႄ /doc ၼၼ်ႉတႃႉ။ Subpages of this template. |