Module:Infobox/Notes de jeu vidéo
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 Notes de jeu vidéo.
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 (créer).
Voir les statistiques d'appel depuis le wikicode sur l'outil wstat et les appels depuis d'autres modules.
-- Module:Infobox/Notes de jeu vidéo
local generic = require("Module:Infobox/Fonctions")
return {
style = 'width:320px;',
maincolor = '#004080',
thirdcolor= 'white',
parts = {
{
type = 'title',
value = 'titre', -- => | titre= dans l’article
},
-------------------------------------------------------------------------
-- Agrégateurs de notes
-------------------------------------------------------------------------
{
type = 'table',
title = 'Agrégateur de note',
rows = {
{
type = 'row',
label = 'Média',
value = 'Note',
style = {['font-weight'] = 'bold', ['text-align'] = 'center', ['width'] = '60%'}
},
{
type = 'row',
label = '[[MetaCritic]] (US)',
value = 'metacritic',
valueStyle = {['text-align'] = 'center', ['width'] = '40%'}
},
{
type = 'row',
label = '[[OpenCritic]] (UK)',
value = 'opencritic',
valueStyle = {['text-align'] = 'center', ['width'] = '40%'}
},
{
type = 'row',
label = '[[GameRankings]]',
value = 'gamerankings',
valueStyle = {['text-align'] = 'center', ['width'] = '40%'}
},
{
type = 'row',
label = '[[MobyGames]]',
value = 'mobygames',
valueStyle = {['text-align'] = 'center', ['width'] = '40%'}
},
},
},
-------------------------------------------------------------------------
-- Presse Papier
-------------------------------------------------------------------------
{
type = 'table',
title = 'Presse papier',
rows = {
{
type = 'row',
label = 'Média',
value = 'Note',
style = {['font-weight'] = 'bold', ['text-align'] = 'center', ['width'] = '60%'}
},
{
type = 'row',
label = '[[EGM]] (US)',
value = 'egm',
valueStyle = {['text-align'] = 'center', ['width'] = '40%'}
},
{
type = 'row',
label = '[[PC Gamer]] (UK)',
value = 'pcgamer',
valueStyle = {['text-align'] = 'center', ['width'] = '40%'}
},
{
type = 'row',
label = '[[Am-Mag]] (FR)',
value = 'ammag',
valueStyle = {['text-align'] = 'center', ['width'] = '40%'}
},
{
type = 'row',
label = '[[Edge (magazine)|Edge]] (UK)',
value = 'edge',
valueStyle = {['text-align'] = 'center', ['width'] = '40%'}
},
{
type = 'row',
label = '[[CGMagazine]] (CA)',
value = 'cgmagazine',
valueStyle = {['text-align'] = 'center', ['width'] = '40%'}
},
},
},
}
}