Template: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}}