Module:Infobox/Société

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 Société.


local generic = require "Module:Infobox/Fonctions"
local wd = require "Module:Wikidata"
return 	{
	maincolor = '#F2F2F2',
 	parts =
    	{
			generic.title(),
			generic.logo('Article à illustrer Entreprise'),
			generic.mainimage('Article à illustrer Entreprise'),
			{type = 'table', title = 'Information général', rows = 	{
				{type = 'row', label = 'Création', value = 'date de création', property = 'P571'},
				{type = 'row', label = 'Dissolution', value = 'dissolution', property = 'P576'},
				{type = 'row', label = 'Forme juridique', value = 'forme juridique', wikidata = {property = 'P1454', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Siège social', value = 'siège (ville)', wikidata = {property = 'P159', showqualifiers = 'P17', conjtype = '<br />'}},
				{type = 'row', label = 'Secteur d’activité', plurallabel = 'Secteurs d’activité', value = 'industrie', property = 'P452'},
				{type = 'row', label = 'Produit', plurallabel = 'Produits', value = 'produit', property = 'P1056'},
				{type = 'row', label = 'Zone de couverture', value = 'couverture'},
				{type = 'row', label = 'Effectifs', value = 'effectif', wikidata = {property = 'P1128', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Fondateur', plurallabel = 'Fondateurs', value = 'fondateur', property = 'P112'},
				{type = 'row', label = 'Direction', value = 'direction', wikidata = {property = 'P169', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Président', plurallabel = 'Présidents', value = 'président', wikidata = {property = 'P488', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Directeur', plurallabel = 'Directeurs', value = 'directeur', wikidata = {property = 'P1037', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Propriétaire', plurallabel = 'Propriétaires', value = 'propriétaire', wikidata = {property = 'P127', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Société mère', plurallabel = '[[Société mère|Sociétés mères]]', value = 'société mère', wikidata = {property = 'P749', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Branche', plurallabel = 'Branches', value = 'branche', property = 'P199'},
				{type = 'row', label = 'Partenaire', plurallabel = 'Partenaires', value = 'partenaire', property = 'P2652'},
				{type = 'row', label = 'Chiffre d’affaires', value = 'chiffre d’affaires', wikidata = {property = 'P2139', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Résultat net', value = 'résultat net', wikidata = {property = 'P2295', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Capitalisation boursière', value = 'capitalisation', wikidata = {property = 'P2226', showdate = true, sorttype = 'chronological'}},
				{type = 'row', label = 'Cotation',  plurallabel = 'Cotations', value = 'cotation', wikidata = {property = 'P414', showqualifiers = 'P249', conjtype = '<br />'}},
				{type = 'row', label = 'Notation', value = 'notation'},
				{type = 'row', label = 'Organe de presse', plurallabel = 'Organes de presse', value = 'organe de presse', property = 'P2813'},
				{type = 'row', label = 'Slogan', value = 'slogan'},
				generic.website(),
		}},
		{type = 'table', title = 'Codes', rows = { --Ajouter les pays manquants
				{type = 'row', label = 'BCE', value = 'bce', wikidata = {property = 'P3376', urlpattern = wd.formatStatements{entity = "P3376", property = "P1630", numval = 1, debug = 1}}}, --Belgique
				{type = 'row', label = 'CVR', value = 'cvr', wikidata = {property = 'P1059', urlpattern = wd.formatStatements{entity = "P1059", property = "P1630", numval = 1, debug = 1}}}, --Danemark
				{type = 'row', label = 'SIREN', value = 'siren', wikidata = {property = 'P1616', urlpattern = wd.formatStatements{entity = "P1616", property = "P1630", numval = 1, debug = 1}}}, --France
				{type = 'row', label = 'Entreprise hongroise', value = 'hun', wikidata = {property = 'P2619', urlpattern = wd.formatStatements{entity = "P2619", property = "P1630", numval = 1, debug = 1}}}, --Hongrie
				{type = 'row', label = 'Organisation norvégienne', value = 'orgnr', wikidata = {property = 'P2333', urlpattern = wd.formatStatements{entity = "P2333", property = "P1630", numval = 1, debug = 1}}}, --Norvège
				{type = 'row', label = 'Companies House', value = 'companies house', wikidata = {property = 'P2622', urlpattern = wd.formatStatements{entity = "P2622", property = "P1630", numval = 1, debug = 1}}}, --Royaume-Uni
				{type = 'row', label = 'OKPO', value = 'okpo', wikidata = {property = 'P2391', urlpattern = wd.formatStatements{entity = "P2391", property = "P1630", numval = 1, debug = 1}}}, --Russie
				{type = 'row', label = 'TVA intracommunautaire', value = 'tva', wikidata = {property = 'P3608', urlpattern = wd.formatStatements{entity = "P3608", property = "P1630", numval = 1, debug = 1}}}, --Union européenne
                               {type = 'row', label = "Registre de transparence de l'Union européenne", value = 'transparence', wikidata = {property = 'P2657', urlpattern = wd.formatStatements{entity = "P2657", property = "P1630", numval = 1, debug = 1}}}, --Union européenne
				}
			}
		}
	}