Module:Infobox/Patrimoine mondial

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 Patrimoine mondial.


local patrimoine = require "Module:Infobox/Fonctions"
local linguistic = require "Module:Linguistique"

return {
	maincolor = '#FFFFFF',
	parts = {
		patrimoine.title(),
		patrimoine.mainimage('Article à illustrer'),
		{type = 'table', title = 'Localisation', rows = {
				patrimoine.country(),
				patrimoine.coordinates(),
			}
		},
		{
			type	= 'table',
			rows	= {
				{
					type		= 'row',
					label		= 'Identifiant',
					value		= 'ID',
					wikidata    = {property	= 'P757', urlpattern = 'http://whc.unesco.org/fr/list/$1'},
				},
				{
					type		= 'row',
					label		= 'Critère',
					plurallabel	= 'Critères',
					value		= 'Critères',
					property	= 'P2614'
				},
				{
					type		= 'row',
					label		= 'Superficie',
					value		= 'Superficie',
					property	= 'P2046'
				},
			}
		}
	}
}