Template:Departments of Colombia/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Generates a navigation box to link from one department of Columbia to another

Usage

{{Departments of Colombia |prefix= |suffix= }}

Template parameters

ParameterDescriptionDefaultStatus
prefixprefix used for the link to the target page including its namespace if needed, such as :Category:; this prefix is not displayed (and usually in English) for naming the target pages. By default the absence of prefix will link to gallery pages in the main namespace.emptyoptional
suffixsuffix used for the link to the target page, such as in the 1900s or by city; this suffix is not displayed (and usually in English) for naming the target pages.emptyoptional
sepseparator inserted between the prefix and department name, or between the department name and suffix. May be needed to supress both spaces (you need explicitly give it an empty string value; to pass an explicit space value use the HTML syntax, like the default) when one or both spaces must be removed (because the name is directly attached to a punctuation or symbol like '/' for a subpage); this is not displayed and it is usually in English for naming the target pages.  (SPACE)optional
allif set to a non-empty string, all possible links with known aliases will be listed (will show red links); otherwise only existing pages will be listed; do not use it permanently in pages for specific departments; this is only useful for pages or categories listing all departments, and can help detect the missing ones, or incorrect redirections (possibly to unrelated homonyms). When this parameter is not set, the chosen link will be using the first alias whose page exists.emptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Example

  • {{Departments of Colombia|prefix=:Category:}} gives:
  • {{Departments of Colombia|prefix=:Category:|all=1}} gives: