Template talk:T

Active discussions

DocumentationEdit

WikitextEdit

This Template:T (talk, backlinks, edit) contains (apart from the noinclude part):


start-{{{1|pqr}}}-end


PurposeEdit

Demo template with one numbered parameter with default value.

UsageEdit

{{T
}}
or
{{T
  |data
}}


ExamplesEdit

Code Result
{{T}}
start-pqr-end
{{T|}}
start--end
{{T|abc}}
start-abc-end
{{T|abc|def}}
start-abc-end
{{T|1=abc|1=def}}
start-def-end
{{T|abc|1=def}}
start-def-end
{{T|1=abc|def}}
start-def-end
{{T|{{T}}}}
start-start-pqr-end-end
{{T|{{T|{{T}}}}}}
start-start-start-pqr-end-end-end
{{T|{{T|{{T|{{T}}}}}}}}
start-start-start-start-pqr-end-end-end-end
{{T|a{{t|b}}}}
start-astart-b-end-end
{{T|{{T|a=b}}}}
start-start-pqr-end-end
{{T|a=b}}
start-pqr-end
{{T|1=a=b}}
start-a=b-end

SubstitutionEdit

  • {{subst:t}} gives the wikitext <!--t-->start-{{{1|pqr}}}-end rendering as start-pqr-end
  • {{subst:t|abc}} gives the wikitext <!--t-->start-abc-end rendering as start-abc-end.

Note that the comment shows the name of the template with which the wikitext was produced.

See alsoEdit

HistoryEdit

Created
Patrick 22:23, 19 August 2004 (UTC)
Documentation added
Patrick 11:35, 10 December 2005 (UTC)

DiscussionEdit

Noinclude inclusion problem...Edit

The long "noinclude" section ends up included on the Help:Advanced templates page, via the {{timc}} template. If it's not essential there -- and I'd think it's not, given the talk page documentation -- I'd suggest removing it, for the sakes of clarity of said piece of documentation. Unless, of course, there's come other way of fixing this up... Alai 23:39, 30 May 2006 (UTC)

I changed it to Template:Tim.--Patrick 23:55, 30 May 2006 (UTC)
Return to "T" page.