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


local general = require "Module:Infobox/Fonctions"
local wikidata = require "Module:Wikidata"
local localdata = require "Module:Infobox/Localdata"
local displayformat = {nil, 'medecine', '#10FF50', '#000000', '#000000', 'defaut'}

return 
{
	maincolor = displayformat[3],
	secondcolor = displayformat[4],
	thirdcolor = displayformat[5],
   parts =
   	{
	general.title(displayformat[2], nil, 'nom local', nil),
	general.logo('100px'),
	general.mainimage('Article à illustrer Vaccin', 'Defaut 2.svg'),
	{type = 'table',
		rows = 	{
			{type = 'row', label = 'Statut OMS', value = 'statut OMS', wikidata= {entity=item, property = 'P31', targetvalue='Q35456'}},
			{type = 'row', label = 'Maladie à traiter', plurallabel = 'Maladies à traiter', value = 'maladie à traiter', property = 'P1924'},
			{type = 'row', label = 'Date de découverte', plurallabel = 'Dates de découverte', value = 'découverte', property = 'P575'},
			{type = 'row', label = 'Laboratoire', plurallabel = 'Laboratoires', value = 'laboratoire'},
			{type = 'row', label = 'Brevet', plurallabel = 'Brevets', value = 'brevet'},
			{type = 'row', label = 'Formule brute', plurallabel = 'Formules brutes', value = 'formule brute'},
			{type = 'row', label = 'Pays concerné', plurallabel = 'Pays concernés', value = 'pays concernés'},
			{type = 'row', label = 'Première vaccination', value = 'première vaccination'},
			{type = 'row', label = 'Rappel', plurallabel = 'Rappels', value = 'rappel'},
			
		}
		
	},
	{type = 'table', title='Précautions',
		rows = 	{
			{type = 'row', label = 'Effets secondaires', value = 'effets secondaires'},
			{type = 'row', label = 'Catégorie de grossesse', plurallabel = 'Catégories de grossesse', value = 'grossesse', property = 'P3489'},
		}
	},
}
}