Template:Pst1
Appearance
{{{{{{1}}}}}}
This is a parameter selection template. It returns the value of the parameter whose name is the value of parameter 1.
Usage
[edit]{{pst1|1|9|7}}
→ 1{{pst1|2|9|7}}
→ 9{{pst1|3|9|7}}
→ 7{{pst1|a|a=7|b=9}}
→ 7{{pst1|b|a=7|b=9}}
→ 9{{pst1|{{{1}}}=9}}
→ 9 - if parameter 1 is undefined the template returns the value of the parameter with the name "{{{1}}}
".
m:Template:Pp is identical.