Jump to content

Template talk:T

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 18 years ago by Patrick in topic Noinclude inclusion problem...

Documentation

[edit]

Wikitext

[edit]

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


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


Purpose

[edit]

Demo template with one numbered parameter with default value.

Usage

[edit]
{{T
}}
or
{{T
  |data
}}


Examples

[edit]
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

Substitution

[edit]
  • {{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 also

[edit]

History

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

Discussion

[edit]

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)Reply

I changed it to Template:Tim.--Patrick 23:55, 30 May 2006 (UTC)Reply