Difference between revisions of "Put an article in a category of articles"

From Audacity Wiki
Jump to: navigation, search
(See also.)
(Lose redirected link.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
To add an article to a category, write somewhere in the article, preferably in the end, the following code:
+
{{Intro|1=Putting articles in [[:Category:Category|categories]] makes it easier to find pages which are related to each other. This page explains the necessary syntax to do this.|2=}}
  
<nowiki>[[</nowiki>Category:''TheNameOfTheCategory''<nowiki>]]</nowiki>
 
  
and the article will be assigned to that category (that is how this article was put in the category ''Editing''). If the category does not already exist, it will be automatically created.
+
Before putting an article in a category, please check the bottom of the article to view any categories it's already attached to, and the current [[Special:Categories|list of categories]].  
  
To view a list of all categories go to [[Special:Categories]], or ''Special pages > Categories''.
+
To put an article in a given category, type the following code at the bottom of the edit window:
  
* See Also: [[Categories Explained]]
+
{{Code|<nowiki>[[</nowiki>Category:''Name of the Category''<nowiki>]]</nowiki>}}
 +
 
 +
 
 +
If the category does not already exist, the above code will create it.
 +
 
 +
Please '''preview''' the spelling of the category to make sure it looks correct. Before saving, note your change in the "Summary" box at the bottom of the page as follows, adding a colon (:) between the "[[" and "Category":
 +
 
 +
{{Code|<nowiki>Added to [[:Category:</nowiki>''My New Category''<nowiki>]]</nowiki>}}
 +
 
 +
 
 +
The colon should always be used when creating a [http://en.wikipedia.org/wiki/Hyperlink link] to the category page. This avoids adding the page containing the link to the category.
 +
 
 +
 
 +
{{Adviceopen|1='''Note:''' A link to a newly created category will appear <font color="red">red</font> because the category page itself has no explanatory text. So after creating a new category, please click the link to it, and add some text explaining the content and purpose of the pages that should go in the category. We recommend placing this text inside the standard [[Template:Intro|Intro Template]] to make it stand out.}}
  
 
[[Category:For Editors]]
 
[[Category:For Editors]]

Latest revision as of 14:29, 18 December 2009

Putting articles in categories makes it easier to find pages which are related to each other. This page explains the necessary syntax to do this.


Before putting an article in a category, please check the bottom of the article to view any categories it's already attached to, and the current list of categories.

To put an article in a given category, type the following code at the bottom of the edit window:

[[Category:Name of the Category]]


If the category does not already exist, the above code will create it.

Please preview the spelling of the category to make sure it looks correct. Before saving, note your change in the "Summary" box at the bottom of the page as follows, adding a colon (:) between the "[[" and "Category":

Added to [[:Category:My New Category]]


The colon should always be used when creating a link to the category page. This avoids adding the page containing the link to the category.


Note: A link to a newly created category will appear red because the category page itself has no explanatory text. So after creating a new category, please click the link to it, and add some text explaining the content and purpose of the pages that should go in the category. We recommend placing this text inside the standard Intro Template to make it stand out.