Module:Infobox/Discipline

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


local generic = require "Module:Infobox/Fonctions"
local wd = require "Module:Wikidata"
return 	{
	maincolor = '#2B4B8D',
        secondcolor = '#FFF',
        thirdcolor = '#FFF',
 	parts =
    	{
        generic.title(),
	generic.mainimage('Article à illustrer Discipline'),
	generic.standardImage('image2'),
        {type = 'table', 
	   rows = {
			{type = 'row', label = 'Partie de', value = 'partie de', wikidata = {property = {'P279','P371'}}},
			{type = 'row', label = 'Pays', value = 'pays', wikidata = {property = 'P17'}},
			{type = 'row', label = 'Pratiqué par', value = 'pratiqué par', wikidata = {property = 'P3095', defaultlinkquery = {property = 'P2354'}}},
			{type = 'row', label = 'Champs', value = {'sous disciplines', 'champs'}, wikidata = {property = 'P527', conjtype = '<br />'}}, 
			{type = 'row', label = 'Objet', plurallabel = 'Objets', value = 'objets', wikidata = {property = 'P2578', conjtype = '<br />'}},
			{type = 'row', label = 'Fondateur', plurallabel = 'Fondateurs', value = {'fondateur', 'fondateurs'}, wikidata = {property = 'P112', conjtype = '<br />'}}, 
			{type = 'row', label = 'Personne clé', plurallabel = 'Personnes clés', value = {'personnes', 'personnes clés'}, wikidata = {property = 'P3342', conjtype = '<br />'}}, 
			{type = 'row', label = 'Histoire', value = 'histoire', wikidata = {property = 'P2184', withlink = 'frwiki', numval = '1'}}
           }
        }
        }
}