टेम्पलेट:आधार श्रेणी: रिवीजन सभ के बीचा में अंतर

विकिपीडिया से
Content deleted Content added
imported>MSGJ
few spacing changes, add tracking category, as discussed on talk page
imported>MSGJ
छो use different sort keys for different purposes
लाइन 7: लाइन 7:
}}{{#if:{{{newstub|}}}
}}{{#if:{{{newstub|}}}
|<br/>To add an article to this category, use {{tl2|{{{newstub}}}}} instead of {{tl2|stub}}.
|<br/>To add an article to this category, use {{tl2|{{{newstub}}}}} instead of {{tl2|stub}}.
|<includeonly>[[Category:Stub categories with no stub tag]]</includeonly>
|<includeonly>[[Category:Stub categories needing attention|S{{PAGENAME}}]]</includeonly>
}}
}}
}}<includeonly>{{#if:{{{category|}}}
}}<includeonly>{{#if:{{{category|}}}
|[[Category:{{{category}}}|µ{{PAGENAME}}]]
|[[Category:{{{category}}}|µ{{PAGENAME}}]]
|[[Category:Stub categories with no stub tag]]
|[[Category:Stub categories needing attention|P{{PAGENAME}}]]
}}[[Category:Stub categories]]
}}[[Category:Stub categories]]
</includeonly><noinclude>
</includeonly><noinclude>

09:37, 3 जून 2011 तक ले भइल बदलाव

Usage

{{Stub category
|article=
|newstub=
|category=
|category type=
|WikiProject=
}}

For example:

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

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 ...".

There is also an optional parameter |WikiProject= which links to a relevant WikiProject page. For example:

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

will show:


Missing parameters

Certain cases of incorrect usage are tracked via Category:Stub categories needing attention. These are:

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

इहो देखल जाय

Other category header templates