Template:Tl: Difference between revisions
Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{[[Template:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|{{!}}{{{2}}}}}}}<noinclude> |
|||
{{{{FULLPAGENAME}}/doc}} |
|||
{{Protected template}} |
|||
<!-- 請在將分類與跨語言連結增加在 /doc 子頁面 --> |
|||
[[Category:鏈接模板|Tl]] |
|||
[[az:Şablon:ŞK]] |
|||
[[bg:Шаблон:Ш]] |
|||
[[ca:Plantilla:Tl]] |
|||
[[cs:Šablona:Šablona]] |
|||
[[en:Template:Tl]] |
|||
[[eo:Ŝablono:Ŝ]] |
|||
[[es:Plantilla:Template link]] |
|||
[[fa:الگو:الگوی]] |
|||
[[fi:Malline:Malline]] |
|||
[[fr:Modèle:M]] |
|||
[[he:תבנית:תב]] |
|||
[[ka:თარგი:Tl]] |
|||
[[ko:틀:Tl]] |
|||
[[kw:Template:Viz]] |
|||
[[pl:Szablon:S]] |
|||
[[pt:Predefinição:Link para predefinição]] |
|||
[[ru:Шаблон:Tl]] |
|||
[[sl:Predloga:Tl]] |
|||
[[sv:Mall:Mall]] |
|||
[[th:แม่แบบ:Tl]] |
|||
[[uk:Шаблон:Tl]] |
|||
[[vi:Tiêu bản:Tl]] |
|||
[[zh-yue:Template:Tl]] |
|||
</noinclude> |
</noinclude> |
Revision as of 20:27, 11 March 2007
{{[[Template:{{{1}}}|{{{1}}}]]}}
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
TemplateData for Template link
This template is used for displaying a bracketed link to a template page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
template | 1 | The template to link to | Template | required |
interwiki prefix | 2 | Interwiki prefix, when linking to non-Meta templates
| Line | optional |
Usage
"{{tl|abc}}"
gives "{{abc}}" [1]"{{tl|abc|w}}"
gives "{{abc|w}}" [2] (link to Wikipedia)"{{tim|abc}}"
gives "Template:Abc" [3]
See also
Template linking templates
Text style ↓ | {{tlg}} options[note 1]to achieve text style |
Link Style | ||
---|---|---|---|---|
Linked | Unlinked | Linked with subst: | ||
{{tlg}} options[note 1]to achieve link style |
N/A | DEFAULT | nolink=yes
|
subst=yes
|
Normal | DEFAULT |
|
|
|
code
|
code=yes
|
|
N/A | |
monospace | plaincode=yes |
N/A | ||
kbd | kbd=yes | |||
bold | bold=yes
|
|
N/A |
- ↑ a b c
{{tlg}}
is the most general template, allowing any combination of text style and/or link style options. - ↑ Allows links to templates in any namespace.
- ↑ a b Prevents wrapping of text by placing it inside
<span class="nowrap">...</span>
tags. - ↑
{{tlg|plaincode=yes}}
uses<code style="border:none; background-color:transparent;">...</code>
. - ↑ a b c Displays monospaced font using
<span style="font-family:monospace;">...</span>
.