« Modèle:Infobox trait » : différence entre les versions
mAucun résumé des modifications |
m Remplacement de la catégorie Catégorie:Modèles Infobox par Catégorie:Modèle Infobox : Mise au singulier Balise : CatRename |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
<onlyinclude><includeonly | <onlyinclude><includeonly>{{#invoke:Infobox|build|nom=Trait}}</includeonly></onlyinclude> | ||
{{Documentation}} | |||
[[Catégorie:Modèle Infobox|Trait]] | |||
| | |||
| | |||
{{ | |||
[[Catégorie: |
Dernière version du 8 février 2022 à 14:47
Infobox template for traits.
Based on {{Infobox}}.
Usage[modifier le wikicode]
Place the following at the top of the article, below any page management templates:
{{Infobox trait <!-- insert parameters --> }}
Parameters[modifier le wikicode]
Specific parameters[modifier le wikicode]
Base ID of this trait in the corresponding games
(Fallout 3 and Fallout: New Vegas only).
What benefits/positive effects the trait has in the corresponding games
. Be brief, details can be put in article text. Once you have specified a set of games
, the corresponding benefits
parameter becomes mandatory.
Abbreviation(s) for Fallout games this trait appears in. For accepted abbreviations please see {{abb}}. Multiple abbreviations can be specified if separated by commas (,
).
What penalties/negative effects the trait has in the corresponding games
. Be brief, details can be put in article text. Once you have specified a set of games
, the corresponding penalties
parameter becomes mandatory.
Requirements for this trait in the corresponding games
.
General infobox parameters[modifier le wikicode]
Contenu de la dernière rangée de l'infobox.
Nom du fichier de l'icône (sans le préfixe « Fichier: »), c'est-à-dire une petite image disposée en haut à droite de la zone de l'image principale.
Position de icône
en pixels, l'icône est déplacé « vers le haut » par la quantité de pixels spécifié. La valeur maximale est « taille icône
- hauteur spécifiée + 5 ».
Nom de fichier de(s) image(s) (sans le préfixe "Fichier:") à disposer en dessous de l'en-tête principal de l'infobox.
Description de la zone image
, disposée sous le(s) image(s).
Largeur de l'image
correspondante en pixels (e.g. "260px").
Largeur de l'image
correspondante en pixels (e.g. "260px").
Titre principale de l'infobox. Par défaut, il s'agit du nom de la page courante sans les suffixes d'homonymie (les termes entres parenthèses à la fin).
Texte en petits caractères sous nom de l'infobox.
Example[modifier le wikicode]
{{Infobox trait |image =NightPerson.gif |games1 =FO1, FOT |bonus1 =+1 [[Intelligence]] and [[Perception]] from 6:01 PM to 6:00 AM |malus =-1 [[Intelligence]] and [[Perception]] from 6:01 AM to 6:00 PM |games2 =JES |bonus2 =+2 to all skill checks from 6:01 PM to 6:00 AM |malus2 =-2 to all skill checks from 6:01 AM to 6:00 PM }}
Copy/paste[modifier le wikicode]
{{Infobox trait |image = |games1 = |bonus1 = |malus1 = |requiert1 = |games2 = |bonus2 = |malus2 = |requiert2 = |games3 = |bonus3 = |malus3 = |requiert3 = |games4 = |bonus4 = |malus4 = |requiert4 = |games5 = |bonus5 = |malus5 = |requiert5 = }}