Template:Xpdtpn/doc
This is a documentation subpage for Template:Xpdtpn. It contains usage information, categories, and other content that is not part of the original template page. |
This expand demo template uses #titleparts
, allowing 4 parameters to be entered in the form of two "page titles". It is a version of Template:Xpdtp for parser functions with #.
Example
edit{{xpdtpn|if:x/ifexpr:3+2|ifexpr:3-2/3-2}}
gives
{{#{{#if:x|ifexpr:3+2}}|{{#ifexpr:3-2|3-2}}}}
gives 3-2 [1]