From Wikibooks
Jump to navigation Jump to search
This subpage contains documentation, categories and other content that is not part of the template.
To view the template page itself, see Template:Xpd1.

The template has two parameters:

  • the template, or the parser function with colon and part after the colon
  • one (additional) parameter

It is a simplified version of template:xpdop3c ( talk edit history links ), 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.



}}" gives "start-pqr-end" [1]


}}" gives "pqr" [2]



}}" gives "p



q" [3]

Named parameters

Named parameters are not supported. Neither are equals signs in parameter values.

{{xpd1|t np|q=s}} gives: "{{t np|{{{2}}}

}}" gives "Template:T np" [4] ("q=s" is ignored)

{{xpd1|t np|2=q=s}} gives: "{{t np|q=s

}}" gives "Template:T np" [5] (wrong result)


See also