Module:Infobox/Établissement scolaire
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 Établissement scolaire.
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 wikidata = require "Module:Wikidata"
local generic = require "Module:Infobox/Fonctions"
local geo = require "Module:Infobox/Fonctions/Géolocalisation"
local localdata = require "Module:Infobox/Localdata"
return
{
maincolor = '#4d6699',
thirdcolor = 'white',
parts = {
generic.title("etablissement scolaire"),
{type = 'images', imageparameters = {'logo'}, captionparameter = 'légende logo', defaultimages = nil, defaultupright = 0.7, uprightparameter = 'upright logo', sizeparameter = 'taille logo', property = 'P154', numval = 1},
generic.mainimage('Article à illustrer établissement scolaire'),
{type = 'table', title = 'Histoire et statut', rows = {
{type = 'mixed', label = 'Nom officiel', value = 'nom_original', wikidata = { property = 'P1448', showdate = true, entity = item, precision = 'year', conjtype = 'comma', removedupes = true, linktopic = '-' },
{type = 'row', label = 'Composante', value = 'composante'},
{type = 'row', label = 'Fondation', value = 'fondation', property = 'P571'},
{type = 'row', label = function() return localdata['intitulé fondateur'] or 'Fondateur' end, value = 'fondateur', property = 'P112'},
{type = 'row', label = 'Devise', value = 'devise'},
{type = 'row', label = 'Couleurs', value = 'couleurs'},
{type = 'row', label = 'Dates-clés', value = 'dates-clés'},
{type = 'row', label = 'Dissolution', value = 'dissolution', property = 'P576'},
{type = 'mixed', label = function() return localdata['intitulé directeur'] or 'Directeur' end, value = 'directeur', wikidata = { property = 'P1037', showdate = true, precision = 'year', numval = 1 },},
{type = 'row', label = 'Type', value = 'type', wikidata = { property = 'P31', numval = 1 },},
{type = 'row', label = 'Domaine', value = 'domaine', wikidata = { property = 'P101', numval = 1 },},
{type = 'mixed', label = 'Particularités', value = 'particularité'},
{type = 'row', label = 'Forme juridique', value = 'forme juridique', property = 'P1454'},
{type = 'row', label = 'Domaine', value = 'domaine', wikidata = { property = 'P101', numval = 1 },},
{type = 'mixed', label = 'Matricule', value = 'matricule'},
{type = 'row', label = 'Protection', value = 'protection'},
{type = 'mixed', label = 'Budget', value = 'budget', wikidata = { property = 'P2769', showunit = 'long', showdate = true, precision = 'year', numval = 1 },},
generic.website()},},
{type = 'table', title = 'Études', rows = {
{type = 'row', label = 'Accès', value = 'admission'},
{type = 'row', label = 'Niveau', value = 'niveau'},
{type = 'row', label = 'Formation', value = 'formation'},
{type = 'row', label = 'Nombre options', value = 'nbreoptions'},
{type = 'row', label = 'Options', value = 'options'},
{type = 'row', label = 'Langues', value = 'langues'},
{type = 'row', label = 'Diplômes délivrés', value = 'diplômes'},
{type = 'row', label = 'Académie', value = 'académie'},
{type = 'row', label = 'Université', value = 'université'},
{type = 'row', label = 'Campus', value = 'campus'},
{type = 'row', label = 'Profession', value = 'profession'},
{type = 'mixed', label = 'Étudiants', value = 'étudiants', wikidata = { property = 'P2196', numval = 1 },},
},},
{type = 'table', title = 'Localisation', rows = {
{type = 'row', label = 'Campus', value = 'campus'},
{type = 'row', title = 'Adresse', value = 'adresse'},
{type = 'row', title = 'Code postal', value = 'code postal'},
{type = 'mixed', label = 'Ville', value = 'localisation', property = 'P131'},
{type = 'mixed', label = 'Pays' , value = 'pays', property = 'P17'}, }, },
geo.geoloc({marker='library'})},},
}