Predloga:Pst1/dok

Iz Wikipedije, proste enciklopedije

This is a parameter selection template. It returns the value of the parameter whose name is the value of parameter 1.

Usage[uredi kodo]

  • {{pst1|1|9|7}}
  • {{pst1|2|9|7}}
  • {{pst1|3|9|7}}
  • {{pst1|a|a=7|b=9}}
  • {{pst1|b|a=7|b=9}}
  • {{pst1|{{{1}}}=9}} - if parameter 1 is undefined the template returns the value of the parameter with the name "{{{1}}}".

m:Template:Pp is identical.