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 20 décembre 2024 à 01:02 et modifiée en dernier par MarinBzh (discuter | contributions) (corrections mineures). 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 = 'Présentation',
            rows = {
                { type = 'row', label = 'Fondateur', value = 'fondateur' },
                { type = 'row', label = 'Fondation', value = 'fondation' },
                { type = 'row', label = 'Répression', value = 'répression' },
                { type = 'row', label = 'Extinction', value = 'extinction' },
                { type = 'row', label = 'Dates-clés', value = 'dates-clés' },
                { type = 'row', label = 'Sigle', plurallabel = 'Sigles', value = 'sigle' },
                { type = 'row', label = 'Surnom', plurallabel = 'Surnoms', value = 'surnom' },
                { type = 'row', label = 'Symbole', plurallabel = 'Symboles', value = 'symbole' },
                { type = 'row', label = 'Couleur', plurallabel = 'Couleurs', value = 'couleur' },
                { type = 'row', label = 'Devise', plurallabel = 'Devises', value = 'devise' },
                { type = 'row', label = 'Chiffre-clé', plurallabel = 'Chiffres-clés', value = 'chiffres-clés' }
            }
        },
        {
            type = 'table',
            title = 'Philosophie',
            rows = {
                { type = 'row', label = 'Philosophe', plurallabel = 'philosophes', value = 'philosophe' },
                { type = 'row', label = 'Prédécesseur', plurallabel = 'Prédécesseurs', value = 'prédécesseur' },
                { type = 'row', label = 'Idéologie soeur', plurallabel = 'Idéologies soeurs', value = 'idéologies soeurs' },
                { type = 'row', label = 'Successeur', plurallabel = 'Successeurs', value = '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 = 'Politique',
            rows = {
            	{ type = 'row', label = 'Régime politique', plurallabel = 'Régimes politiques', value = 'régime politique' },
                { type = 'row', label = 'Positionnement', plurallabel = 'Positionnements', value = 'positionnement' },
                { type = 'row', label = 'Idée', plurallabel = 'Idées', value = 'idée' },
                { type = 'row', label = 'Objectif', plurallabel = 'Objectifs', value = 'objectif' },
                { type = 'row', label = 'Méthode', plurallabel = 'Méthodes', value = 'méthode' },
                { type = 'row', label = 'Mouvement', plurallabel = 'Mouvements', value = 'mouvement' },
                { type = 'row', label = 'Financement', plurallabel = 'Financements', value = 'financement' }
            }
        },
        {
            type = 'table',
            title = 'Organisation',
            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 = 'row', label = 'Affiliation', plurallabel = 'Affiliations', value = 'affiliation' },
                { type = 'row', label = 'Coalition politique', plurallabel = 'Coalitions politiques', value = 'coalition politique' },
                { type = 'row', label = 'Type', plurallabel = 'Types', value = 'type' }
            }
        },
        {
            type = 'table',
            title = 'Localisation',
            rows = {
                { type = 'row', label = 'Lieu d\'influence', plurallabel = 'Lieux d\'influence', value = 'Lieu d\'influence' },
                { type = 'row', label = 'Pays', plurallabel = 'Pays', value = 'pays' },
                { type = 'row', label = 'Localisation', plurallabel = 'Localisations', value = 'localisation' },
                { type = 'row', label = 'Ville', plurallabel = 'Villes', value = 'ville' }
            }
        }
    }
}