Template:Tlx/doc

This is a template link with a variable number of example parameters (0–30), which can be used to show example inputs.

Parameters

 * First parameter
 * The link to the template. Defaults to the page name (current page name: )


 * 2nd to 31st parameter
 * The parameters of the template.


 * To add named parameters, example, follow these steps:
 * Write the parameter normally. Example:.
 * Then, count how many parameters you have added, so . On this example, there are 4 parameters, so prefix   on the  template.
 * So, the code is, which results in.


 * Note: Adding named parameters will force you to always prefix the unnamed parameter:
 * will not work
 * will work.

The following will only work after all the parameters of the demo template is placed. Wrong: Right:


 * Style
 * The style of the template. Has 1 style:
 * , which encloses the template with


 * Prefix
 * The prefix for the template, useful when instructing the user to add,  , or something similar.
 * Note: This does not add a prefix to the link. Use  instead as listed below.


 * Link Prefix
 * The prefix for the link itself, for linking to other languages/wikis. Also shows in the template link.
 * Note: This adds the prefix to the link itself. To add a prefix not included on the link, see above.


 * Block Mode
 * Makes the template styled as a block template, to aid in readability. Combine with  to get the best results.