Template:Commons category multi/doc

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 | align=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 "topic1 or topic2" (as links). The optional topics 3 or 4 would be on the next line ("or topic3 or topic4"). Optional topics 5 and 6 would be on a third line.

The optional |align=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

Incorrect usage

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

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

In articles, this template should be placed in the External links section, if one exists, or at the top of the last section on the page, if no external links section exists. However, uf 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.

Examples

The following examples show the results of the template uasge.

{{Commons category multi | Gold | Silver}}
 
Search Wikimedia Commons
Search Wikimedia Commons
   Wikimedia Commons has media  related to (category):
This example shows the use of |align=left

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

 
Search Wikimedia Commons
Search Wikimedia Commons
   Wikimedia Commons has media  related to (category):
{{Commons category multi | Los Angeles | New York}}
 
Search Wikimedia Commons
Search Wikimedia Commons
   Wikimedia Commons has media  related to (category):
This example shows links to misspelled words, in this case "Les Angles".

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

 
Search Wikimedia Commons
Search Wikimedia Commons
   Wikimedia Commons has media  related to (category):
{{Commons category multi | Ludwig van Beethoven | Richard Strauss}}
 
Search Wikimedia Commons
Search Wikimedia Commons
   Wikimedia Commons has media  related to (category):
{{Commons category multi | Gold | Silver | Bronze}}
 
Search Wikimedia Commons
Search Wikimedia Commons
   Wikimedia Commons has media  related to (category):
{{Commons category multi | Gold | Silver | Bronze | Iron}}
 
Search Wikimedia Commons
Search Wikimedia Commons
   Wikimedia Commons has media  related to (category):
This example shows the use of delimiters. See "Usage" section above for explanation.

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

 
Search Wikimedia Commons
Search Wikimedia Commons
   Wikimedia Commons has media  related to (category):


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.