The {{regional stub category}} template operates identically to {{stub category}} except that it also categorises the page into Cat:Stubs by region.


{{Regional stub category
|article=
|newstub=
|category=
|category type=
|WikiProject=
|message=
}}

For example:

{{Regional stub category
|article=people in Japanese [[football (soccer)]], including football players, managers, coaches, etc.
|newstub=Japan-footy-bio-stub
|category=Japanese footballers
|message=
}}

will show:

The |category type= parameter inserts additional text between the phrases "This category is for" and "stub articles relating to ...", so using |category type=biographical will give "This category is for biographical stub articles relating to ...".

Optional parameters

සංස්කරණය

|WikiProject= links to a relevant WikiProject page. For example:

{{Regional stub category
|article=the [[Commonwealth of Massachusetts]]
|newstub=Massachusetts-stub
|category=Massachusetts
|category type=biographical
|WikiProject=Massachusetts
}}

will show:

|message= adds a message displayed below the main output of the template, but above the table of contents (TOC) which will be automatically generated by {{CatAutoTOC}} if the category contains enough pages.

This ensures that the message doesn't get tangled up in the TOC.

{{Regional stub category
|article=people in Japanese [[football (soccer)]], including football players, managers, coaches, etc.
|newstub=Japan-footy-bio-stub
|category=Japanese footballers
|message=This category is only people involved in association football (soccer). Please do NOT use this stub tag for players of other types of football, e.g. Gaelic football, Australian rules football, rugby union.
}}

නිරීක්ෂණ ප්‍රවර්ගය

සංස්කරණය

Certain cases of incorrect usage are tracked:

  • the |newstub= parameter is blank or absent;
  • the |category= parameter is blank or absent.

See ප්‍රවර්ගය:අවධානය යොමු කළයුතු අංකුර ලිපි ප්‍රවර්ග (population: 20)

Usage of the {{{message}}} parameter is also tracked.
See Category:Stub categories with message parameter (population: 2)

Purge this page to update the totals

Other category-header templates

සංස්කරණය



"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Regional_stub_category/doc&oldid=581046" වෙතින් සම්ප්‍රවේශනය කෙරිණි