Template:Xpdnp/doc

This (expansion demo with named parameters) shows the call of a template or switch and its result, for documentation. It works with up to 6 named parameters.

Examples
Examples, compared with equivalent calls of, , and :


 * gives:
 * gives:


 * gives:
 * gives:


 * gives: (the empty string is used as parameter name)
 * gives:


 * gives:
 * gives:


 * gives:
 * gives:
 * gives:

While the template works for templates without parameters it does not work properly for variables:


 * gives:

Therefore, for variables use instead:
 * gives: