Template:T/doc: Difference between revisions

From NPOWiki
Jump to navigation Jump to search
(create)
 
(cats)
Line 11: Line 11:
*<code><nowiki>{{t|CN|Lord of Darkness}}</nowiki></code> produces: {{t|CN|Lord of Darkness}}
*<code><nowiki>{{t|CN|Lord of Darkness}}</nowiki></code> produces: {{t|CN|Lord of Darkness}}
*<code><nowiki>{{t|gamepage|2=game=Cyber Nations}}</nowiki></code> produces: {{t|gamepage|2=game=Cyber Nations}}
*<code><nowiki>{{t|gamepage|2=game=Cyber Nations}}</nowiki></code> produces: {{t|gamepage|2=game=Cyber Nations}}
<includeonly>[[Category:Formatting templates]][[Category:Internal link templates]]</includeonly>

Revision as of 10:39, 31 July 2020

This page contains the documentation for Template:T. It includes information about the template, such as usage and categories, and is not displayed when using the template itself.

This template is used to link to a template while displaying the wikitext syntax.

Parameters

  • First unnamed parameter: the template name. As with page names, the first character is not case sensitive.
  • Second through fifth unnamed parameters: additional parameter values to display. To display a named parameter, you must "name" the number of the unnamed parameter you are using.

Examples

  • {{t|!}} produces: {{!}}
  • {{t|CN|Lord of Darkness}} produces: {{CN|Lord of Darkness}}
  • {{t|gamepage|2=game=Cyber Nations}} produces: {{gamepage|game=Cyber Nations}}