Aller au contenu

Module:Infobox/Stade

Une page de Wikipédia, l'encyclopédie libre.
Ceci est une version archivée de cette page, en date du 19 août 2015 à 11:51 et modifiée en dernier par Zolo (discuter | contributions). Elle peut contenir des erreurs, des inexactitudes ou des contenus vandalisés non présents dans la version actuelle.

 Documentation[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 Stade.


local building = require "Module:Infobox/Fonctions/Bâtiment"
local general = require "Module:Infobox/Fonctions"
local wikidata = require "Module:Wikidata"


return 
	{
	maincolor = '#efefef',
	parts =
    	{
			general.title('stadium.svg'),
			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'},
				building.adminlocation(),
				},
			},
			{type = 'table', title = "Construction et ouverture", rows = {
				{type = 'mixed', label = 'Début construction', value = 'début construction'},
				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 = 'Clubs résidents', value = 'clubs résidents', property = 'P466'},
				{type = 'mixed', label = 'Propriétaire', value = 'propriétaire', property = 'P127'},
				{type = 'mixed', label = 'Administration', value = 'administration', property = 'P137'},
				},
			},
			{type = 'table', title = 'Équipement', rows = {
				{type = 'mixed', label = 'Surface', value = 'surface', property = 'P765'},
				{type = 'mixed', label = 'Capacité', value = 'capacité'}, -- , property = 'P1083' mais voir les qualificatifs à utiliser pour éviter les trucs bizarres
				{type = 'mixed', label = 'Tribunes', value = 'tribunes'},
				{type = 'mixed', label = 'Affluence record', value = 'affluence_record'},
				{type = 'mixed', label = 'Dimensions', value = 'dimensions'},
				building.protection()
				},
			},
			{type = 'table', title = 'Localisation', rows = {
				building.coordinates(),
				}
			},
			building.geoloc(),
	}
}