Difference between revisions of "Template:Xpd1"
From LIMSWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) (Created as needed.) |
Shawndouglas (talk | contribs) m (Protected "Template:Xpd1" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
(No difference)
|
Latest revision as of 20:53, 31 May 2013
[edit] [ ] 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
- m:Template:xpd1 (backlinks, edit)
- m:Template:xpdt1 (backlinks, edit) for table row templates
- m:Template:xpdn (backlinks, edit) for named parameters
The above documentation is transcluded from Template:Xpd1/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |