« Module:Infobox/Lieu » : différence entre les versions

icone pillards
bunker
icone pillards
Ligne 6 : Ligne 6 :
local types = {
local types = {
['bâtiment']        = 'Bâtiment',
['bâtiment']        = 'Bâtiment',
['bunker']         = 'Bunker',
['bunker']           = 'Bunker',
['colonie']          = 'Colonie',
['colonie']          = 'Colonie',
['grande colonie']  = 'Colonie',
['grande colonie']  = 'Colonie',
Ligne 56 : Ligne 56 :
['non marqué']      = 'Icon unmarked.png',
['non marqué']      = 'Icon unmarked.png',
['abri']            = 'Icon vault.png',
['abri']            = 'Icon vault.png',
['repère']          = 'Icon landmark.png'
['repère']          = 'Icon landmark.png',
['pillards']        = 'FO76 icone pillards.png'
}
}
icon = types[localdata['type']:lower()] or icon
icon = types[localdata['type']:lower()] or icon