Media related to Commons-inline at Wikimedia Commons
Template documentation
This template relies on Template:Sister-inline.
Usage
* {{Commons-inline|Commons-gallery-page-name}}
Commons gallery page name is optional; if missing, the template will look up the associated gallery in Wikidata. If that's missing, it will find the associated category. If that's missing, it will finally fall back to a Commons search.
- Full syntax
* {{Commons-inline|list= wikitext for a list |links= wikitext to override default link |Commons-gallery-page-name= |extratext= extra text |search= string to search in Commons|notrack= turn off tracking categories|italic= italicize link text}}
Examples
- Normal
* {{Commons-inline|Work}}
- Media related to Work at Wikimedia Commons
- Text override
Work is the link target and Puffle is the link label.
* {{Commons-inline|Work|Puffle}}
- Media related to Puffle at Wikimedia Commons
- Full link override
* {{Commons-inline|links=[[commons:Foo|]] and [[commons:Bar|]]}}
- List format
* {{Commons-inline|list=* [[commons:Foo|Foo]]* [[commons:Bar|Bar]]* [[commons:Row|Row]]* [[commons:Dee|Dee]]}}
Related media at Wikimedia Commons:
- Another list format, including Commons templates
* {{Commons-inline|list=:[[c:Commons:Timed Text|Commons:Timed Text]]:<nowiki>{{</nowiki>[[Commons:Template:Captions requested|Captions requested]]<nowiki>}}</nowiki>}}
- Extra text
* {{Commons-inline|Work|extratext= Extra text}}
- Media related to Work at Wikimedia Commons Extra text
- Force Commons search
* {{Commons-inline|search=Work}}
- Media related to Work at Wikimedia Commons
- Turn off tracking categories (for use inside other templates)
* {{Commons-inline|Work|notrack=1}}
- Media related to Work at Wikimedia Commons
Tracking categories
Normal categories
Maintenance categories
- Category:Commons link is defined as the pagename (2,028)
- Category:Commons link is locally defined (7,684)
- Category:Commons link is the pagename (17,207)
- Category:Inconsistent wikidata for Commons gallery (1)
See also
- Wikipedia:Manual of Style/Layout § External links
- {{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
- {{Sister project links}}—to link all Wikinews, Wikisource, etc.
- {{Wikibooks}} / {{Wikibooks inline}}
- {{Wikinews}} / {{Wikinews inline}}
- {{Wikiquote}} / {{Wikiquote-inline}}
- {{Wikisource}} / {{Wikisource-inline}}
- {{Wikispecies}} / {{Wikispecies-inline}}
- {{Wikiversity}} / {{Wikiversity inline}}
- {{Wikivoyage}} / {{Wikivoyage inline}}
- {{Wiktionary}} / {{Wiktionary-inline}}
🔥 Top keywords: Main PageSpecial:SearchIndian Premier LeagueWikipedia:Featured picturesPornhubUEFA Champions League2024 Indian Premier LeagueFallout (American TV series)Jontay PorterXXXTentacionAmar Singh ChamkilaFallout (series)Cloud seedingReal Madrid CFCleopatraRama NavamiRichard GaddDeaths in 2024Civil War (film)Shōgun (2024 miniseries)2024 Indian general electionJennifer PanO. J. SimpsonElla PurnellBaby ReindeerCaitlin ClarkLaverne CoxXXX (film series)Facebook2023–24 UEFA Champions LeagueYouTubeCandidates Tournament 2024InstagramList of European Cup and UEFA Champions League finalsJude BellinghamMichael Porter Jr.Andriy LuninCarlo AncelottiBade Miyan Chote Miyan (2024 film)