Modification de Module:Infobox/Lieu
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 5 : | Ligne 5 : | ||
if localdata['type'] then | if localdata['type'] then | ||
local types = { | local types = { | ||
[' | ['colonie'] = 'Colonie', | ||
['colonie'] | ['grande colonie'] = 'Colonie', | ||
[' | ['colonie moyenne'] = 'Colonie', | ||
['colonie | ['petite colonie'] = 'Colonie', | ||
[' | ['ordinateur'] = 'Ordinateur', | ||
['non marqué'] | ['non marqué'] = 'Lieu non marqué', | ||
[' | ['abri'] = 'Abri', | ||
['gare'] = 'Gare', | |||
['gare'] | ['région'] = 'Région' | ||
['région'] | |||
} | } | ||
subject = types[localdata['type']:lower()] or subject | subject = types[localdata['type']:lower()] or subject | ||
Ligne 51 : | Ligne 43 : | ||
['petite colonie'] = 'Icon settlement small.png', | ['petite colonie'] = 'Icon settlement small.png', | ||
['égout'] = 'Icon sewer.png', | ['égout'] = 'Icon sewer.png', | ||
['tunnel'] = 'Icon | ['tunnel'] = 'Icon unmarked.png', | ||
['non marqué'] = 'Icon | ['non marqué'] = 'Icon vault.png', | ||
['abri'] = 'Icon | ['abri'] = 'Icon landmark.png', | ||
['repère'] = 'Icon landmark.png' | ['repère'] = 'Icon landmark.png' | ||
} | } | ||
Ligne 64 : | Ligne 56 : | ||
return { | return { | ||
parts = { | parts = { | ||
{ type = 'title', value = 'nom', subtitle = 'sous-titre', icon = | { type = 'title', value = 'nom', subtitle = 'sous-titre', icon = buildSubject(localdata), subhead = { games = 'jeux', subject = buildSubject(localdata), link = 'Lieux' }}, | ||
{ type = 'images', imageparameters = { 'image', 'image2', 'image3', 'image4', 'image5' }, captionparameter = { 'légende', 'image desc' }}, | { type = 'images', imageparameters = { 'image', 'image2', 'image3', 'image4', 'image5' }, captionparameter = { 'légende', 'image desc' }}, | ||
{ type = 'images', imageparameters = 'image marqueur', captionparameter = 'image marqueur desc' }, | |||
{ type = 'table', title = 'Emplacement', rows = { | { type = 'table', title = 'Emplacement', rows = { | ||
{ type = 'row', label = 'Marqueur', value = 'marqueur' }, | { type = 'row', label = 'Marqueur', value = 'marqueur' }, | ||
{ type = 'row', label = 'Partie de', value = 'partie de | { type = 'row', label = 'Partie de', value = 'partie de' } | ||
}}, | }}, | ||
{ type = 'table', title = 'Segments', rows = { | { type = 'table', title = 'Segments', rows = { | ||
Ligne 78 : | Ligne 70 : | ||
{ type = 'row', label = 'Factions', value = 'factions' }, | { type = 'row', label = 'Factions', value = 'factions' }, | ||
{ type = 'row', label = 'Propriétaires', value = 'propriétaires' }, | { type = 'row', label = 'Propriétaires', value = 'propriétaires' }, | ||
{ type = 'row', label = 'Chefs', value = | { type = 'row', label = 'Chefs', value = 'leaders' }, | ||
{ type = 'row', label = ' | { type = 'row', label = 'Docteurs', value = 'docteurs' }, | ||
{ type = 'row', label = 'Marchands', value = 'marchands' }, | { type = 'row', label = 'Marchands', value = 'marchands' }, | ||
{ type = 'row', label = 'Établis', value = 'établis' } | { type = 'row', label = 'Établis', value = 'établis' } | ||
}}, | }}, | ||
Ligne 91 : | Ligne 82 : | ||
{ type = 'row', label = 'Connecté à', value = 'connecté à' }, | { type = 'row', label = 'Connecté à', value = 'connecté à' }, | ||
{ type = 'row', label = 'Sorties de métro', value = 'sorties métro' }, | { type = 'row', label = 'Sorties de métro', value = 'sorties métro' }, | ||
{ type = 'row', label = 'Sorties | { type = 'row', label = 'Sorties World Map', value = 'sorties world map' }, | ||
{ type = 'row', label = 'Autres sorties', value = 'autres sorties' } | { type = 'row', label = 'Autres sorties', value = 'autres sorties' } | ||
}}, | }}, | ||
Ligne 98 : | Ligne 89 : | ||
{ type = 'row', label = 'Événements', value = 'événements' } | { type = 'row', label = 'Événements', value = 'événements' } | ||
}}, | }}, | ||
{ type = 'table', title = 'Technique' | { type = 'table', title = 'Technique', rows = { | ||
{ type = 'row', label = 'Cellule', value = 'nom cellule' }, | { type = 'row', label = 'Cellule', value = 'nom cellule' }, | ||
{ type = 'row', label = '[[Form ID|Ref | { type = 'row', label = '[[Form ID|Ref id]]', value = 'refid' }, | ||
{ type = 'row', label = 'Terminaux', value = 'terminaux' } | { type = 'row', label = 'Terminaux', value = 'terminaux' } | ||
}}, | }}, | ||
Ligne 109 : | Ligne 99 : | ||
{ type = 'images', imageparameters = 'carte locale4', captionparameter = 'carte locale4 desc' }, | { type = 'images', imageparameters = 'carte locale4', captionparameter = 'carte locale4 desc' }, | ||
{ type = 'images', imageparameters = 'carte locale5', captionparameter = 'carte locale5 desc' }, | { type = 'images', imageparameters = 'carte locale5', captionparameter = 'carte locale5 desc' }, | ||
{ type = 'text', value = 'pied' } | { type = 'text', value = 'pied' } | ||
} | } | ||
} | } |