mNo edit summary
|
add italic parameter
|
||
(37 intermediate revisions by 22 users not shown) | |||
Line 1: | Line 1: | ||
{{sister-inline |
|||
⚫ | |||
|short={{{short|}}} |
|||
|* [[Image:Commons-logo.svg|20px|Wikimedia Commons logo]] Media from the Wikimedia Commons: |
|||
|project=commons |
|||
{{{list}}} |
|||
⚫ | |||
|* [[Image:Commons-logo.svg|20px|Wikimedia Commons logo]] Media related to {{{links|[[commons:{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]}}} from the Wikimedia Commons. |
|||
|links={{#if:{{{links|}}}|{{{links}}}|<!-- |
|||
}}<noinclude>[[Category:Interwiki link templates|Commons-inline]] |
|||
-->{{#invoke:Commons link|getGalleryOrCategory|{{{1|}}}|linktext={{{2|}}}|search={{{search|}}}|<!-- |
|||
[[ru:template:commons-inline]] |
|||
-->qid={{{qid|}}}|italic={{{italic|}}}|tracking={{#if:{{{search|}}}{{{notrack|}}}||1}}}}}} |
|||
[[fi:Malline:Commons-rivi]]</noinclude> |
|||
|extratext={{{extratext|}}}}}<noinclude>{{Documentation}}</noinclude> |
Media related to Commons-inline at Wikimedia Commons
![]() | This template is used on approximately 21,000 pages and changes may be widely noticed. Test changes in the template's /sandboxor/testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua:
|
This template relies on Template:Sister-inline.
* {{Commons-inline|Commons-gallery-page-name}}
Commons gallery page name is optional; if missing, the template will look up the associated gallery in Wikidata. If that's missing, it will find the associated category. If that's missing, it will finally fall back to a Commons search.
* {{Commons-inline
|list= wikitext for a list
|links= wikitext to override default link
|Commons-gallery-page-name=
|extratext= extra text
|search= string to search in Commons
|notrack= turn off tracking categories
|italic= italicize link text
}}
* {{Commons-inline|Work}}
Work is the link target and Puffle is the link label.
* {{Commons-inline|Work|Puffle}}
* {{Commons-inline|links=[[commons:Foo|]] and [[commons:Bar|]]}}
* {{Commons-inline|list=
* [[commons:Foo|Foo]]
* [[commons:Bar|Bar]]
* [[commons:Row|Row]]
* [[commons:Dee|Dee]]
}}
Related media at Wikimedia Commons:
* {{Commons-inline|list=
:[[c:Commons:Timed Text|Commons:Timed Text]]
:<nowiki>{{</nowiki>[[Commons:Template:Captions requested|Captions requested]]<nowiki>}}</nowiki>
}}
* {{Commons-inline|Work|extratext= Extra text}}
* {{Commons-inline|search=Work}}
* {{Commons-inline|Work|notrack=1}}