Template:Commons-inline/doc

From WikiAlpha
Jump to: navigation, search
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page.

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

16x16px Media related to Work at Wikimedia Commons


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

16x16px Media related to Puffle at Wikimedia Commons


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

16x16px 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]]
}}

16x16px Related media at Wikimedia Commons:


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

16x16px Media related to Work at Wikimedia Commons Extra text


See also