Modèle:Palette guide de l'utilisateur

De Les Archives de Vault-Tec
Sauter à la navigation Sauter à la recherche
16 The Wasteland Survival Guide.png
Documentation du modèle (pour le modèle ci-dessus, parfois caché ou invisible)

Les palette sont des tableaux placés en fin d'article regroupant des liens en rapport avec l'article.

Basé sur le méta-modèle {{Palette}}.

Utilisation[modifier le wikicode]

Placer une palette dans un article[modifier le wikicode]

Insérez simplement cette ligne à la fin d'un article :

{{Palette guide de l'utilisateur}}

Éditer la palette[modifier le wikicode]

The most frequently used parameters for editing the navbox are listed below. For full documentation, please see {{Palette}}.

RequiertIcon required.png
<unnamed 1>

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.

OptionnelIcon optional.png
blockA à blockH

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.

OptionnelIcon optional.png
contentA1 à contentH8

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 *).

Sometimes required or at least one requiredIcon semi-required.png

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.

OptionnelIcon optional.png

Text of the footer, i.e. a row at the very bottom of the navbox.

OptionnelIcon optional.png
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.

OptionnelIcon optional.png
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.

OptionnelIcon optional.png
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.

OptionnelIcon optional.png

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".
OptionnelIcon optional.png
(default: "bottom")

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.
RequiertIcon required.png

The title or caption of the navbox.

Source[modifier le wikicode]

  • Le modèle et sa page de documentation sont issus du Wikipédia The Vault. Vous pouvez les retrouver en suivant ce lien.
Documentation transclues de Modèle:Palette/doc/standard.