Modèle:Both/Documentation
Ceci est la page de documentation de Modèle:Both [modifier] [purger].
Cette sous-page contient les instructions, les catégories de son modèle d'origine et elle n'est pas destinée à être visualisée directement.
Cette sous-page contient les instructions, les catégories de son modèle d'origine et elle n'est pas destinée à être visualisée directement.
Usage
{{Both|string1|string2}}
Produces 1 (equivalent to a true condition) if both string1 and string2 are non-empty; otherwise produces the empty string (false condition).
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
See the monthly error report for this template.
TemplateData for Both
Produces '1' (equivalent to a true condition) if both 'string1' and 'string2' are non-empty; otherwise produces the empty string (false condition).
Paramètre | Description | Type | État | |
---|---|---|---|---|
String1 | 1 | First string | Chaîne | obligatoire |
String2 | 2 | Second string | Chaîne | obligatoire |
See also
- {{if}}