テンプレート:Otheruses/doc

提供: iTchan Wiki
移動先: 案内検索

{{

 #ifeq: doc | doc
 | 

{{

   #ifeq: show | show
   | {{#ifeq:|yes

|

{{#ifeq:{{#if: | {{{smallimage}}} | }}|none | | }}

{{#if:{{#if: | {{{smallimageright}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none

 | 
| }} | {{#if:{{#if: | {{{smallimageright-file}}} | }}| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=notice" parameter and needs fixing.

}}

|

{{#ifeq:|none | | }}

{{#if: | {{#ifeq:|none

 | 
| }} | {{#if:| }}

}}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=notice" parameter and needs fixing.

}} }}

   | 
 }}
 |

}}{{

 #ifeq: doc | doc
 | {{
   #ifeq: テンプレート | テンプレート
   |
   }}

}} 項目名にその他の用法や曖昧さ回避ページがある場合、パラメータの指定方法によって柔軟な使い方のできるテンプレートです。

使い方

他の項目への誘導

{{Otheruses|hoge|a|A}}

曖昧さ回避ページへの誘導

{{Otheruses|hoge|その他|項目名 (曖昧さ回避)}}

{{Otheruses|hoge|その他}}

{{Otheruses|hoge}}

使い方(応用編)

複数項目への誘導(現在は6項目まで対応)

{{Otheruses|hoge|a|A|b|B|c|C|d|D|e|E|f|F}}

説明の省略

冒頭部の説明は省くことができます。1番目のパラメータを空欄にしてください。
{{Otheruses||abc}}

{{Otheruses}}

異なる名前の曖昧さ回避ページへの誘導

誘導したい曖昧さ回避ページ名が本項目と異なる場合、「その他」の次にパラメータを追加することで任意のページを指定できます。
{{Otheruses|hoge|その他|こうもく名}}

その他の用例の主要項目と同名の曖昧さ回避ページの併用

{{Otheruses|hoge|a|A|その他}}

不要な場合

記事名が「項目名 (分野A)」という形式の場合、「項目名」、「項目名 (分野B)」、「項目名 (曖昧さ回避)」などへの案内としては、このテンプレートは原則貼る必要がありません。これらの記事への内部リンクを記事内に記載する場合は関連項目の節におくなど記事本文中への記載を検討してください。

パラメータ

上記参照

カテゴリ

このテンプレートが貼り付けられたページに適用するカテゴリはありません

TemplateData

<TemplateData> {

       "description": "項目名にその他の用法や曖昧さ回避ページがある場合、パラメータの指定方法によって柔軟な使い方のできるテンプレートです。すべての引数を省略することも可能です。",
       "params": {
               "1": {
                       "label": "説明",
                       "description": "本記事名についての説明です。",
                       "type": "string",
                       "required": false
               },
               "2": {
                       "label": "説明 (1)",
                       "description": "「誘導先 (1)」の説明。「誘導先 (1)」が有るときには必須。",
                       "type": "string",
                       "required": false
               },
               "3": {
                       "label": "誘導先 (1)",
                       "description": "誘導先のページ名。省略すると「本記事名 (曖昧さ回避)」",
                       "type": "string",
                       "required": false
               }
       }

} </TemplateData>

類似のテンプレート

ひとつの説明に対して該当するページが2つ以上あるときにのみ用いることができる特別形。
Otherusesを箇条書きで列挙。
標準名前空間以外のWikipedia内のページヘのリンク。文面は個人で書くことになります。
語義へのリンクはこちらを用いてください。ウィクショナリーの該当ページヘリンクします。
これらで機能不足であるときのみ最終手段として用いてください。

関連項目