Difference between revisions of "Template:Xpd1"

From CannaQAWiki
Jump to navigationJump to search
m (Protected "Template:Xpd1" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
m (Protected "Template:Xpd1" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 18:46, 3 March 2015

[edit] [purge] Template documentation

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|pqr}}" gives "{{pqr}}" [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 are not supported. Neither are equals signs in parameter values.

See also