Template:Xpds

From My Homelab
Revision as of 19:35, 24 January 2026 by Lynn Macey (talk | contribs) (Created page with "<includeonly>{{#invoke:xpd|s}}</includeonly><noinclude> {{documentation|content= {{Lua|Module:xpd}} 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 "<code>xpds{{!}}</code>" is inserted after the opening braces. The template uses Module:Xpd; see also Module talk:Xpd. Examples: ---- {{tlx|xpds|CURRENTTIME}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

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 "xpds|" is inserted after the opening braces.

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

Examples:


{{xpds|CURRENTTIME}} gives: Script error: No such module "xpd".


{{xpds|#expr:1/7}} gives: Script error: No such module "xpd".


{{xpds|2x|abc}} gives: Script error: No such module "xpd".


{{xpds|2x|0.14285714285714}} gives: Script error: No such module "xpd".


{{xpds|t2demo|abc}} gives: Script error: No such module "xpd".


{{xpds|hook|ParserBeforeStrip}} gives: Script error: No such module "xpd".


{{xpds|Foreach|hook|delim=,|ParserBeforeStrip|ParserAfterStrip}} gives:

Script error: No such module "xpd".

See also

[[Category:Template documentation pages{{#translation:}}]]

[[Category:Handbook templates{{#translation:}}|Xpds]]