Template talk:T
From Meta, a Wikimedia project coordination wiki
[edit] Documentation
[edit] Wikitext
This Template:T (talk, backlinks, edit) contains (apart from the noinclude part):
start-{{{1|pqr}}}-end
[edit] Purpose
Demo template with one numbered parameter with default value.
[edit] Usage
{{T
}}
or
{{T
|data
}}
[edit] Examples
| 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 |
[edit] Substitution
- {{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.
[edit] See also
[edit] History
- Created
- Patrick 22:23, 19 August 2004 (UTC)
- Documentation added
- Patrick 11:35, 10 December 2005 (UTC)
Contents |
[edit] Discussion
[edit] Noinclude inclusion problem...
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)

