Aller au contenu

Module:Infobox/Idéologie

Une page de Wikipédia, l'encyclopédie libre.
Ceci est une version archivée de cette page, en date du 19 décembre 2024 à 23:55 et modifiée en dernier par MarinBzh (discuter | contributions). Elle peut contenir des erreurs, des inexactitudes ou des contenus vandalisés non présents dans la version actuelle.

 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 Idéologie.


local general = require 'Module:Infobox/Fonctions'
local localdata = require( 'Module:Infobox/Localdata' )
local wikidata = require( 'Module:Wikidata' )
local localisation = require "Module:Infobox/Fonctions/Géolocalisation"
local displayFormat = { 'recherche', nil, '#184E75', '#184E75', '#FFFFFF', 'defaut' }

return {
    maincolor = displayFormat[3],
    secondcolor = displayFormat[4],
    thirdcolor = displayFormat[5],
    parts = {
        general.title(displayFormat[1], displayFormat[2], 'nom', nil, false),
        {
            type = 'images',
            imageparameters = 'image1',
            captionparameter = 'légende1',
            sizeparameter = 'taille image1',
	    	uprightparameter = 'upright1',
            wikidata = { property = 'P1846' },
            numval = 1,
		},
        {
        	type = 'images',
        	imageparameters = 'image2', 
        	captionparameter = 'légende2',
        	sizeparameter = 'taille image2',
	    	uprightparameter = 'upright2',
        },
        {
        	type = 'images',
        	imageparameters = 'image3',
        	captionparameter = 'légende3',
        	sizeparameter = 'taille image3',
	    	uprightparameter = 'upright3',
        },
        {
            type = 'table',
            title = 'Histoire',
            rows = {
                { type = 'row', label = 'Fondation', value = 'création, fondation, date_de_fondation' },
                { type = 'row', label = 'Dissolution', value = 'dissolution' },
                { type = 'row', label = 'Origine', value = 'origine' },
                { type = 'row', label = 'Prédécesseur', plurallabel = 'Prédécesseurs', value = 'remplace, a remplacé, prédécesseur' },
                { type = 'row', label = 'Successeur', plurallabel = 'Successeurs', value = 'remplacé par, successeur' },
                { type = 'row', label = 'Scission de', plurallabel = 'Scissions de', value = 'scission de' },
                { type = 'row', label = 'Fusion de', plurallabel = 'Fusions de', value = 'fusion de' },
                { type = 'row', label = 'Scission dans', plurallabel = 'Scissions dans', value = 'scission dans' },
                { type = 'row', label = 'Fusionné dans', plurallabel = 'Fusionnés dans', value = 'fusionné dans' }
            }
        },
        {
            type = 'table',
            title = 'Principes',
            rows = {
                { type = 'row', label = 'Sigle', plurallabel = 'Sigles', value = 'sigle, acronyme' },
                { type = 'row', label = 'Surnom', plurallabel = 'Surnoms', value = 'surnom' },
                { type = 'row', label = 'Code', plurallabel = 'Codes', value = 'code' },
                { type = 'row', label = 'Structure', plurallabel = 'Structures', value = 'structure' },
                { type = 'row', label = 'Objet social', plurallabel = 'Objets sociaux', value = 'objet social, objets sociaux' },
                { type = 'row', label = 'Domaine d\'activité', plurallabel = 'Domaines d\'activité', value = 'discipline, disciplines, domaine, domaines, secteur' },
                { type = 'row', label = 'Mouvement', plurallabel = 'Mouvements', value = 'mouvement' },
                { type = 'row', label = 'Financement', plurallabel = 'Financements', value = 'financement' },
                { type = 'row', label = 'Objectif', plurallabel = 'Objectifs', value = 'but, objectif, objectifs' },
                { type = 'row', label = 'Méthode', plurallabel = 'Méthodes', value = 'méthode, methode' },
                { type = 'row', label = 'Filiale', plurallabel = 'Filiales', value = 'filiale' },
                { type = 'row', label = 'Branche', plurallabel = 'Branches', value = 'branche' },
                { type = 'row', label = 'Partenaire', plurallabel = 'Partenaires', value = 'partenaire' },
                { type = 'row', label = 'Dépend de', plurallabel = 'Dépendent de', value = 'dépend de' },
                { type = 'row', label = 'Affiliation', plurallabel = 'Affiliations', value = 'affiliation, affiliation_europeenne, affiliation_internationale, rattachement' },
                { type = 'row', label = 'Type', plurallabel = 'Types', value = 'type, association_type' }
            }
        },
        {
            type = 'table',
            title = 'Organisations',
            rows = {
                { type = 'row', label = 'Organisation régionale', plurallabel = 'Organisations régionales', value = 'organisations régionales' },
                { type = 'row', label = 'Organisation internationale', plurallabel = 'Organisations internationales', value = 'organisations internationales' }
            }
        },
        {
            type = 'table',
            title = 'Localisation',
            rows = {
                { type = 'row', label = 'Pays', plurallabel = 'Pays', value = 'pays' },
                { type = 'row', label = 'Localisation', plurallabel = 'Localisations', value = 'localisation' },
                { type = 'row', label = 'Ville', plurallabel = 'Villes', value = 'ville' }
            }
        }
    }
}