« SwitchExample » : différence entre les versions

De Semantic MediaWiki - Sandbox

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 2 : Ligne 2 :
|field = type1
|field = type1
}}
}}
 
{{SwitchTemplate
|field=type2
}}




{{interlanguagelink:en|SwitchExample}}
{{interlanguagelink:en|SwitchExample}}

Version du 3 octobre 2016 à 03:27

An example of using the switch statement within a template.

The parameter value type1 works with padding spaces in both calling function and the template.


An example of using the switch statement within a template.

The parameter value type2 works without padding spaces in both calling function and the template.



Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.