Module:Infobox/Périodique

 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 Périodique.


local generic = require "Module:Infobox/Fonctions"
local wd = require "Module:Wikidata"
local organisation = require "Module:Infobox/Fonctions/Organisation"

return 	{
	maincolor = '#F2F2F2',
 	parts =
    	{
        generic.title(),
	generic.mainimage('Article à illustrer'), 
        {type = 'table', 
	   rows = {
               {type = 'row', label = 'Sigle', plurallabel = 'Sigles', value = {'surnom', 'sigle', 'acronyme'}, wikidata = {property = {'P1449', 'P1813'}, showlang = true, isinlang = {'fr', 'en'}}},
               {type = 'row', value = {'devise', 'slogan', 'association_slogan'}, wikidata = {property = 'P1451', showlang = true, isinlang = {'fr', 'en', 'la'}, conjtype = 'new line'}, style = { ['text-align'] = 'center', ['font-size'] = '0.9em', ['font-weight'] = 'normal', ['font-style'] = 'italic' }},
               {type = 'mixed', label = 'Langue', value = 'langue', property='P407'},
{type = 'mixed', label = 'Périodicité', value = 'périodicité', property='P2896'}, 
               {type = 'row', label = 'Fondation', value = {'création', 'fondation', 'date_de_fondation'}, wikidata = {property = {'P571', 'P740'}, showqualifiers = {'P518', 'P1810', 'P4649'}, conjtype = 'new line'}},
               {type = 'row', label = 'Fondateur', plurallabel = 'Fondateurs', value = 'fondateur', property = 'P112'}, 
               {type = 'row', label = 'Rédacteur en chef', plurallabel = 'Rédacteurs en chef', value = 'redchef', property = 'P5769'},
	{type = 'row', label = 'Histoire', value = 'histoire', wikidata = {property = 'P2184', withlink = 'frwiki', numval = '1'}},
          {type = 'mixed', label = 'Couverture géographique', value = 'couverture géographique'},
           generic.country(),
           generic.website()
           }
        }
        }
}