Module:Infobox/Musique classique (ensemble)2
Apparence
[voir] [modifier] [historique] [purger]
Cette page définit un module d'infobox.
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 localdata = require 'Module:Infobox/Localdata'
local general = require "Module:Infobox/Fonctions"
local person = require "Module:Infobox/Fonctions/Personne"
local wikidata = require "Module:Wikidata"
local linguistic = require "Module:Linguistique"
local convert = require "Module:Conversion"
local function italics(query)
local val = wikidata.formatAndCat(query)
if val then
return '<i>' .. val .. '</i>'
end
end
return
{
maincolor = "09C8BD",
secondcolor = "5CF8F0",
parts =
{
general.title( "musique"), --trouver le moyen de mettre en italique
general.mainimage{
cat = "Article à illustrer Arts et culture",
defaultimage = "Defaut 2.svg",
wikidata = {property = {"P3383", "P2716", "P18", "P10"}, numval = 1}
},
{type = "table", title = "Informations générales", rows = {
-- {type = "row", label = "Titre original", value = "titre original", plurallabel = "Titres originaux" , wikidata = function ( item )
-- return italics({entity = item, property = 'P1476', conjtype = 'new line' , showlang = true })--trouver un moyen de retirer lorsque le titre original est en français
-- end
-- },
{type = "row", label = "Pays de résidence", value = "pays residence", plurallabel = "Pays de résidence" , property = 'P495'},
{type = "row", label = "Ville de résidence", value = "ville résidence", plurallabel = "Villes de résidence" , wikidata = {property = 'P131' , showunit = 'long' }},
{type = "row", label = "Lieux activité", value = "lieux activité" , plurallabel = "Lieux activité", property = 'P276'},
{type = "row", label = "Année de fondation", value = "annee fondation" , plurallabel = "Années de fondation", property = 'P571'},
{type = "row", label = "Année de dissoulution", value = "annee dissoulution" , plurallabel = "Années de dissoulution", property = 'P576'},
{type = "row", label = "Type formation", value = "type formation" , plurallabel = "Types formation", property = 'P31'},
{type = "row", label = "Genre", value = "genre" , plurallabel = "Genres", property = 'P136'},
{type = "row", label = "Direction", value = "direction" , plurallabel = "Direction", property = 'P3300'},
{type = "row", label = "Fondateur", value = "fondateur" , plurallabel = "Fondateurs", property = 'P112'},
{type = "row", label = "Statut", value = "statut" , plurallabel = "statuts", property = 'P3716'},
{type = "row", label = "Effectif", value = "effectif" , plurallabel = "Effectifs", property = 'P2124'},
{type = "row", label = "Collaboration", value = "collaboration" , plurallabel = "Collaborations", property = 'P1327'},
{type = "row", label = "Éditeur", value = "editeur" , plurallabel = "Éditeurs", property = 'P'},
{type = "row", label = "Maitre", value = "maitre" , plurallabel = "Maitres", property = 'P'},
{type = "row", label = "Élève", value = "eleve" , plurallabel = "Élèves", property = 'P802'},
{type = "row", label = "Récompense", value = "recompenses" , plurallabel = "Récompenses", property = 'P166'},
{type = "row", label = "Web", value = "web" , plurallabel = "Web", property = 'P856'},
-- {type = "row", label = "Basé sur", value = "basé sur" , wikidata = function ( item )
-- return italics({entity = item, property = 'P144'})
-- end
-- },
}
}
}
}