Fyrimynd:If all
This helper template performs a logical and on n parameters where n is between 1 and 10. It is intended to be used in other templates.
Usage[rætta wikitekst]
{{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|4|5|6|7|8| |10 | n = 10 | then = All there. | else = Something is missing. }}
→ Something is missing.
See also[rætta wikitekst]
- {{If all}}
- {{If both}}
- {{If either}}
- {{If empty}}
- {{Missing param}}
Dokumentatiónin omanfyri er tikin frá Fyrimynd:If all/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |