Aller au contenu

Module:Infobox/Notes de jeu vidéo

Une page de Wikipédia, l'encyclopédie libre.
Ceci est une version archivée de cette page, en date du 3 février 2025 à 15:30 et modifiée en dernier par Aelxen (discuter | contributions) (Rajout de quelques médias de test). 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 Notes de jeu vidéo.


-- Module:Infobox/Notes de jeu vidéo

local generic = require("Module:Infobox/Fonctions")
-- local wikidatamodule = require("Module:Wikidata") -- si besoin pour Wikidata

return {
    style     = 'width:320px;',
    maincolor = '#004080',
    thirdcolor= 'white',

    parts = {
        {
            type  = 'title',
            value = 'titre',  -- => | titre= dans l’article
        },
		
		{
            type  = 'table',
            title = 'Agrégateur de note',
            rows  = {
                {
                    type = 'subheader2col',
                    col1 = 'Média',
                    col2 = 'Note',
                },
                {
                    type = 'row2col',
                    col1 = '[[MetaCritic]] (US)',
                    col2 = 'metacritic',  -- => | metacritic=... dans l’article
                },
                {
                    type = 'row2col',
                    col1 = '[[OpenCritic]] (UK)',
                    col2 = 'opencritic',  -- => | opencritic=... 
                },
            },
        },
		
        {
            type  = 'table',
            title = 'Presse papier',
            rows  = {
                {
                    type = 'subheader2col',
                    col1 = 'Média',
                    col2 = 'Note',
                },
                {
                    type = 'row2col',
                    col1 = '[[EGM]] (US)',
                    col2 = 'egm',
                },
                {
                    type = 'row2col',
                    col1 = '[[PC Gamer]] (UK)',
                    col2 = 'pcgamer',
                },
                {
                    type = 'row2col',
                    col1 = '[[Am-Mag]] (FR)',
                    col2 = 'ammag',
                },
                {
                    type = 'row2col',
                    col1 = '[[Edge (magazine)|Edge]] (UK)',
                    col2 = 'edge',
                },
                {
                    type = 'row2col',
                    col1 = '[[Amstrad PC (magazine)|Amstrad PC]] (FR)',
                    col2 = 'amstradpc',
                },
            },
        },

        {
            type  = 'table',
            title = 'Presse numérique',
            rows  = {
                {
                    type = 'subheader2col',
                    col1 = 'Média',
                    col2 = 'Note',
                },
                {
                    type = 'row2col',
                    col1 = '[[Eurogamer]] (UK)',
                    col2 = 'eurogamer',
                },
                {
                    type = 'row2col',
                    col1 = '[[Gamekult]] (FR)',
                    col2 = 'gamekult',
                },
                {
                    type = 'row2col',
                    col1 = '[[GamesRadar+]] (US)',
                    col2 = 'gamesradar',
                },
                {
                    type = 'row2col',
                    col1 = '[[Jeuxvideo.com]] (FR)',
                    col2 = 'jeuxvideo.com',
                },
                {
                    type = 'row2col',
                    col1 = '[[Gamekult]] (FR)',
                    col2 = 'gamekult',
                },
                {
                    type = 'row2col',
                    col1 = '[[SensCritique]] (FR)',
                    col2 = 'senscritic',
                },
                {
                    type = 'row2col',
                    col1 = '[[GameSpot]] (US)',
                    col2 = 'gamekult',
                },
                {
                    type = 'row2col',
                    col1 = '[[Polygon (site web)|Polygon]] (US)',
                    col2 = 'polygon',
                },
                {
                    type = 'row2col',
                    col1 = '[[Kotaku]]] (US)',
                    col2 = 'kotaku',
                },
                {
                    type = 'row2col',
                    col1 = '[[MGG (site web)|Millenium]] (FR)',
                    col2 = 'millenium',
                },
                {
                    type = 'row2col',
                    col1 = '[[JeuxActu]] (FR)',
                    col2 = 'jeuxactu',
                },
            },
        },
    }
}