Fallout Wiki
登録
Advertisement
Antagonists
テンプレートドキュメンテーション (上に表示されるテンプレートは、隠れるか不可視になることがあります)

これは、複数の関連記事で使用されているリンクをグループ化して、それらの記事間のナビゲーションを容易にするNavboxと呼ばれるテンプレートです。


{{Navbox}}を基に作成されています。

使用方法[]

Navboxを表示させる[]

Navboxを表示させるためには、下記の一文をページ最下部に挿入してください:

{{Navbox antagonists}}

Navboxを編集する[]

Navboxを編集する際に、最も頻繁に使用されるパラメータを以下に示します。 詳しくは、{{Navbox}}をご覧ください。

Required
<unnamed 1>
このパラメータは常に{{{1 |}}}に設定する必要があります(「使用法」の例を参照)。パラメータが他のnavbox内から「ネスト」に設定されている場合、別のnavboxの内部に収まるように、navboxのレイアウトを変更することができます。
Optional
blockA - blockH
ブロックセルの内容。 blockAgroupAパラメータの左に表示されます。 このブロックにgroupまたはcontentフィールドが指定されていない場合は、ブロックも表示されません。
Optional
contentA1 - contentH8
リンクの一覧。 リンクが意図したページを直接指している(つまり、リダイレクトしない)ようにして、現在のページがテンプレートに正しくマークされるようにしてください。 読者が読みやすくするよう、アルファベット順に各セルのリンクをソートすることをお勧めします。 標準(水平)行の場合は、{{dot}}で個々のリンクを区切ってください。縦列の場合は、番号なしリスト*が挿入)を使用してください。
Sometimes required or at least one required
editlink
テンプレートページの名前。 「表示」/「編集」/「トーク」リンクの生成に使用されます。 テンプレートの作成時に{{subst:PAGENAME}}を使用することができます。 editlinkが指定されていない場合、「表示」/「編集」/「トーク」リンクは表示されません。
Optional
footer
フッターのテキスト、つまり、ナビゲーションボックスの一番下にある行。
Optional
groupA1 - groupH8
Content of group cells. groupA1 appears to the left of contentA1 (or above it when in column mode) and so forth. If a group field has been specified, the corresponding content becomes mandatory. For example, if groupD3 has been set, you need to set contentD3 as well.
Optional
headerA - headerH
Content of header rows. headerA appears above contentA1, headerB appears above contentB1 and so forth. If the block is collapsible, this becomes mandatory as it is the text which remains visible when collapsed.
Optional
image, imageleft
Allows to specify images which should be displayed to the right (image) or left (imageleft) of the whole navbox content. Simply enter the file name without "File:". If the blocks in the navbox are collapsible, these images will remain visible even if all blocks are collapsed (but will not be visible if the navbox itself is collapsed). Be careful not to make the images too large or you risk visual oddities.
Optional
options
This parameter allows to specify options which apply to the navbox itself or all blocks inside. Multiple options can be specified at once; simply separate them with commas (,).

Commonly used choices:

  • collapsiblegroups: This makes all blocks within the navbox collapsible and collapsed on page load. Can be overriden for individual blocks by setting the block-specific option parameter (see below) to "uncollapsed".
  • columns: This turns all blocks into column-type blocks, i.e. blocks where the links are listed from top to bottom instead of from left to right.
  • uncollapsedgroups: This makes all block within the navbox collapsible and uncollapsed on page load. Can be overriden for individual blocks by setting the block-specific option parameter (see below) to "collapsed".
Optional
(デフォルト: "bottom")
position
Intended positioning of the navbox in article pages. Also influences default width and collapse behaviour.

Available options:

  • bottom: The navbox is supposed to be put at the end of articles; full width, collapses.
  • left: The navbox is supposed to be put on the left side of articles with text flowing around it; thin navbox, not collapsible.
  • right: The navbox is supposed to be put on the right side of articles with text flowing around it; thin navbox, not collapsible.
Required
title
Navboxのタイトルまたはキャプション。
Template:Navbox/doc/standard からトランスクルードされたドキュメンテーション。
Advertisement