This page is protected against editing.

Template:Cat see also

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Cat see also/doc.

Box for links to related categories.

Usage

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

Or use the shorthand

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, …)emptyoptional
hnHTML highlight tag (e.g. i, s, u, …) for the text n-th categoryemptyoptional
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

<table class="plainlinks plainlinks ombox mbox-small ombox-notice" role="presentation"><tr><td class="mbox-image">[[File:Lua-logo-nolabel.svg|30px|alt=Lua logo|link=wikipedia:Wikipedia:Lua]]</td><td class="mbox-text">Uses [[wikipedia:Wikipedia:Lua|Lua]]: <div><ul><li>[[:Module:Cat see also]]</li></ul></div></td></tr></table>[[Category:Lua-based templates]]Box for links to related categories.

Template parameters[Edit template data]

This template prefers inline formatting of 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>

Unknownrequired
2

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

Unknownoptional
banner

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

Unknownoptional
for

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

Unknownoptional
h<sub>n</sub>

HTML highlight tag (e.g. i, s, u, …) for the text n-th category

Unknownoptional
interwiki prefixiw SISTER

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

Unknownoptional
text LABEL

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

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

See also

Localization

العربية  Boarisch  беларуская (тарашкевіца)  বাংলা  català  čeština  Deutsch  English  Esperanto  español  eesti  فارسی  suomi  français  galego  हिन्दी  magyar  Bahasa Indonesia  italiano  日本語  한국어  македонски  മലയാളം  norsk bokmål  Plattdüütsch  Nederlands  norsk nynorsk  polski  português  русский  sicilianu  slovenčina  slovenščina  svenska  தமிழ்  ไทย  Türkçe  українська  中文

This template makes use of {{Autotranslate}} and the translate extension.


Templates linking contents

"1-N" means from one to many.

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