Andoza:Commons-inline/doc
Qiyofa
Ushbu sahifa Commons-inline andozasining hujjat sahifasidir. Bu yerda andozaning asosiy sahifasidan joy olmagan foydalanish qoidalari, turkumlar va boshqa foydali maʼlumotlar joylashtiriladi. |
Bu andozadan koʻplab 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
[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:
- 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]- Category:Commons link is defined as the pagename (4)
- Category:Commons link is locally defined (14)
- Category:Commons link is the pagename (2)
- Category:Inconsistent wikidata for Commons gallery (0)