ढाँचा:Draft categories/कागजात

विकिपिडिया, एक स्वतन्त्र विश्वकोशबाट

This template can be used when non-article pages like drafts and user pages have categories meant for articles. The categories will be displayed but the page will not be added to the categories. If the page is moved to mainspace then the categories will automatically work as normal but the template should be removed.

Usage[सम्पादन गर्नुहोस्]

Wrap categories in this code:

{{Draft categories|1=
...
}}

Sort keys and leading colons are allowed in the categories. Only use this template around a list of categories and not around a whole page or transclusion. {{Suppress categories}} can be used for that.

Tracking category[सम्पादन गर्नुहोस्]

The category श्रेणी:Articles using draft categories tracks pages that are using the template in the main namespace. This template should be removed from those articles.

Example[सम्पादन गर्नुहोस्]

{{Draft categories|1=
[[Category:Star Wars characters| ]]
[[Category:Star Wars]]
[[Category:Star Wars lists|Characters]]
[[:Category:Lists of Disney characters]]
[[:Category:Lists of fictional military personnel|Star Wars]]
}}

The output looks similar to the real display of categories on normal pages. The above produces:


TemplateData[सम्पादन गर्नुहोस्]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

Draft categoriesको कागजात

Stores and displays article categories in drafts without adding them to the category

ढाँचा प्यारामिटरहरू

This template prefers block formatting of parameters.

मापदण्डविवरणप्रकारस्थिति
Categories1

कुनैपनि विवरण छैन

उदाहरण
[[Category:Example 1]]
सामग्रीआवश्यक