除非另有声明,本网站内容采用 CC BY-NC-SA 3.0 授权。转载时请注明出处,禁止商用。
本网站是《逃离塔科夫》官方 Wiki 的镜像网站,由无人值守的机器人同步,与Battlestate Games和Fandom没有从属关系。
如您有任何建议,或是想要帮助建设此 Wiki ,请访问反馈中心
模板:Navbox/doc/standard
This is a documentation page
This is a navbox, a grouping of links used in multiple related articles to facilitate navigation between those articles.
Based on {{Navbox}}
.
Usage
Insert the following at the bottom of the article to display the navbox:
{{<navbox title>}}
The most frequently used parameters for editing the navbox are listed below. For full documentation, please see {{Navbox}}
.
This parameter should always be set to {{{1|}}} (see the example under "Usage"). It allows the layout of the navbox to be changed so it fits inside another navbox, if the parameter is set to "nested" from within the other navbox.
Content of block cells. blockA
appears left of the groupA
parameters and so forth. If no group
or content
fields in this block have been specified, the block is not displayed either.
Lists of links. Make sure that links point directly to the intended pages (i.e. not to redirects) so the current page is properly marked in the template. It is recommended to sort links in each cell alphabetically for reader convenience.
For standard (horizontal) rows, separate individual links with {{dot}}
. For columns, use unnumbered lists (inserted with *
).
The name of the template page; used to generate the "view"/"edit"/"discuss" links. You can use {{subst:PAGENAME}} when creating the template. If no editlink is specified, the "view"/"edit"/"discuss" links will not be displayed.
Text of the footer, i.e. a row at the very bottom of the navbox.
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.
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.
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.
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".
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.
The title or caption of the navbox.