Template:C/doc

Usage
The template will display, or just the category name given as.

The function is different for internal access within the commons, and for interwiki access.

Adressing categories within the commons
First of all, always a check for existence is performed.

When the category exists, code is implemented as:
 * Category:

When the category does not exist but has elements assigned, a "red link" will be generated:
 * Category:

Otherwise if the category does not exist  no link will be generated ;
 * &#91;[Category:]&#93; or &#91;[Category:]&#93; is displayed
 * &#91;[Category:  ]&#93; or &#91;[Category:   ]&#93; is displayed when  = x
 * or  will get background color when  = X


 * example
 *   produces
 *   produces
 *   produces


 *   produces
 *   produces


 *   produces
 *   produces
 *   produces
 *  </tt> produces
 *  </tt> produces
 *  </tt> produces

Interwiki access
It is not possible to check for existence in other Wikipedias. The link is always established, whether the category exists or not.

</tt> produces
 *  </tt> or   </tt> produces
 *  </tt> produces
 *  </tt> produces
 *  </tt> produces
 * 