Template:Commons-inline

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Media related to Commons-inline at Wikimedia Commons

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


Usage

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

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