Template:Tl/doc

From Wikinews, the free news source you can write!
Jump to: navigation, search

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|November 21, 2014}} would generate {{date|November 21, 2014}}
Templates with named parameters, or an equals sign (=) in the text

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 "|"