Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Community portal
Encyc
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Commons category/doc
(section)
Template
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Usage== :{| |- | {{tl2|Commons category}} || β || Fetches the Commons sitelink from Wikidata (where available) |- | {{tl2|Commons category|''catname''}} || β || Puts link-box connecting title ''catname'' |- | {{tl2|Commons category|''catname''|''showname''}} || β || Puts link-box showing the title ''showname'' |- | {{tl2|Commons category|''catname''|3=position=left}} || style="vertical-align:top;" | β || Floats link-box to the left side, as option to align box to left-margin |- | {{tl2|Commons category|3=nowrap=yes}} || style="vertical-align:top;" | β || Stops the text of the commons category from wrapping |- | {{tl2|Commons category|3=lcfirst=yes}} || style="vertical-align:top;" | β || Displays the first letter as lower-case |} The two parameters ''catname'' and ''showname'' (1 & 2) are optional, and are intended for cases where the Commons category name is different from the Wikipedia page name. The first parameter is the name of the corresponding category on the Wikimedia Commons, ''without'' the "<code>Category:</code>" prefix. If this first parameter is used, then the template will display the Commons category name, which may be confusing to readers. This text can be overridden by the second parameter, where the Wikipedia page name would typically be used. {{Commons category|Ursus maritimus|Polar bears}} For example, on the [[Polar bear]] page, {{tlc|Commons category|Ursus maritimus|Polar bears}} produces a link to [[Commons:Category:Ursus maritimus]] displayed as "[[Commons:Category:Ursus maritimus|Polar bears]]". The parameter {{para|position}} accepts one value, {{para|position|left}}, that moves the box to the left side, instead of the default right side. More information may be found at [[Template:Side box]].
Summary:
Please note that all contributions to Encyc are considered to be released under the Creative Commons Attribution-Share Alike License (see
Encyc:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width