Aller au contenu

Module:Infobox/Etablissement enseignement recherche

Une page de Wikipédia, l'encyclopédie libre.
Ceci est une version archivée de cette page, en date du 8 janvier 2018 à 00:09 et modifiée en dernier par Tiraden (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 Université.


local generic = require "Module:Infobox/Fonctions"
local person = require "Module:Infobox/Fonctions/Personne" 
local building = require "Module:Infobox/Fonctions/Bâtiment"
local localdata = require( 'Module:Infobox/Localdata' )

return 
{
maincolor = '#B4464B',
thirdcolor = 'white',
parts = {
	generic.title("entete universite"),
	person.blason(),
	{type = 'table', title = 'Histoire et statut', rows = {
		{type = 'row', label = 'Fondation', value = 'fondation', property = 'P571'},
		{type = 'row', label = 'Dates-clés', value = 'dates-clés'},  		
		{type = 'row', label = 'Dissolution', value = 'dissolution', property = 'P576'},
		{type = 'row', label = 'Type', value = 'type', property = 'P31'},
		{type = 'row', label = 'Forme juridique', value = 'forme juridique', property = 'P1454'},
		{type = 'mixed', label = 'Budget', value = 'budget', wikidata = { property = 'P2769', showdate = true, precision = 'year', numval = 1 }},
		{type = 'mixed', label = 'Disciplines', value = 'disciplines'},
		{type = 'mixed', label = 'nom_original', value = 'langue', property = 'P1448'},
		{type = 'mixed', label = 'Régime linguistique', value = 'langue', property = 'P2936'},
		{type = 'row', label = function() return localdata['intitulé fondateur'] or 'Fondateur' end, value = 'fondateur'},
		{type = 'mixed', label = 'Président', value = 'président', wikidata = { property = 'P488', showdate = true, precision = 'year', numval = 1 }},
		{type = 'mixed', label = 'Recteur', value = 'recteur', wikidata = { property = 'P1075', showdate = true, precision = 'year', numval = 1 }},		
		{type = 'mixed', label = 'Directeur', value = 'directeur', wikidata = { property = 'P1037', showdate = true, precision = 'year', numval = 1 }},		
		{type = 'row', label = function() return localdata['intitulé dirigeant1'] or 'Dirigeant1' end, value = 'dirigeant1'},
		{type = 'row', label = function() return localdata['intitulé dirigeant2'] or 'Dirigeant2' end, value = 'dirigeant2'},  }  },
	{type = 'table', title = 'Localisation', rows = {
		{type = 'row', label = 'Campus', value = 'campus'},
		{type = 'mixed', label = 'Localisation', value = 'localisation', property = 'P131'},
		{type = 'mixed', label = 'Pays' , value = 'pays', property = 'P17'}, } },
	{type = 'table', rows = { building.geoloc(), }  },
	{type = 'table', title = 'Chiffres-clés', rows = {
		{type = 'row', label = function() return localdata['intitulé étudiants'] or 'Etudiants' end, value = 'étudiants',  wikidata = { property = 'P2196', showdate = true, precision = 'year', numval = 1 }},
		{type = 'row', label = function() return localdata['intitulé enseignants'] or 'Enseignants' end, value = 'enseignants'},
		{type = 'row', label = function() return localdata['intitulé enseignants-chercheurs'] or 'Enseignants-chercheurs' end, value = 'enseignants-chercheurs'},
		{type = 'row', label = function() return localdata['intitulé chercheurs'] or 'Chercheurs' end, value = 'chercheurs'}, } },
	{ type = 'table', title = 'Divers', rows = 	{
		{type = 'mixed', label = 'Devise', value = 'devise', property = 'P1451'}, 
		{type = 'mixed', label = 'Membre de', value = 'affiliation', property = 'P463'},
		{type = 'mixed', label = 'Site web', value = 'web', property = 'P856'}, } }, }, }