Template:Tl/doc
From Wikinews, the free news source you can write!
| This is a documentation subpage for Template:Tl (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on over 270,000 pages. (count) Changes to this template may cause some server load, and mistakes will be visible on many pages. Please carefully test any edits before making them, and avoid making unnecessary edits. |
This template displays a link to a template, with its corresponding {{ and }} brackets, for easy display, and for copying and pasting.
Examples [edit]
- Templates without parameters
- {{tl|sources}} would generate {{sources}}
- Templates with unnamed parameters
- {{tl|date|May 13, 2013}} would generate {{date|May 13, 2013}}
- Templates with named parameters, or an equals sign (=) in the text
- {{tl|press release|2=url=http://en.wikinews.org/}} would generate {{press release|url=http://en.wikinews.org/}}
Notes [edit]
- You can include up to 4 extra parameters (not including the template name)
- If an extra parameter has text with an equals sign on it, you need to add "2=", "3=", etc. before the text and after the "|"
