Andoza:Commons-inline
Vikiomborda Commons-inline mavzusiga oid fayllar bor
Andoza hujjati[koʻrib chiqish] [tahrirlash] [tarix] [ ]
Bu andozadan taxminan 19 000 sahifada foydalanilgan. Tajriba oʻtkazish uchun andozaning /qumloq yoki /test ostsahifalaridan foydalaning. Oʻzgarishlar kiritishdan avval boshqa foydalanuvchilar bilan muhokama qilish haqida oʻylab koʻring. |
Bu andoza quyidagi Luadan foydalanadi: |
Foydalanish
tahrir{{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
tahrir- 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:
- 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
tahrirNormal categories
tahrirMaintenance categories
tahrir- Category:Commons link is defined as the pagename (4)
- Category:Commons link is locally defined (13)
- Category:Commons link is the pagename (2)
- Category:Inconsistent wikidata for Commons gallery (0)
See also
tahrirYuqoridagi hujjat Andoza:Commons-inline/doc sahifasidan olingan. Tajriba oʻtkazish uchun qumloq va test sahifasidan foydalaning. Iltimos, turkumlarni hujjat sahifasiga va intervikilarni vikimaʼlumotlarga joylashtiring. Ushbu andoza ostsahifalari. |