WikiIndex:Namespace conventions: Difference between revisions

m
Text replacement - "Category:Cities" to "Category:City"
(Fix red links)
m (Text replacement - "Category:Cities" to "Category:City")
Line 31: Line 31:


==<tt>Category:</tt> namespace==
==<tt>Category:</tt> namespace==
All WikiIndex [[Special:Categories|categories]] appear in this namespace.  <tt><nowiki>[[Category:Cities]]</nowiki></tt> can be placed in an article (at the bottom of the [[edit box]] below any prose) to add it to the [[:Category:Cities|cities category]] in the same manner as keywords.  'Category talk:' is its associated talk namespace.
All WikiIndex [[Special:Categories|categories]] appear in this namespace.  <tt><nowiki>[[Category:City]]</nowiki></tt> can be placed in an article (at the bottom of the [[edit box]] below any prose) to add it to the [[:Category:City|cities category]] in the same manner as keywords.  'Category talk:' is its associated talk namespace.


We also use the <code>{{template|tag}}</code> template to include articles into categories; this is useful when needing to create a [[wikilink]] to a category within the textual prose of an article.  An example: <tt><nowiki>{{tag|cities}}</nowiki></tt> would also include the article into [[:category:Cities]].
We also use the <code>{{template|tag}}</code> template to include articles into categories; this is useful when needing to create a [[wikilink]] to a category within the textual prose of an article.  An example: <tt><nowiki>{{tag|cities}}</nowiki></tt> would also include the article into [[:category:Cities]].