Modification de Module:Infobox/Caractéristique
La modification peut être annulée. Veuillez vérifier les différences ci-dessous pour voir si c’est bien ce que vous voulez faire, puis publier ces changements pour finaliser l’annulation de cette modification.
Version actuelle | Votre texte | ||
Ligne 1 : | Ligne 1 : | ||
local localdata = require('Module:Infobox/Localdata') | local localdata = require('Module:Infobox/Localdata') | ||
local | local games = require('Module:Jeux') | ||
local keyWords = { | local keyWords = { | ||
['dérivée'] = { subject = 'Statistique dérivée', link = 'Statistiques dérivées' }, | |||
['dérivée'] | ['primaire'] = { subject = 'Statistique primaire', link = 'Statistiques primaires' }, | ||
[' | ['compétence'] = { subject = 'Compétence', link = 'Compétence' } | ||
[' | |||
} | } | ||
Ligne 14 : | Ligne 12 : | ||
if localdata['jeux'..index] then | if localdata['jeux'..index] then | ||
local game = games.buildLinksList({ localdata['jeux'..index] }) | |||
if game then | |||
row = { type = 'table', title = game, rows = { | |||
row = { type = 'table', title = | { type = 'row', label = 'SPECIAL', value = 'special'..index }, | ||
{ type = 'row', label = ' | { type = 'row', label = 'Exigences', value = 'requiert'..index }, | ||
{ type = 'row', label = ' | { type = 'row', label = 'Rangs', value = 'rangs'..index }, | ||
{ type = 'row', label = ' | { type = 'row', label = 'Effets', value = 'effets'..index }, | ||
{ type = 'row', label = ' | { type = 'row', label = '[[Form ID|Base ID]]', value = 'baseid'..index } | ||
{ type = 'row', label = ' | |||
}} | }} | ||
end | end |