« Modèle:SwitchTemplate » : différence entre les versions

De Semantic MediaWiki - Sandbox

Aucun résumé des modifications
Aucun résumé des modifications
Ligne 3 : Ligne 3 :


{{#switch: {{{field}}}
{{#switch: {{{field}}}
  | type1 = Type 1 works with padding spaces in both calling function and the template.
  | type1 = The parameter value type1 works with padding spaces in both calling function and the template.
  |type2=Type 2 works without padding spaces in both calling function and the template.
  |type2=The paramter value type2 works without padding spaces in both calling function and the template.
  | type 3 = An example where there are spaces in the parameter.
  | type 3 = An example where there are spaces in the parameter.
  |  
  |  

Version du 3 octobre 2016 à 03:45


This template is called by the page SwitchExample.

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