Template:Xpds

{{documentation|content=

This Template:xpds (expansion demo) shows the call of a variable, parser function or template and its result, for documentation. The call is the same as the template call to be demonstrated, except that " " is inserted after the opening braces.

The template uses Module:Xpd; see also Module talk:Xpd.

Examples:

gives: {{xpds|CURRENTTIME}}

gives: {{xpds|#expr:1/7}}

gives: {{xpds|2x|abc }}

gives: {{xpds|{{#expr:7-5}}x|{{#expr:1/7}} }}

gives: {{xpds|t2demo||abc}}

gives: {{xpds|SeeHook|ParserBeforeStrip}}

gives:

{{xpds|Foreach|SeeHook|delim=,|ParserBeforeStrip|ParserAfterStrip}}