|
|
Line 5: |
Line 5: |
| *one (additional) parameter | | *one (additional) parameter |
|
| |
|
| It is a simplified version of {{tim|xpdop3c}}, without any wikitext outside the braces, and with only one parameter to specify the (additional) parameter of the specified template parser function, see [[Help:Expansion_demo_templates#Limitations]]. | | It is a simplified version of <nowiki>{{tim|xpdop3c}}</nowiki>, without any wikitext outside the braces, and with only one parameter to specify the (additional) parameter of the specified template parser function, see Help:Expansion_demo_templates#Limitations. |
|
| |
|
| Examples: | | Examples: |
Line 20: |
Line 20: |
| Named parameters are not supported. Neither are equals signs in parameter values. | | Named parameters are not supported. Neither are equals signs in parameter values. |
|
| |
|
| <nowiki>{{xpd1|t np|q=s}}</nowiki> gives: {{xpd1|t np|q=s}} ("q=s" is ignored) | | <nowiki>{{xpd1|t np|q=s}}</nowiki> gives: <nowiki>{{xpd1|t np|q=s}}</nowiki> ("q=s" is ignored) |
|
| |
|
| <nowiki>{{xpd1|t np|2=q=s}}</nowiki> gives: {{xpd1|t np|2=q=s}} (wrong result) | | <nowiki>{{xpd1|t np|2=q=s}}</nowiki> gives: <nowiki>{{xpd1|t np|2=q=s}}</nowiki> (wrong result) |
|
| |
|
| Actually: | | Actually: |
| *{{xpdnp|t np|1n=1|1v=q=s}} | | *<nowiki>{{xpdnp|t np|1n=1|1v=q=s}}</nowiki> |
| *{{xpdnp|t np|1n=q|1v=s}} | | *<nowiki>{{xpdnp|t np|1n=q|1v=s}}</nowiki> |
|
| |
|
| ==See also== | | ==See also== |
| *[[Help:Expansion demo templates]] | | *Help:Expansion demo templates |
| *{{tim|xpdt1}} for table row templates | | *<nowiki>{{tim|xpdt1}}</nowiki> for table row templates |
| *{{tim|xpdn}} for named parameters | | *{{tim|xpdn}} for named parameters |
| *{{tiw|xpd1}} | | *{{tiw|xpd1}} |