Šablonas:xpd1/doc
Version of template:xpd ( aptarimas redaguoti istorija nuorodos ) with two parameters:
- the template, or the parser function with colon and part after the colon
- one (additional) parameter
Examples:
{{t1|pqr
}} gives startpqrend [1]
{{#ifexpr:2<3|pqr
}} gives pqr [2]
{{1x|Help:Link
}} gives Help:Link [3]
The latter result can be improved by applying substitution and putting nowiki tags around the parameter of "1x":
{{1x|[[Help:L{{tc}}k]]|
}} gives Help:Link
Named parameters
taisytiNamed parameters are not supported. Neither are equals signs in parameter values.
{{xpd1|t np|q=s}} gives: {{t np|
}} gives p{{{q}}}r [4] ("q=s" is ignored)
{{xpd1|t np|2=q=s}} gives: {{t np|q=s
}} gives p{{{q}}}r [5] (wrong result)
Actually:
See also
taisyti- template:xpdt1 ( aptarimas redaguoti istorija nuorodos ) for table row templates
- template:xpdn ( aptarimas redaguoti istorija nuorodos ) for named parameters
- w:template:xpd1 ( aptarimas redaguoti istorija nuorodos )