« Module:Infobox/Véhicule » : différence entre les versions
mAucun résumé des modifications |
Harmonisation des identifiants techniques |
||
Ligne 16 : | Ligne 16 : | ||
{ type = 'row', label = 'Proto ID', value = 'proto' }, | { type = 'row', label = 'Proto ID', value = 'proto' }, | ||
{ type = 'row', label = 'Ref ID', value = 'refid' }, | { type = 'row', label = 'Ref ID', value = 'refid' }, | ||
{ type = 'row', label = ' | { type = 'row', label = 'Form ID', value = 'formid' } | ||
}}, | }}, | ||
{ type = 'text', value = 'pied' } | { type = 'text', value = 'pied' } | ||
} | } | ||
} | } |
Dernière version du 21 janvier 2023 à 16:32
Ce module contient le paramétrage de l'infobox {{Infobox véhicule}}.
return {
parts = {
{ type = 'title', value = 'nom', subtitle = 'sous-titre', icon = 'icône', subhead = { games = 'jeux', subject = 'Véhicule', link = 'Véhicules' }},
{ type = 'images', imageparameters = { 'image', 'image2', 'image3', 'image4', 'image5' }, captionparameter = { 'légende', 'image desc' }},
{ type = 'table', title = 'Propriétés', rows = {
{ type = 'row', label = 'Armes', value = 'armes' },
{ type = 'row', label = 'Points de vie', value = 'pv' },
{ type = 'row', label = 'Emplacement', value = 'emplacement' },
{ type = 'row', label = 'Vitesse de croisière', value = 'vitesse' },
{ type = 'row', label = 'Vitesse maximale', value = 'vitesse max' },
{ type = 'row', label = 'Rayon de braquage', value = 'braquage' },
{ type = 'row', label = 'Nombre de places', value = 'nombre de places' },
{ type = 'row', label = 'Quêtes', value = 'quêtes' }
}},
{ type = 'table', title = 'Technique', rows = {
{ type = 'row', label = 'Proto ID', value = 'proto' },
{ type = 'row', label = 'Ref ID', value = 'refid' },
{ type = 'row', label = 'Form ID', value = 'formid' }
}},
{ type = 'text', value = 'pied' }
}
}