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 Examples  





4 Redirects  





5 See also  














Template:Commons category multi






Аԥсшәа
العربية

تۆرکجه
Basa Bali

 / Bân-lâm-gú

Bosanski
Català
Ελληνικά
فارسی

Հայերեն
Bahasa Indonesia
ि
Македонски


Bahasa Melayu



Norsk bokmål
ି

Português
Română
Scots

Simple English
سنڌي
Slovenščina
کوردی
Српски / srpski
 

Türkçe
Українська
اردو
Tiếng Vit
Yorùbá


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



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




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:Commons multi)

Usage

This template is similar to {{Commons category}} but shows 2, 3, 4, 5 or 6 categories, and allows changing width or floating the box to the left.

Usage: {{Commons category multi | topic1 | topic2 | position=left | width=20em}}
Usage: {{Commons category multi | topic1 | topic2 | topic3}}
Usage: {{Commons category multi | topic1 | topic2 | topic3 | topic4}}
Usage: {{Commons category multi | topic1 | t2 | t3 | t4 | t5 | t6}}

The template will state "Wikimedia Commons has media related to (category):..." and then display the first 2 topic names in bold/italics as "topic1ortopic2" (as links). The optional topics 3 or 4 would be on the next line ("or topic3ortopic4"). Optional topics 5 and 6 would be on a third line.

The optional |position=left shifts the box to the left margin. The template is on the right margin by default.

|delimiter= specifies which delimiter is used to separate each entry. Be careful, as this parameter accepts wikicode as well. So, to specify semicolon (;) as the delimiter (which is the Wikicode for definition list), use {{;}} instead. Because the leading and trailing spaces are ignored, use   to indicate space.

Note that the topic names should exist as category names in Wikimedia Commons (edited using a Wikimedia login name).

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.

Generally:

☒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.
☒N Do not indent this template with colon (:) or a bullet (*) markup.

Specifically:

Examples

The following examples show the results of the template uasge.

{{Commons category multi | Gold | Silver}}
This example shows the use of |position=left

{{Commons category multi | Red | Pale Green | position=left}}

{{Commons category multi | Los Angeles | New York}}
This example shows links to misspelled words, in this case "Les Angles".

{{Commons category multi | Les Angles | Now York}}

{{Commons category multi | Ludwig van Beethoven | Richard Strauss}}
{{Commons category multi | Gold | Silver | Bronze}}
{{Commons category multi | Gold | Silver | Bronze | Iron}}
This example shows the use of delimiters. See "Usage" section above for explanation.

{{Commons category multi | Gold | Silver | Bronze | Iron | Copper | Brass |delimiter={{;}} }}

Redirects

See also

  • {{Commons}}—shows Commons box
  • {{Commons-inline}}—shows Commons gallery inline
  • {{Commons category}}—shows Commons category box
  • {{Commons category-inline}}—shows Commons category inline
  • {{Commons category multi}}—to list up to six categories
  • {{Commons and category}}—shows Commons box with both gallery and category
  • {{Commons and category inline}}—shows Commons gallery and category inline
  • {{Copy to Wikimedia Commons}}
  • {{Wikimedia Commons redirect}}—specialized soft redirect template for Commons
  • {{Wiki category}}—to link to a gallery hosted on Wikipedia
  • mw:Manual:Pywikibot/commonscat.py
  • {{Wikibooks}} / {{Wikibooks inline}}
  • {{Wikinews}} / {{Wikinews inline}}
  • {{Wikiquote}} / {{Wikiquote-inline}}
  • {{Wikisource}} / {{Wikisource-inline}}
  • {{Wikispecies}} / {{Wikispecies-inline}}
  • {{Wikiversity}} / {{Wikiversity inline}}
  • {{Wikivoyage}} / {{Wikivoyage inline}}
  • {{Wiktionary}} / {{Wiktionary-inline}}

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Commons_category_multi&oldid=845370086"

    Categories: 
    Interwiki category linking templates
    Interwiki link sidebar templates
    Wikimedia Commons templates
    Hidden category: 
    Wikipedia template-protected templates
     



    This page was last edited on 11 June 2018, at 10:11 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki