Math Wiki
Advertisement

{{{{{1}}}}}

Template documentation (for the above template, sometimes hidden or invisible)[view] [edit] [history] [refresh]
Purpose
This template simplifies the formatting of example template calls in non-article pages, such as on template pages themselves (to show examples of usage). Use Template:Tl if you want the template name to be linked to the page for the template itself (e.g., when used on non-template pages). This template should never be used in articles in the main namespace.
Usage
  • {{t|Template name}}
  • {{t|Template name|parameter}}
  • {{t|Template name|parameter1|parameter2}}
  • {{t|Template name|parameter1|parameter2|parameter3}}
  • {{t|Template name|parameter1|parameter2|parameter3|parameter4}}
Examples
  1. With one (required) parameter, this template provides the same simple functionality as Wikipedia:Template:Tl, but without the link and with the monospace font formatting of Wikipedia:Template:Tlx:
    • {{t|wikipedia}}{{wikipedia}}
  2. With more than one parameter (up to five, total, including the template name), it works basically like Wikipedia:Template:Tlx, except, again, without the link and also without the sister-project or language features of that template:
    • {{t|wikipedia|''Article title''}}{{wikipedia|Article title}}
    • {{t|wikipedia|''Article title''|''Display title''}}{{wikipedia|Article title|Display title}}
    • {{t|wikipedia|James Bernoulli|Jakob Bernoulli}}{{wikipedia|James Bernoulli|Jakob Bernoulli}}
Mnemonic
The name "t" is short for "template".
See also
  • Template:Tl ("template with link") — version that links the template name

The above Template documentation is transcluded from Template:T/doc. (edit | history)
Editors can experiment in this template’s sandbox (create) and testcases (create) pages
Please add categories and interwikis to the /doc subpage.
Subpages of this template
Advertisement