模板:Tla
外观
Usage
This template works exactly like {{Tl}} but it allows you to give display different text than you are linking to.
So, this: {{Tla|quote|link to quote template}}
Produces this:
I created this template for help with linking to these templates: {{NASA Astronaut Group 1}}, so I could link to them by displaying only their numbers.
See also
连结形式 → | 含有连结 | 不含连结 | 含有连结并添加subst | 含有连结,连结包含括号 | 含有连结,显示其他文字 | 第一个| 替换成:
| |
---|---|---|---|---|---|---|---|
文字样式 ↓ | {{tlg}} 选项1
|
— | nolink=yes
|
subst=yes
|
braceinside=yes
|
alttext=FOO
|
不适用 |
正常 | — | {{tl}} · {{tlp}} 2 · {{tlg}} 1, 2
|
{{tlf}} 2 · {{tnull}}
|
{{tls}} · {{tlsp}}
|
{{tn}}
|
{{tla}}
|
{{tlm}} 3
|
代碼 code
|
code=yes ortt=yes
|
{{tlx}}
|
{{tlc}} 2 · {{tld}}
|
{{tlxs}}
|
{{tlxm}} 3
| ||
代码 syntaxhighlight
|
不适用 | {{tlsh}}
|
{{tlshm}}
| ||||
粗体 | bold=yes
|
{{tlb}}
|
|||||
粗體代碼 code
|
bold=yes|code=yes
|
{{tlxb}}
| |||||
斜體代碼 code
|
italic=yes|code=yes
|
{{tlxi}}
|
注释:1.
{{tlg}}
是功能最齐全的模板,可选用任何配搭的文字样式、连结形式。2. 用<span class="nowrap">...</span>
标签将文字包围,防止断行。
- 各显示样式的比较
{{tlf|Milford Haven Line|弘安源氏論議}}
→ {{Milford Haven Line|弘安源氏论议}}{{tld|Milford Haven Line|弘安源氏論議}}
→{{Milford Haven Line|弘安源氏論議}}
{{tlc|Milford Haven Line|弘安源氏論議}}
→{{Milford Haven Line|弘安源氏论议}}
- 添加参数
{{para|name|{{var|value}}}}
→|name=value
{{para|name|{{varserif|value}}}}
→|name=value
{{tlx|Milford Haven Line|參數1{{=}}賦值1}}
→{{Milford Haven Line|參數1=賦值1}}