Modèle:Article de jeu/doc
Template for linking gameplay articles from an overview article about a type of item. Automatically generates links based on the abbreviations specified.
Based on {{Hatnote}}.
Usage
{{articlejeu|abréviation jeu 1|abréviation jeu 2}}
Parameters
Game abbreviations (e.g. "FO2"). See {{abb}} for valid abbreviations.
By default, the template generates links to subpages based on the name of the page it is used in. If the gameplay articles have a different naming than the overview page, you can use this parameter to specify the differing "base" name.
For example, if the template is used on a page called "Laser Pistol", the links it generates will be of the format "Laser Pistol (Fallout)" (etc). If you set link
to "Laser Gun", the links will have the format "Laser Gun (Fallout)".
Allows you to set the target page for the corresponding unnamed parameter directly. This overrides the default behaviour of appending game names in brackets to the current pagename or the pagename set by link
.
If set to "mentioned", no links will be generated. Instead the template will display that there are no appearances of this item and list the games it is mentioned in (if any).
Examples
Standard
{{Articlejeu|FO1|FO3|FOBOS}}
results in (hover mouse over the links to see the target page): Modèle:Articlejeu
With "link"
{{Articlejeu|link=Laser Pistol|FO1|FO3|FOBOS}}
results in (hover mouse over the links to see the target page): Modèle:Articlejeu
With "link#"
{{Articlejeu|FO1|FO3|FOBOS|link2=Laser Pistol}}
results in (hover mouse over the links to see the target page): Modèle:Articlejeu
With "type"
{{Articlejeu|type=mentioned|FO1|FO3|FOBOS}}
results in: Modèle:Articlejeu
Technique
- Modèle auxiliaire : {{Abb}}
Source
- Importé de The Vault : Template:Gamearticle