Template:Tl
(([[Template:(({1))}|(({1))}]]))
このテンプレートは165,000以上のページで使われています。 余計な混乱やサーバーへの負荷を避けるために、どんな変更でも最初はテンプレートのサンドボックス・サブページ、テストケース・サブページもしくはあなた自身の利用者スペースのページで試すべきです。そうすれば、試した変更を1度の編集でこのテンプレートに加えることができます。しかし、最初にあなたの提案した変更を、この項目のノートで議論するようにお願いします。 |
テンプレートへのリンクを作るテンプレート。いくつかあるテンプレートへのリンク支援テンプレートのうち、最も基本的なもの。なお、Template link の略なので、TI
(ティーアイ)でなく Tl
(ティーエル)。
使い方
((Tl|テンプレート名))
注:
- テンプレート名には「
Template:
」は不要です。
使用例
Template:コメント依頼にリンクを貼る例。
((Tl|コメント依頼))
((コメント依頼))
類似テンプレート一覧
入力 | 出力 | 備考 |
---|---|---|
((tl|Main)) |
((Main)) | テンプレートへの引数は書けない。姉妹プロジェクトや他言語版へのリンクを書くには((tl2)) 。
|
((tlp|Main|引数)) |
((Main|引数)) | テンプレートへの引数は最大8個。 |
((tlf|Main|引数)) |
((Main|引数)) | リンクなし。((tlc)) は内部を<code>...</code> で表示します。
|
((tls|Sakujo)) |
((subst:Sakujo)) | subst展開しなければいけないページ用。引数は8個まで。 |
((tn|Main|引数)) |
{{Main}} | 内側の括弧もリンク。名前・表示される文字列が短いテンプレートの場合はクリックが容易になります。 |
((tlx|Main|abc|lang=:en:)) |
((Main|abc)) |
code 表示。他言語版にもリンクできます。subst展開も可能。((tlx2)) はcode にはしません。
|
リンクのスタイル((tlg)) のオプション
|
通常 | リンク無し | subst: | 内括弧までリンク | 別名リンク | |
---|---|---|---|---|---|---|
テキストのスタイル((tlg)) のオプション
|
-- | nolink=yes
|
subst=yes
|
braceinside=yes
|
alttext=別名
| |
普通 | -- | ((tlg)) ((tl)) ((tlp)) ((Template:tlu)) ((Template:tlpu)) ((tlx2)) |
((tlf)) (リンク) |
((subst:tls)) ((subst:Template:tlsu)) |
{{tn}} | ((tla)) |
code
|
code=yes
|
((tl2)) ((tlx)) |
((tlc)) (リンク) |
((subst:tlxs)) |
||
強調 | bold=yes
|
((tlb)) | ||||
code+強調
|
bold=yes|code=yes
|
((tlxb)) (en) |
||||
code+斜体
|
italic=yes|code=yes
|
((tlxi)) (en) |
((tlg))
は最も汎用的で、上記の任意の組合せが可能です。- 関連テンプレート
- ((Lts))は、ノートページで使います。
((Lts|要出典))
と書くと、Template:要出典(編集 / ノート / リンク元 / 履歴 / ログ)と表示されます。 - ((para))は、引数の解説を書くために使えます。
- ((tag))は、HTMLタグ(
<ref>...</ref>
などを含む)を例示するためのテンプレートです。
その他
記載 | 出力 | 解説 |
---|---|---|
((Tj |Hatnote|Some text|selfref: yes|category: no|lang: fr))
|
Template:Template journal; 複数行展開でのシンタックスカラー付き解説 | |
((Tji|Hatnote|Some text|selfref: yes|category: no|lang: fr))
|
((Hatnote |
Template:Template journal inline; インラインでのシンタックスカラー付き解説 |
関連項目
説明はありません。
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
リンク先テンプレート | 1 | 説明なし
| テンプレート | 必須 |
Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.