{{साचा वर्ग}} should be placed at the top of categories that contain template pages and their related subcategories. This template populates वर्ग:विकिपीडिया साचा वर्ग.

वापर संपादन

पूर्ण रचना संपादन

{{साचा वर्ग
| type = 
| topic = 
| description = 
| onright = 
| container = 
| help = 
}}

प्राचले संपादन

The template may be used without any parameters, i.e. as {{साचा वर्ग}}.

With no parameters

The following, however, may be used to make the template more informative:

प्रकार संपादन


Setting type to one of the following values adds a preset note as to which type of template the category (but not necessarily its subcategories) is meant to contain. The values are:
  • ambox
  • campaignbox
  • conversion
  • external link
  • formatting
  • function
  • message
  • meta
  • navbox
  • navigation
  • sidebar
  • stub
  • sub
  • timeline
  • userbox
If type is set to something other than one of these values, the default "The pages listed in this category are templates" note appears unmodified.
type alone
{{साचा वर्ग |type=sidebar}}
Further examples of type's output appear in the examples below.

विषय संपादन


Use topic to add a default description ending "...relating to topic", where topic is usually a wikilink to the main article associated with the category (e.g. United States for the वर्ग:United States templates).
topic alone
{{साचा वर्ग |topic=the [[United States]]}}
type, topic
{{साचा वर्ग |type=infobox |topic=the [[United States]]}}

वर्णन संपादन


Use description if a customised description is needed instead of – or, if topic also used, to follow – the default description above.
type, topic, description
{{साचा वर्ग
| type = navbox
| topic = [[China]]
| description = <br />{{small|For templates relating specifically to the [[People's Republic of China|People's Republic of China (PRC)]] or the current [[Republic of China|Republic of China (ROC, "Taiwan")]], see, respectively, {{c|People's Republic of China templates}} and {{c|Republic of China (Taiwan) templates}}.}}
}}
description alone
{{साचा वर्ग |description=This text is supplied by the ''description'' parameter.}}

उजवीकडे संपादन


Use onright to place right-aligned boxes beside the template such as {{Portal}} (to provide link/s to related portal/s), {{Commons category}} (to provide a link to the same or a similarly-named Commons category), etc. If more than one box is included, ensure the widest one appears first (see example below) otherwise overlapping may occur.
topic, onright
{{साचा वर्ग
| topic = the [[United States]]
| onright = {{Commons category|United States|the United States}}{{Portal|United States}}
}}
विकिमीडिया कॉमन्सवर संबंधित संचिका आहेत

धारक संपादन


Set container as true, yes, etc. to identify the category as a धारक वर्ग, i.e. a category meant to contain only subcategories. A note requesting that no templates are added to the साचा वर्ग is then included.
container alone
{{साचा वर्ग |container=true}}
An alternative to using container is to place {{धारक वर्ग}} after the {{साचा वर्ग}} template:
{{Container category}} following {{साचा वर्ग}}
{{साचा वर्ग
| type = ''type''
| topic = ''[[topic]]''
| description = This text supplied by the ''description'' parameter.
}}
{{धारक वर्ग}}

सहाय्य संपादन


Use help to replace the instructions on adding a template to the category (second paragraph of the "पुढील साचा वर्ग नोंदी" section):
replace help text
{{साचा वर्ग |help=This text supplied by the ''help'' parameter.}}
To omit the default instructions, set help to false, no, etc.:
omit help text
{{साचा वर्ग |help=no}}

हेही बघा संपादन

इतर वर्ग-शीर्ष साचे संपादन