Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tl2/doc: Difference between revisions

Template page
Created page with '{{Documentation subpage}} This is the {{tl2|tl2}} template. ---- Same as {{tl|tl}} except adds <nowiki><code></code></nowiki> around it and allows for one or tw...'
 
Add {{tsh}}
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Stack
|{{Uses TemplateStyles|Template:Nowrap/styles.css}}
|{{tsh|tlsister}}
}}
{{TemplateBox
| name = tl2
| desc-en =
This is the {{tl2|tl2}} template.
This is the {{tl2|tl2}} template.
----
----
Same as {{tl|tl}} except adds <nowiki><code></code></nowiki> around it and allows for one or two parameters.
{{nobold|1=
Same as {{tl|tl}} except adds <syntaxhighlight inline lang="html"><code class="nowrap">...</code></syntaxhighlight> around it and allows for one or two parameters.
}}


| namespace = all
| usergroup = all
| seealso =
'''Comparison:'''
'''Comparison:'''
* <nowiki>{{</nowiki>tl|template}} → {{tl|template}}
* {{tlx|tl|template}} → {{tl|template}}
* <nowiki>{{</nowiki>tl2|template}} → {{tl2|template}}
* {{tlx|tl2|template}} → {{tl2|template}}


'''Comparison 2:'''
'''Comparison 2:'''
* <nowiki>{{</nowiki>tl|template|arg1|arg2}} → {{tl|template|arg1|arg2}}
* {{tlx|tl|template|arg1|arg2}} → {{tl|template|arg1|arg2}}
* <nowiki>{{</nowiki>tl2|template|arg1|arg2}} → {{tl2|template|arg1|arg2}}
* {{tlx|tl2|template|arg1|arg2}} → {{tl2|template|arg1|arg2}}
 
{{Tl-nav}}
 
| i18n-method = -
 
| print = line
| useTemplateData = only
| desc-td-en = Template link with parameters and interwiki
 
| 1 = 1
| 1label-en = Template
| 1d-en = Linked template name
| 1stat = required
| 1type = wiki-template-name
 
| 2 = 2
| 2label-en = Parameter 1
| 2d-en = First parameter value
| 2stat = optional
| 2type = string
 
| 3 = 3
| 3label-en = Parameter 2
| 3d-en = Second parameter value
| 3stat = optional
| 3type = string
 
| 6 = nowrap
| 6label-en = Nowrap?
| 6d-en = Whether to add “{{^(}}span style="white-space: nowrap"{{)^}}”
| 6def  = 1
| 6av  = 0
| 6stat = optional-
| 6type = boolean
 
| 4 = sister
| 4aliases  = SISTER
| 4label-en = Interwiki Prefix
| 4d-en = The interwiki prefix (see: “Special:Interwiki” for a list of valid prefixes)
| 4stat = optional-
| 4type = string


{{Commons:Link templates/Template links}}
| 5 = lang
<includeonly>
| 5aliases  = LANG
[[Category:Internal link templates]]
| 5label-en = Interlanguage Prefix
</includeonly>
| 5d-en = The interwiki language prefix (see: “Special:Interwiki” for a list of valid prefixes)
| 5stat = optional-
| 5type = string
}}
<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Internal template-link templates]]
}}</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.