Template:Tl/doc

From Krafties
Jump to navigation Jump to search
This is a documentation subpage for Template:Tl.
It contains usage information, categories and other content that is not part of the original template page.

This template creates example usage syntax for a template, and links the name to the template page. The name is derived from "Template list expanded".

Up to 7 pass parameters (numbered) for the specified template are displayed as 'placeholders', and more parameters are shown as "|...". An optional SISTER parameter can specify an interwiki prefix to link to another wiki. Examples:

Code Result Remark
Template:Tlx Template:Tlx  
Template:Tlx Template:Tlx  
Template:Tlx Template:Tlx  
Template:Tlx Template:Tlx  
Template:Tlx Template:Tlx up to 7 parameters, then ...
Template:Tlx Template:Tlx | for more
Template:Tlx Template:Tlx = won't work
Template:Tlx Template:Tlx = is okay
Template:Tlx Template:Tlx sticky nowiki is okay
Template:Tlx Template:Tlx empty won't work
Template:Tlx Template:Tlx   is okay
Template:Tlx Template:Tlx   is okay
Template:Tlx Template:Tlx | is okay
Template:Tlx Template:Tlx Template:Tlx is dubious
Template:Tlx Template:Tlx empty really doesn't work
Template:Tlx Template:Tlx right to left okay