Template:Xpd1/doc

From Australian sf information
Jump to: navigation, search

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:

"{{t1|pqrTemplate:Void}}" gives "{{pqr}}" [1]

"{{#ifexpr:2<3|pqrTemplate:Void}}" gives "pqr" [2]

"{{1x|[[Help:Link]]Template:Void}}" 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 are not supported. Neither are equals signs in parameter values.