Difference between revisions of "Template:Xpd1/doc"
From CannaQAWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) (Created as needed.) |
Shawndouglas (talk | contribs) m (1 revision imported: Attempting import of LIMSwiki templates UF-COinS–•/doc) |
(No difference)
|
Latest revision as of 03:08, 26 February 2015
This is a documentation subpage for Template:Xpd1. It contains usage information, categories, interlanguage links, and other content that is not part of the original template page. |
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