Jump to content

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

Wikibooks වෙතින්

This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now Category:Subject:<name>, but historically was Category:<name>.

භාවිතය

[සංස්කරණය]

Simply place {{SUBJECTCATEGORY}} 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.

{{SUBJECTCATEGORY|<full pagename>}}

The subject-category name is derived from {{SUBJECTNAME}}.

උදාහරණ

[සංස්කරණය]
page where called result note
Subject:Biology

This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now Category:Subject:<name>, but historically was Category:<name>.

භාවිතය

[සංස්කරණය]

Simply place {{SUBJECTCATEGORY}} 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.

{{SUBJECTCATEGORY|<full pagename>}}

The subject-category name is derived from {{SUBJECTNAME}}.

උදාහරණ

[සංස්කරණය]

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

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{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.

Biology

This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now Category:Subject:<name>, but historically was Category:<name>.

භාවිතය

[සංස්කරණය]

Simply place {{SUBJECTCATEGORY}} 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.

{{SUBJECTCATEGORY|<full pagename>}}

The subject-category name is derived from {{SUBJECTNAME}}.

උදාහරණ

[සංස්කරණය]

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

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{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.

likely the Subject: prefix was simply omitted
Wikijunior:Subject:Biology

This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now Category:Subject:<name>, but historically was Category:<name>.

භාවිතය

[සංස්කරණය]

Simply place {{SUBJECTCATEGORY}} 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.

{{SUBJECTCATEGORY|<full pagename>}}

The subject-category name is derived from {{SUBJECTNAME}}.

උදාහරණ

[සංස්කරණය]

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

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{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.

the Subject: prefix in the pagename overrides all other considerations
Wikijunior:Biology

This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now Category:Subject:<name>, but historically was Category:<name>.

භාවිතය

[සංස්කරණය]

Simply place {{SUBJECTCATEGORY}} 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.

{{SUBJECTCATEGORY|<full pagename>}}

The subject-category name is derived from {{SUBJECTNAME}}.

උදාහරණ

[සංස්කරණය]

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

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{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.

parallel to content-space behavior of {{BOOKNAME}}
Template:Biology

This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now Category:Subject:<name>, but historically was Category:<name>.

භාවිතය

[සංස්කරණය]

Simply place {{SUBJECTCATEGORY}} 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.

{{SUBJECTCATEGORY|<full pagename>}}

The subject-category name is derived from {{SUBJECTNAME}}.

උදාහරණ

[සංස්කරණය]

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

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{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.

ignore namespace prefix of non-content namespace
Category:Subject:Biology/all books

This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now Category:Subject:<name>, but historically was Category:<name>.

භාවිතය

[සංස්කරණය]

Simply place {{SUBJECTCATEGORY}} 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.

{{SUBJECTCATEGORY|<full pagename>}}

The subject-category name is derived from {{SUBJECTNAME}}.

උදාහරණ

[සංස්කරණය]

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

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{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.

the Subject: prefix in the pagename overrides all other considerations
Category:Biology/all books

This template generates the conventional name for the subject-category of the subject associated with the current page. This name is now Category:Subject:<name>, but historically was Category:<name>.

භාවිතය

[සංස්කරණය]

Simply place {{SUBJECTCATEGORY}} 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.

{{SUBJECTCATEGORY|<full pagename>}}

The subject-category name is derived from {{SUBJECTNAME}}.

උදාහරණ

[සංස්කරණය]

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

ආශ්‍රිත

[සංස්කරණය]
  • {{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.
  • {{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.

ignore namespace prefix of non-content 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.
  • {{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.
"https://si.wikibooks.org/w/index.php?title=සැකිල්ල:SUBJECTCATEGORY/උපදෙස්&oldid=20909" වෙතින් සම්ප්‍රවේශනය කෙරිණි