Jump to content

සැකිල්ල:BOOKNAME/උපදෙස්

Wikibooks වෙතින්
(සැකිල්ල:BOOKNAME/doc වෙතින් යළි-යොමු කරන ලදි)

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]
page where called result
Taxi Tongue/Dialogue 4

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Chess/Puzzles/Directmates

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Wikijunior:Biology

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Wikijunior:Dinosaurs/Apatosaurus

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Wikijunior talk:Bugs/Shield Bug

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Category:Horticulture/Templates/Boxes

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Category:Book:Wikijunior:Solar System/Templates

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Template:Wikijunior:Solar System/coolfacts

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

User:Pi zero/Conlang/Beginner/Sounds

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

User:Pi zero/sandbox/Conlang/Beginner/Sounds

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Category:User:Pi zero/sandbox/Conlang/Beginner/Sounds

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Template:User:Pi zero/sandbox/Conlang/Beginner/Sounds

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Shelf:Physical sciences

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Template:Shelf:Page

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

Template:Shelf:Page/display

This template returns the name of the book associated with the page on which it's used, assuming certain naming conventions. Compare {{SUBJECTNAME}}.

භාවිතය

[සංස්කරණය]

Simply place {{BOOKNAME}} on a page to get the output. When used on category, template, user, or talk pages, returns the associated book name deduced from naming conventions. Otherwise returns the {{NAIVEBOOKNAME}}.

Optionally specify a page as a parameter to see the output for a different page than the current one.

{{BOOKNAME|<full pagename>}}

This template can also be substituted (via subst:) rather than transcluded.

උදාහරණ

[සංස්කරණය]

සැකිලි ලූපය අනාවරණය කෙරිණි: සැකිල්ල:Magic word templates/book page examples

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.

අභ්‍යන්තර ක්‍රියාකාරීත්වය

[සංස්කරණය]

This template itself only contains the logic to sort out the namespace and pagename; deducing from those data the associated book name is then delegated to {{BOOKNAME/core}}.

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{SUBJECTNAME}} — deduces full root name of subject associated with the current page.
  • {{SUBJECTCATEGORY}} — deduces full root name of subject-category associated with the current page.
"https://si.wikibooks.org/w/index.php?title=සැකිල්ල:BOOKNAME/උපදෙස්&oldid=20679" වෙතින් සම්ප්‍රවේශනය කෙරිණි