62 737
modifications
mAucun résumé des modifications |
mAucun résumé des modifications |
||
Ligne 5 : | Ligne 5 : | ||
local icon = require('Module:Icône') | local icon = require('Module:Icône') | ||
if localdata[' | if localdata['succès'] then | ||
success = localdata[' | success = localdata['succès'] | ||
end | end | ||
local gamerscore = localdata['gamerscore'] | |||
local trophy = localdata['type de trophée'] | |||
if gamerscore or trophy then | |||
if success == nil then | if success == nil then | ||
success = mw.title.getCurrentTitle().text | success = mw.title.getCurrentTitle().text | ||
Ligne 16 : | Ligne 19 : | ||
success = success ..'<div style="float:right;padding-left:15px;position:relative;white-space:nowrap;">' | success = success ..'<div style="float:right;padding-left:15px;position:relative;white-space:nowrap;">' | ||
if | if gamerscore then | ||
success = success ..'<span style="padding-left:4px;">'.. icon.build({ 'gamerscore' }) ..'</span>' | success = success ..'<span style="padding-left:4px;">'.. icon.build({ 'gamerscore' }) ..'</span>' | ||
success = success ..'<span style="padding-left: 2px;position:relative;top:1px;">'.. | success = success ..'<span style="padding-left: 2px;position:relative;top:1px;">'.. gamerscore ..'</span>' | ||
end | end | ||
if | if trophy then | ||
success = success ..'<span style="padding-left:4px;">'.. icon.build({ 'trophéeps3' }) ..'</span>' | success = success ..'<span style="padding-left:4px;">'.. icon.build({ 'trophéeps3' }) ..'</span>' | ||
success = success ..'<span style="padding-left: 2px;position:relative;top:1px;">'.. | success = success ..'<span style="padding-left: 2px;position:relative;top:1px;">'.. trophy ..'</span>' | ||
end | end | ||
modifications