Andoza:Hujjat: Versiyalar orasidagi farq
Oʻzbekcha Vikipediyadan import qilindi. | Hujjat andozasiga /doc ostsahifasida cheksiz takrorlanish (template loop) bo'lmasligi uchun himoya qo'shildi | ||
# | {{#ifeq: {{SUBPAGENAME}} | doc | ||
| {{Hujjat ostsahifasi}} | |||
| {{#ifeq: {{SUBPAGENAME}} | qumloq | |||
| <div style="clear: both;"></div>{{template sandbox notice}} | |||
}}{{template other| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | |||
| {{pp-template|docusage=yes}} | |||
| {{#if: {{PROTECTIONLEVEL:edit}} | |||
| {{pp-template|docusage=yes}} | |||
| | |||
}} | |||
}} | |||
}}{{hujjat/start box2| preload = {{{preload|}}} | |||
| heading = {{{heading|¬}}} | |||
| heading-style = {{{heading-style|}}} | |||
| content = {{{content|}}} | |||
| docspace = {{hujjat/docspace}} | |||
| 1 = {{{1|}}} | |||
| template page = {{hujjat/template page}} | |||
}} | |||
{{#switch: {{#if:{{{content|}}}|1|0}}{{#if:{{{1|}}}|1|0}}{{#ifexist:{{{1|}}}|1|0}}{{#ifexist:{{hujjat/docspace}}:{{hujjat/template page}}/doc|1|0}} | |||
| 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | |||
| 1111 = {{{content|}}} | |||
| 0110 | 0111 = {{ {{{1}}} }} | |||
| 0001 | 0011 = {{ {{hujjat/docspace}}:{{hujjat/template page}}/doc }} | |||
| 0000 | 0100 | 0010 | 0101 = | |||
}} | |||
{{hujjat/end box2| preload = {{{preload|}}} <!--Allow custom preloads--> | |||
| content = {{{content|}}} | |||
| link box = {{{link box|}}} | |||
| docspace = {{hujjat/docspace}} | |||
| 1 = {{{1|}}} | |||
| template page = {{hujjat/template page}} | |||
}} | |||
}} | |||
$2, $3 dagi (joriy) koʻrinishi
Ushbu andoza yashil hujjat qutisini andoza sahifalarida aks ettiradi. Quti ichidagi matn /doc ostsahifasidan yuklanadi.
Foydalanish
[tahrir | manbasini tahrirlash]Odatda bu andoza hech qanday parametrlarsiz, andoza sahifalarining pastki qismiga, <noinclude> tegi ichiga joylashtiriladi:
<!--Siz yaratayotgan andozaning soʻnggi qatori--><noinclude>
{{hujjat}}
<!-- [Oʻzb]: Iltimos, turkumlarni /doc sahifasiga joylashtiring, bu yerga emas!
[Eng]: Add categories to the /doc subpage, not here! -->
</noinclude>
Izohlar
[tahrir | manbasini tahrirlash]- Agar hujjat sahifasi hali yaratilmagan boʻlsa, yashil qutinig tepa-oʻng burchagida
[yarat]tugmasi koʻrsatiladi.
Yana qarang
[tahrir | manbasini tahrirlash]| Yuqoridagi hujjat Andoza:Hujjat/doc sahifasidan olingan. Tajriba oʻtkazish uchun qumloq va test sahifasidan foydalaning. Iltimos, turkumlarni hujjat sahifasiga va intervikilarni vikimaʼlumotlarga joylashtiring. Ushbu andoza ostsahifalari. |