Template:Commons-inline
Appearance
Media related to Commons-inline on Wikimedia Commons
Usage
[edit]{{Commons-inline|Commons-gallery-page-name}}
This template creates an inline link to Commons in list format.
- Full syntax
{{Commons-inline[|list=wikitext for a list][|links=wikitext to override default link][|Commons-gallery-page-name][|extratext=extra text]}}
Examples
[edit]- Normal
{{Commons-inline|Work}}
Media related to Work on Wikimedia Commons
- Text override
{{Commons-inline|Work|Puffle}}
Media related to Puffle on Wikimedia Commons
- Full link override
{{Commons-inline|links=[[commons:Foo|]] and [[commons:Bar|]]}}
Media related to Foo and Bar on Wikimedia Commons
- List format
{{Commons-inline|list= * [[commons:Foo|Foo]] * [[commons:Bar|Bar]] * [[commons:Row|Row]] * [[commons:Dee|Dee]] }}
Related media on Wikimedia Commons:
- Extra text
{{Commons-inline|Work|extratext= Extra text}}
Media related to Work on Wikimedia Commons Extra text
See also
[edit]- Template:Commons category multi – to include multiple categories.
- Template:Commons category-inline – shows Commons category inline
- Template:Commons category – shows Commons category box
- Template:Commons and category – shows Commons box with both gallery and category
- {{Commons-inline}}
- {{Commons category-inline}}
- {{Wikinews-inline}}
- {{Wikiquote-inline}}
- {{Wikisource-inline}}
- {{Wikispecies-inline}}
- {{Wiktionary-inline}}
- {{Wikiversity-inline}}
The above documentation is transcluded from Template:Commons-inline/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |