« Modèle:Infobox réputation » : différence entre les versions

De Les Archives de Vault-Tec
Kharmitch (discussion | contributions)
mAucun résumé des modifications
 
Kharmitch (discussion | contributions)
Utilisation des module Infobox et Infobox/Réputation
Balise : Contenu remplacé
Ligne 1 : Ligne 1 :
<onlyinclude><includeonly><!--
<onlyinclude><includeonly>{{#invoke:Infobox|build|nom=Réputation}}</includeonly></onlyinclude>
 
#################################
## SET VARIABLES              ##
#################################
 
-->{{#vardefine:ibreput-games1valid|{{abbvalid|{{{jeux1|}}}}}}}<!--
-->{{#vardefine:ibreput-games2valid|{{abbvalid|{{{jeux2|}}}}}}}<!--
-->{{#vardefine:ibreput-games3valid|{{abbvalid|{{{jeux3|}}}}}}}<!--
-->{{#vardefine:ibreput-games4valid|{{abbvalid|{{{jeux4|}}}}}}}<!--
-->{{#vardefine:ibreput-games5valid|{{abbvalid|{{{jeux5|}}}}}}}<!--
-->{{#vardefine:ibreput-games6valid|{{abbvalid|{{{jeux6|}}}}}}}<!--
-->{{#vardefine:ibreput-games7valid|{{abbvalid|{{{jeux7|}}}}}}}<!--
-->{{#vardefine:ibreput-games8valid|{{abbvalid|{{{jeux8|}}}}}}}<!--
 
#################################
## DISPLAY INFOBOX            ##
#################################
 
-->{{Infobox
|games              =
|title              ={{{nom|}}}
|subtitle          ={{{sous-titre|}}}
|supertitle        =réputation
|supertitle link    =réputation
|icon              ={{{icône|}}}
|icon offset        ={{{position icône|}}}
|main image1        ={{{image|}}}
|main image1 size  ={{{taille image|}}}
|main image2        ={{{image2|}}}
|main image2 size  ={{{taille image2|}}}
|main image3        ={{{image3|}}}
|main image3 size  ={{{taille image3|}}}
|main image4        ={{{image4|}}}
|main image4 size  ={{{taille image4|}}}
|main image5        ={{{image5|}}}
|main image5 size  ={{{taille image5|}}}
|main image desc    ={{{image desc|}}}
|main image columns =3
|size main images  =x200px
|footer            ={{{pied|}}}
 
|cond1              ={{#var:ibreput-games1valid}}
|group1            ={{abblink|link=réputations|sep=,&#032;|{{{jeux1|}}}}}
|cond2              ={{#var:ibreput-games1valid}}
|label2-1          =obtention
|content2-2        ={{{conditions1|}}}
|cond3              ={{#var:ibreput-games1valid}}
|label3-1          =effets
|content3-2        ={{{effets1|}}}
 
|cond4              ={{#var:ibreput-games2valid}}
|group4            ={{abblink|link=réputations|sep=,&#032;|{{{jeux2|}}}}}
|cond5              ={{#var:ibreput-games2valid}}
|label5-1          =obtention
|content5-2        ={{{conditions2|}}}
|cond6              ={{#var:ibreput-games2valid}}
|label6-1          =effets
|content6-2        ={{{effets2|}}}
 
|cond7              ={{#var:ibreput-games3valid}}
|group7            ={{abblink|link=réputations|sep=,&#032;|{{{jeux3|}}}}}
|cond8              ={{#var:ibreput-games3valid}}
|label8-1          =obtention
|content8-2        ={{{conditions3|}}}
|cond9              ={{#var:ibreput-games3valid}}
|label9-1          =effets
|content9-2        ={{{effets3|}}}
 
|cond10            ={{#var:ibreput-games4valid}}
|group10            ={{abblink|link=réputations|sep=,&#032;|{{{jeux4|}}}}}
|cond11            ={{#var:ibreput-games4valid}}
|label11-1          =obtention
|content11-2        ={{{conditions4|}}}
|cond12            ={{#var:ibreput-games4valid}}
|label12-1          =effets
|content12-2        ={{{effets4|}}}
 
|cond13            ={{#var:ibreput-games5valid}}
|group13            ={{abblink|link=réputations|sep=,&#032;|{{{jeux5|}}}}}
|cond14            ={{#var:ibreput-games5valid}}
|label14-1          =obtention
|content14-2        ={{{conditions5|}}}
|cond15            ={{#var:ibreput-games5valid}}
|label15-1          =effets
|content15-2        ={{{effets5|}}}
 
|cond16            ={{#var:ibreput-games6valid}}
|group16            ={{abblink|link=réputations|sep=,&#032;|{{{jeux6|}}}}}
|cond17            ={{#var:ibreput-games6valid}}
|label17-1          =obtention
|content17-2        ={{{conditions6|}}}
|cond18            ={{#var:ibreput-games6valid}}
|label18-1          =effets
|content18-2        ={{{effets6|}}}
 
|cond19            ={{#var:ibreput-games7valid}}
|group19            ={{abblink|link=réputations|sep=,&#032;|{{{jeux7|}}}}}
|cond20            ={{#var:ibreput-games7valid}}
|label20-1          =obtention
|content20-2        ={{{conditions7|}}}
|cond21            ={{#var:ibreput-games7valid}}
|label21-1          =effets
|content21-2        ={{{effets7|}}}
 
|cond22            ={{#var:ibreput-games8valid}}
|group22            ={{abblink|link=réputations|sep=,&#032;|{{{jeux8|}}}}}
|cond23            ={{#var:ibreput-games8valid}}
|label23-1          =obtention
|content23-2        ={{{conditions8|}}}
|cond24            ={{#var:ibreput-games8valid}}
|label24-1          =effets
|content24-2        ={{{effets8|}}}
 
}}<!--
 
--></includeonly></onlyinclude>
{{documentation}}
{{documentation}}
[[Catégorie:Modèles Infobox|Réputation]]
[[Catégorie:Modèles Infobox|Réputation]]

Version du 1 août 2021 à 17:13

Documentation du modèle (pour le modèle ci-dessus, parfois caché ou invisible)

Infobox template for reputations.

Based on {{Infobox}}.

Usage

Place the following at the top of the article, below any page management templates:

{{Infobox réputation
<!-- insert parameters -->
}}

Parameters

Specific parameters

effects1 à effects8

What effects the reputation 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 field becomes mandatory.

games1 à games8

Abbreviation(s) for Fallout games this reputation appears in. For accepted abbreviations please see {{abb}}. Multiple abbreviations can be specified if separated by commas (,).

requires1 à requires8

Requirements for this reputation in the corresponding games. Once you have specified a set of games, the corresponding requires field becomes mandatory.

General infobox parameters

pied

Contenu de la dernière rangée de l'infobox.

icône

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 icône

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 ».

image à image5

Nom de fichier de(s) image(s) (sans le préfixe "Fichier:") à disposer en dessous de l'en-tête principal de l'infobox.

image desc

Description de la zone image, disposée sous le(s) image(s).

(default: "260x200px")
taille image à taille image5

Largeur de l'image correspondante en pixels (e.g. "260px").

|
(default: "260x200px")
taille image à taille image5

Largeur de l'image correspondante en pixels (e.g. "260px").

(default: "{{Pagename nd}}")
nom

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

sous-titre

Texte en petits caractères sous nom de l'infobox.

Example

{{Infobox réputation
|image       =Champion.jpg
|games1      =FO1, FO2
|requires1   =Killing many bad karma people and having good or very good karma
|effects1    =Good characters have a better reaction toward you in dialogue
}}

Copy/paste

{{Infobox réputation
|image       =
|games1      =
|requires1   =
|effects1    =
|games2      =
|requires2   =
|effects2    =
|games3      =
|requires3   =
|effects3    =
}}

Source

  • 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:Infobox réputation/doc.