Module:Infobox/Nerf

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


local wikidata = require "Module:Wikidata"
local general = require('Module:Infobox/Fonctions')

return {
	maincolor = '#D8D8D8',
	parts = {
		general.title(),
		function ( localdata )
			if localdata['Image'] == nil then
				return general.mainimage('Article à illustrer Nerf')
			else
				if localdata['Image'] then
					return {type = 'images',imageparameters =  'Image', captionparameter = 'Légende'}
				else
					return {type = 'row'}
				end
			end
		end,
		{ type='table', title= 'Détails', rows = {
				{type = 'mixed', label = 'Origine', value = 'origine', property ='P3490'},
				{type = 'mixed', label = 'Branche de', value = 'branche', property ='P3261'},
				{type = 'mixed', label = 'Ramification', value = 'ramification', property ='P3262'},
				{type = 'mixed', label = 'Terminaison', value = 'terminaison', property ='P3491'},
				{type = 'mixed', label = 'Innerve', value = 'innerve', property ='P3190'},
			}
		},
		{ type='table', title = 'Identifiants', rows = {
				{type = 'row', label = 'Nom latin', value = 'latin', property ='P3982'},
				{type = 'row', label = 'Grec', value = 'Grec'},
				{type = 'row', label = 'MeSH', value = 'MeshNumber', property ='P486'},
				{type = 'row', label = 'Nom MeSH', value = 'MeshName'},
				{type = 'row', label = 'TA98', value = 'TA98', property ='P1323'},
				{type = 'row', label = 'TA2', value = 'TA2 ID', property ='P7173'},
				{type = 'row', label = 'FMA', value = 'identifiant Foundational Model of Anatomy', property ='P1402'},
			}
		}
	}
}