https://portlandwiki.org/index.php?title=Template:Xpd1/doc&feed=atom&action=historyTemplate:Xpd1/doc - Revision history2024-03-28T09:07:54ZRevision history for this page on the wikiMediaWiki 1.40.1https://portlandwiki.org/index.php?title=Template:Xpd1/doc&diff=19931&oldid=prevWikiMaster: Create template.2012-03-16T01:10:39Z<p>Create template.</p>
<p><b>New page</b></p><div>{{Documentation subpage}}<br />
The template has two parameters:<br />
<br />
*the template, or the parser function with colon and part after the colon<br />
*one (additional) parameter<br />
<br />
It is a simplified version of {{tim|xpdop3c}}, 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]].<br />
<br />
Examples:<br />
<br />
{{xpd1|t1|pqr}}<br />
<br />
{{xpd1|#ifexpr:2<3|pqr}}<br />
<br />
{{xpd1|3x|p<br />
<br />
q}}<br />
<br />
==Named parameters==<br />
Named parameters are not supported. Neither are equals signs in parameter values. <br />
<br />
<nowiki>{{xpd1|t np|q=s}}</nowiki> gives: {{xpd1|t np|q=s}} ("q=s" is ignored)<br />
<br />
<nowiki>{{xpd1|t np|2=q=s}}</nowiki> gives: {{xpd1|t np|2=q=s}} (wrong result)<br />
<br />
Actually:<br />
*{{xpdnp|t np|1n=1|1v=q=s}}<br />
*{{xpdnp|t np|1n=q|1v=s}}<br />
<br />
==See also==<br />
*[[Help:Expansion demo templates]]<br />
*{{tim|xpdt1}} for table row templates<br />
*{{tim|xpdn}} for named parameters<br />
*{{tiw|xpd1}}<br />
<br />
<!-- template categories and interwiki links --><br />
<includeonly><br />
[[Category:Expand demo templates|Xpd1]]<br />
<br />
<br />
</includeonly></div>WikiMaster