Module:Recipe: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 211:
local xp = v.experience == '?' and edit or v.experience
 
local citeText = frame:expandTemplate{
title = 'CiteText',
args = {
text = 'Experience boost',
quote = 'The experience shown is for players on the normal gamemode, without any other [[experience boosts]] active.'
}
}
 
requirement = mw.html.create('tr')
Line 216 ⟶ 224:
:tag('td'):attr('colspan', 2):wikitext(skillpic(v.name, nil, true)):done()
:tag('td'):wikitext(levelText):done()
:tag('td'):wikitext((tonumber(xp) ~= nil and commas._add(xp) or xp) .. citeText):done()
 
table.insert(requirements, requirement)

Navigation menu