Template:If all
![]() | This template is used on approximately 6,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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
<syntaxhighlight lang="wikitext" style="margin:0; width:19em"> All there! </syntaxhighlight> → All there!
<syntaxhighlight lang="wikitext" style="margin:0; width:19em"> All there! </syntaxhighlight> → All there!
|
<syntaxhighlight lang="wikitext" style="margin:0; width:19em"> Something is missing!? </syntaxhighlight> → Something is missing!?
</syntaxhighlight> →
<syntaxhighlight lang="wikitext" style="margin:0; width:19em"> </syntaxhighlight> →
|
<syntaxhighlight lang="wikitext" style="margin:0; width:19em"> Something is missing!? </syntaxhighlight> → Something is missing!?
|
<syntaxhighlight lang="wikitext" style="margin:0; width:19em"> Something is missing!? </syntaxhighlight> → Something is missing!?
|
See also
- {{If all}}
- {{If both}}
- {{If either}}
- {{If empty}}
- Module:Parameter validation