Template:Commons-inline/doc
Appearance
This is a documentation subpage for Template:Commons-inline. It contains usage information, categories, and other content that is not part of the original template page. |
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}}