Plantilla:Xpd1/ús
Aparença
Aquesta és una subpàgina de documentació per a la Plantilla:Xpd1 Té la informació d'ús, les categories i qualsevol altre contingut que no forma part essencial del codi de la plantilla. |
Version of m:Template:xpd (backlinks, edit) with two parameters:
- the template, or the parser function with colon and part after the colon
- one (additional) parameter
Examples:
"{{tl|pqr}}"
gives "{{pqr}}" [1]
"{{#ifexpr:2<3|pqr}}"
gives "pqr" [2]
"{{1x|[[Help:L[[{{{1}}}|<span style="color:white;">{{{1}}}</span>]]k]]}}"
gives "[[Help:L[[{{{1}}}|{{{1}}}]]k]]" [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:L[[{{{1}}}|{{{1}}}]]k]]
Named parameters are not supported. Neither are equals signs in parameter values.
See also
[modifica]- m:Template:xpd1 (backlinks, edit)
- m:Template:xpdt1 (backlinks, edit) for table row templates
- m:Template:xpdn (backlinks, edit) for named parameters