Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Location  





3 TemplateData  





4 Redirects  





5 See also  














Template:Wiki category/doc







Add links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

< Template:Wiki category

This is an old revision of this page, as edited by  (talk | contribs)at00:40, 3 December 2017 (rmv). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff)  Previous revision | Latest revision (diff) | Newer revision  (diff)

{{Wiki category}} links to a "Category:" name in the Wikipedia repository. This template exists as an alternative to {{Commons category}} for when media is instead hosted on Wikipedia. This is especially common for images not acceptable on Commons, such as images only free in the US under Freedom of Panorama laws.

Usage

The parameter |position= accepts one value, |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.

Location

If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different sister template.

☒N Do not place this template in a section all by itself without floating left.

☒N Do not place this template in a section containing columns without floating left.

In articles, this template should be placed at the top of the last section on the page. On disambiguation pages, this template is usually placed at the top of the page. See Wikipedia:Wikimedia sister projects#Where to place links for more information and alternatives.

In categories, this template should be grouped with other templates at the beginning of the category introduction. This avoids unnecessary white space as any text is floated around the template boxes.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Wiki category in articles based on its TemplateData.

TemplateData for Wiki category

This template creates a small box containing a link to a category on Wiki.

Template parameters

ParameterDescriptionTypeStatus
Category name1

The name of the Wiki category this template will link to. If no value is provided the Wiki category value from Wikidata is used, and if none was provided there then the page name is used.

Stringoptional
Displayed text2

The text that the link will display to the user. If no value is provided it will default to category name or page name, in that order.

Stringoptional
Positionposition

When set to 'left', the template will be positioned on the left side of the page. Otherwise it will default to the right side.

Stringoptional

Redirects

See also



Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Wiki_category/doc&oldid=813310658"

Hidden category: 
Template documentation pages
 



This page was last edited on 3 December 2017, at 00:40 (UTC).

This version of the page has been revised. Besides normal editing, the reason for revision may have been that this version contains factual inaccuracies, vandalism, or material not compatible with the Creative Commons Attribution-ShareAlike License.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki