Template:Cat see also

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

This documentation is transcluded from Template:Cat see also/doc.

box for up to 40 links to related categories.

Usage

{{Cat see also |1= |for= }}

Or use the shorthand {{Catseealso}}, {{See also cat}}, {{See also cats}}, {{See also categories}}, more

Template parameters

ParameterDescriptionDefaultStatus
text
LABEL
text to replace the default "See also category/categories" withemptyoptional
iw
SISTER
interwiki prefixinterwiki prefix ("w", "q", "s", "v", …), interlanguage prefix (if non-English; "de", "fr", …) or both (if non-English non-Wikipedia; "v:de", …) to prepend to all see also linksemptyoptional
1eithername of category to link to
Or: value "V" for switching between valid/invalid SVG categories
emptyrequired
2name of another category to link to (similarly 3, 4, … up to 40)emptyoptional
fortext to append as a short description after the list of categoriesemptyoptional
bannerif "no" only a span of text (without borders and icon) is displayedemptyoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1 or useTemplateData=only on the /doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

box for up to 40 links to related categories.

Template parameters

ParameterDescriptionTypeStatus
either1

name of category to link to<br><small>''Or:'' value "V" for switching between [[:Category:Valid SVG created with Inkscape:Topics|valid/invalid]] SVG categories</small>

Default
empty
Example
empty
Auto value
empty
Unknownrequired
2

name of another category to link to (similarly 3, 4, … up to 40)

Default
empty
Example
empty
Auto value
empty
Unknownoptional
banner

if "no" only a span of text (without borders and icon) is displayed

Default
empty
Example
empty
Auto value
empty
Unknownoptional
for

text to append as a short description after the list of categories

Default
empty
Example
empty
Auto value
empty
Unknownoptional
interwiki prefixiwSISTER

interwiki prefix ("w", "q", "s", "v", …), interlanguage prefix (if non-English; "de", "fr", …) or both (if non-English non-Wikipedia; "v:de", …) to prepend to all see also links

Default
empty
Example
empty
Auto value
empty
Unknownoptional
textLABEL

text to replace the default "See also category/categories" with

Default
empty
Example
empty
Auto value
empty
Unknownoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

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)

Templates linking contents

"1-N" means from one to many.

Upwards links
Downwards links
Sideways page links
Sideways category links
Interproject links