Andoza:If all
Qiyofa
Bu yordamchi shablon n parametrlarida mantiqiy va ni bajaradi. U boshqa andozalarda foydalanish uchun mo'ljallangan. Bunda n 1 dan 10 gacha boʻlishi mumkin.
Foydalanish
{{if all|1|2|3|4|5|6|7|8|9|10
| n = 10
| then = All there!
| else = Something is missing!?
}}
→ All there!
{{if all|1|2|3
| n = 3
| then = All there!
| else = Something is missing!?
}}
→ All there!
{{if all|1|2|3
| n = 2
| then = All there!
| else = Something is missing!?
}}
→ All there!
{{if all| |2|3
| n = 2
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
{{if all|1|2|
| n = 2
| then = All there!
| else = Something is missing!?
}}
→ All there!
{{if all|
| n = 1
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
{{if all
| n = 1
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
|
{{if all|1|2|3|4|5|6|7|8| |10
| n = 10
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
{{if all| |2|3
| n = 3
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
{{if all|1|2|3
| n = 4
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
{{if all| |2|3
| n = 4
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
{{if all|1|2|
| n = 4
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
{{if all|
| n = 0
| then = All there!
| else = Something is missing!?
}}
→
{{if all
| n = 0
| then = All there!
| else = Something is missing!?
}}
→
|
{{if all|1|2|3|4|5|6|7| | |10
| n = 10
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
{{if all| | |3
| n = 3
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
|
{{if all| | | | | | | | | |10
| n = 10
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!?
{{if all| | |
| n = 3
| then = All there!
| else = Something is missing!?
}}
→ Something is missing!? |
Yana qarang
- {{If all}}
- {{If both}}
- {{If either}}
- {{If empty}}
- {{Missing param}}
| Yuqoridagi hujjat Andoza:If all/doc sahifasidan olingan. Tajriba oʻtkazish uchun qumloq va test sahifasidan foydalaning. Iltimos, turkumlarni hujjat sahifasiga va intervikilarni vikimaʼlumotlarga joylashtiring. Ushbu andoza ostsahifalari. |