Module:Infobox/Mine

Une page de Wikipédia, l'encyclopédie libre.

 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 Mine.


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

return 
	{
	maincolor = '#996633',
	parts =
    	{
		general.title('map', {color = 'white'}),
		general.mainimage('Article à illustrer Mine', 'Defaut 2.svg'),
		{type = 'table', style = {['border-top'] = '1px solid #996633'}, rows = {
			{
				type = 'row',
				label = 'Ressources',
				value = 'ressources',
				property = 'P1056'
			},
			{
				type = 'row',
				label = 'Exploitant',
				value = 'exploitant',
				wikidata = {property = 'P137', rank = 'valid', showdate = true, conjtype = '<br />'}
			},
			building.owner(),
			{
				type = 'row',
				label = 'Employés',
				value = 'employés',
				wikidata = {property = 'P1128', rank = 'valid', showdate = true, conjtype = '<br />'}
			},
			building.opening(),
			building.closure(),
			{
				type = 'row',
				label = 'Profondeur',
				value = 'profondeur',
				wikidata = {property = 'P4511', rank = 'valid', showdate = true, conjtype = '<br />'}
			},
			building.protection(),
			}
		},
		{type = 'table', rows = {
			building.country(),
			building.adminlocation(),
			building.protectedarea(),
			building.coordinates(),
			}, style = {['border-top'] = '1px solid #996633'}
		},
		building.geoloc({marker = 'circle-stroked', maptype = 'relief'}),
	}
}