62 734
modifications
mAucun résumé des modifications |
Aucun résumé des modifications |
||
(3 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
local localdata = require('Module:Infobox/Localdata') | local localdata = require('Module:Infobox/Localdata') | ||
local | local abb = require('Module:Abréviation') | ||
local keyWords = { | local keyWords = { | ||
['dérivée'] | ['caractéristique'] = { subject = 'Caractéristique', link = 'Caractéristiques' }, | ||
[' | ['dérivée'] = { subject = 'Caractéristique dérivée', link = 'Caractéristiques dérivées' }, | ||
[' | ['compétence'] = { subject = 'Compétence', link = 'Compétences' }, | ||
-- déprécié | |||
['primaire'] = { subject = 'Caractéristique', link = 'Caractéristiques' }, | |||
} | } | ||
Ligne 12 : | Ligne 14 : | ||
if localdata['jeux'..index] then | if localdata['jeux'..index] then | ||
if | if abb.links({ localdata['jeux'..index] }) then | ||
local keyWord = keyWords[localdata['type']] or {} | local keyWord = keyWords[localdata['type']] or {} | ||
local link = keyWord.link | local link = keyWord.link | ||
row = { type = 'table', title = | row = { type = 'table', title = abb.links({ localdata['jeux'..index], link }), rows = { | ||
{ type = 'row', label = 'Modifie', value = 'modifie'..index }, | { type = 'row', label = 'Modifie', value = 'modifie'..index }, | ||
{ type = 'row', label = 'Gouvernée par', value = 'gouvernée par'..index }, | { type = 'row', label = 'Gouvernée par', value = 'gouvernée par'..index }, |
modifications