Difference between revisions of "Template:Tls/doc"
m (1 revision) |
(No difference)
|
Latest revision as of 12:31, 14 June 2012
{{#ifeq: doc | doc
|
{{
#ifeq: show | show
| {{
{{#switch:
{{#if:
|
| {{#if:
|
{{#ifeq:|
| talk
|
}}
|
{{#ifeq:template|template talk
| talk
| template
}}
}}
}}
| main | = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | book = ombox | other | #default = ombox
}}
| type = notice
| image = 40px
| imageright =
| class =
| style =
| textstyle =
| text = This is a documentation subpage for Template:Tls.
It contains usage information, categories, interlanguage links and other content that is not part of the original {{ #if: | {{{text2}}} | {{ #if: | {{{text1}}} | {{ #ifeq: Template | User | template template page | {{ #if: Template |template page|article}}}}}}}}.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
}}
}}{{
#if:
|
| {{#ifexist:Template:Tls|[[Category:{{
#switch: Template
| Template = Template
| User = User
| #default = Wikipedia
}} documentation pages]]|}}
}}
| }} {{Tls/doc}} is a variant of {{Tl}} for templates which should be substituted.
Usage
{{Tls|template name}}
Example
| Code | Result |
|---|---|
| subst:}}Tls{{#if:x4|
|x4 }}{{#if:| |{{{3}}} }}{{#if:| |{{{4}}} }}{{#if:| |{{{5}}} }}{{#if:| |{{{6}}} }}{{#if:| |{{{7}}} }}{{#if:| |{{{8}}} }}{{#if:| |{{{9}}} }}{{#if:| |{{{10}}} }}{{#if:| |{{{11}}} }}{{#if:| |... }}}} |
{{subst:x4}} |
See also
- Template:Subst (edit talk links history): {{{{#if:subst
| subst | tlp|... }}{{#ifeq:foo|foo| |foo }}{{#ifeq:x|| |{{{3}}} }}{{#ifeq:x|| |{{{4}}} }}{{#ifeq:x|| |{{{5}}} }}{{#ifeq:x|| |{{{6}}} }}{{#ifeq:x|| |{{{7}}} }}{{#ifeq:x|| |{{{8}}} }}{{#ifeq:x|| |{{{9}}} }}}} prints {{subst:foo}}, without linking.
- Template:Tls (edit talk links history) this template
- Template:Tl (edit talk links history) unsubstituted version
- Template:Tlx (edit talk links history) with parameters, monospace font
- Template:Tlsp (edit talk links history) substituted version, with parameters
- Template:Tlsu (edit talk links history) for outside of the Template space, substituted, monospace font
- Template:Tlsx (edit talk links history) substituted version, with parameters, monospace font
- Template:Tlu (edit talk links history) for outside of the Template space, unsubstituted, monospace font
- Category:Internal link templates