Andoza:Commons-inline/doc

Vikipediya, ochiq ensiklopediya

Foydalanish[manbasini tahrirlash]

{{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 associated category. If that's missing, it will finally will fall back to Commons search.

Full syntax
{{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
}}

Examples[manbasini tahrirlash]

Normal
{{Commons-inline|Work}}

Vikiomborda Work mavzusiga oid fayllar bor

Text override

Work is the link target and Puffle is the link label.

{{Commons-inline|Work|Puffle}}

Vikiomborda Puffle mavzusiga oid fayllar bor

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

Vikiomborda Foo and Bar mavzusiga oid fayllar bor

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

Vikiomborda mavzuga oid fayllar bor:

Another list format, including Commons templates
{{Commons-inline|list=
:[[c:Commons:Timed Text|Commons:Timed Text]]
:{{[[Commons:Template:Captions requested|Captions requested]]}}
}}

Vikiomborda mavzuga oid fayllar bor:

Commons:Timed Text
{{Captions requested}}
Extra text
{{Commons-inline|Work|extratext= Extra text}}

Vikiomborda Work mavzusiga oid fayllar bor Extra text

Force Commons search
{{Commons-inline|search=Work}}

Vikiomborda Work mavzusiga oid fayllar bor

Turn off tracking categories (for use inside other templates)
{{Commons-inline|Work|notrack=1}}

Vikiomborda Work mavzusiga oid fayllar bor

Tracking categories[manbasini tahrirlash]

Normal categories[manbasini tahrirlash]

Maintenance categories[manbasini tahrirlash]

See also[manbasini tahrirlash]

Andoza:Commons templates see also