Module:Infobox/Objet
Apparence
[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 Objet.
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 (modifier).
Voir les statistiques d'appel depuis le wikicode sur l'outil wstat et les appels depuis d'autres modules.
local objet = require "Module:Infobox/Fonctions"
return {
maincolor = '#E8E8E8',
parts = {
objet.title(),
objet.mainimage(),
{type = 'table', rows = {
{type = 'mixed', label = 'Type', value = 'type', property = 'P279'},
},
},
{type = 'table', title = 'Caractéristiques', rows = {
{type = 'mixed', label = 'Matériau', plurallabel = 'Matériaux', value = 'matériau', property = 'P186'},
{type = 'mixed', label = 'Forme', value = 'forme', property = 'P1419'},
{type = 'mixed', label = 'Longueur', value = 'longueur', property = 'P2043'},
{type = 'mixed', label = 'Largeur', value = 'largeur', property = 'P2049'},
{type = 'mixed', label = 'Hauteur', value = 'hauteur', property = 'P2048'},
{type = 'mixed', label = 'Diamètre', value = 'diamètre'},
{type = 'mixed', label = 'Volume', value = 'volume'},
{type = 'mixed', label = 'Poids', value = 'poids', property = 'P2067'},
{type = 'mixed', label = 'Couleur', plurallabel = 'Couleurs', value = 'couleur', property = 'P462'},
{type = 'mixed', label = 'Inscription', plurallabel = 'Inscriptions', value = 'inscription', wikidata = {property = 'P1684', conjtype = '<br />', numval = '3', rank = 'best'}},
},
},
{type = 'table', title = 'Origines', rows = {
{type = 'mixed', label = 'Découvreur ou inventeur', plurallabel = 'Découvreurs ou inventeurs', value = 'découvreur', property = 'P61'},
{type = 'mixed', label = 'Découverte', value = 'découverte', property = 'P575'},
{type = 'mixed', label = 'Lieu de découverte', value = 'lieu de découverte', property = 'P189'},
{type = 'mixed', label = 'Pays d\'origine', value = 'pays d\'origine', property = 'P495'},
{type = 'mixed', label = 'Concepteur', plurallabel = 'Concepteurs', value = 'concepteur', property = 'P287'},
{type = 'mixed', label = 'Création', value = 'création', property = 'P571'},
{type = 'mixed', label = 'Précédé par', value = 'précédé par', property = 'P155'},
{type = 'mixed', label = 'Fondé sur', value = 'fondé sur', property = 'P144'},
{type = 'mixed', label = 'Fabricant', plurallabel = 'Fabricants', value = 'fabricant', property = 'P176'},
{type = 'mixed', label = 'Procédé de fabrication', plurallabel = 'Procédés de fabrication', value = 'procédé de fabrication', property = 'P2079'},
{type = 'mixed', label = 'Site de fabrication', plurallabel = 'Sites de fabrication', value = 'site de fabrication', property = 'P1071'},
{type = 'mixed', label = 'Coût de fabrication', value = 'coût de fabrication'},
},
},
{type = 'table', title = 'Distribution', rows = {
{type = 'mixed', label = 'Lancement', value = 'lancement', property = 'P729'},
{type = 'mixed', label = 'Distribution', value = 'distribution', property = 'P437'},
{type = 'mixed', label = 'Marque', plurallabel = 'Marques', value = 'marques', property = 'P1716'},
{type = 'mixed', label = 'Prix de vente', value = 'prix de vente'},
{type = 'mixed', label = 'Nombre d\'exemplaires', value = 'nombre d\'exemplaires', property = 'P1114'},
},
},
{type = 'table', title = 'Fonctionnement', rows = {
{type = 'mixed', label = 'Énergie', plurallabel = 'Énergie', value = 'énergie', property = 'P618'},
{type = 'mixed', label = 'Moteur', plurallabel = 'Moteurs', value = 'moteur', property = 'P516'},
{type = 'mixed', label = 'Équipement', plurallabel = 'Équipements', value = 'équipement', property = 'P912'},
{type = 'mixed', label = 'Produit', plurallabel = 'Produits', value = 'produit', property = 'P1056'},
{type = 'mixed', label = 'Nouvelle fonctionnalité', value = 'nouvelle fonctionnalité', property = 'P751'},
{type = 'mixed', label = 'Fonctionnalité supprimée', value = 'Fonctionnalité supprimée', property = 'P756'},
},
},
{type = 'table', title = 'Utilisation', rows = {
{type = 'mixed', label = 'Usage', plurallabel = 'Usage', value = 'usage', property = 'P366'},
{type = 'mixed', label = 'Utilisateur', plurallabel = 'Utilisateurs', value = 'utilisateur', property = 'P1535'},
{type = 'mixed', label = 'Mode d\'emploi', value = 'mode d\'emploi', wikidata = {property = 'P2078', displayformat = "weblink", showntext = "Version en ligne"}},
{type = 'mixed', label = 'Suivi par', value = 'suivi par', property = 'P156'},
{type = 'mixed', label = 'Retrait', value = 'retrait', property = 'P730'},
},
}
}
}