Template:Commons-inline

Jump to navigation Jump to search

Media related to Commons-inline at Wikimedia Commons

Template documentation[view] [edit] [history] [purge]

Usage[edit source]

{{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 source]

Normal
{{Commons-inline|Work}}

Media related to Work at Wikimedia Commons

Text override
{{Commons-inline|Work|Puffle}}

Media related to Puffle at Wikimedia Commons

Full link override
{{Commons-inline|links=[[commons:Foo|]] and [[commons:Bar|]]}}

Media related to Foo and Bar at Wikimedia Commons

List format
{{Commons-inline|list=
* [[commons:Foo|Foo]]
* [[commons:Bar|Bar]]
* [[commons:Row|Row]]
* [[commons:Dee|Dee]]
}}

Related media at Wikimedia Commons:

Extra text
{{Commons-inline|Work|extratext= Extra text}}

Media related to Work at Wikimedia Commons Extra text

See also[edit source]

External links[edit source]