Module:Infobox/Centre de congrès
Apparence
[voir] [modifier] [historique] [purger]
Cette page définit un module d'infobox. Pour les conseils sur l'usage de ce module, voyez Modèle:Infobox Centre de congrès.
La documentation de ce module est générée par le modèle {{Documentation module}}.
Elle est incluse depuis la page Modèle:Documentation module d'infobox. Veuillez placer les catégories sur cette page-là.
Les éditeurs peuvent travailler dans le bac à sable (créer).
Voir les statistiques d'appel depuis le wikicode sur l'outil wstat et les appels depuis d'autres modules.
local building = require "Module:Infobox/Fonctions/Bâtiment"
local general = require "Module:Infobox/Fonctions"
local wikidata = require "Module:Wikidata"
local address = require "Module:Adresse"
return {
maincolor = '#efefef',
parts = {
general.title(),
general.logo(),
building.mainimage(),
{type = 'table', title = 'Généralités', rows = {
{type = 'mixed', label = 'Noms précédents', value = 'noms précédents'},
{type = 'mixed', label = 'Surnom(s)', value = 'surnom'},
{type = 'mixed', label = 'Nom complet', value = 'nom complet'},
{type = 'mixed', label = 'Adresse', value = 'adresse', wikidata = function ( item ) return address.fullAddress(item) end}
}},
{type = 'table', title = "Construction et ouverture", rows = {
building.construction(),
building.opening(),
building.creator(),
building.renovation(),
{type = 'mixed', label = 'Coût de construction', value = 'cout construction'},
building.closure(),
building.demolition(),
}},
{type = 'table', title = 'Utilisation', rows = {
{type = 'mixed', label = 'Surface', value = 'surface', property = 'P765'},
{type = 'mixed', label = 'Nb halls', value = 'nb halls'},
{type = 'mixed', label = 'Capacité', value = 'capacité', property = 'P1083'},
{type = 'mixed', label = 'Propriétaire', value = 'propriétaire', property = 'P127'},
{type = 'mixed', label = 'Administration', value = 'administration', property = 'P137'},
{type = 'mixed', label = 'Site web', value = 'Site web', property = 'P856'},
}},
{type = 'table', title = 'Équipement', rows = {
building.protection()
}},
{type = 'table', title = 'Localisation', rows = {
building.coordinates(),
}},
building.geoloc({marker='place-of-worship', default_zoom=11}),
}
}