Module:Infobox Recipe: Difference between revisions

use lang:formatNum on displayed XP values, since they do get quite large
(export level as a number, for sorting purposes)
(use lang:formatNum on displayed XP values, since they do get quite large)
Line 264:
:attr{ colspan = '5' }
:css{ ['text-align'] = 'center' }
:wikitext(hc(args.exp) and (formatNum(tonumber(args.exp))) or editButton("'''?''' (edit)").. '[[Category:Needs experience recipe]]')
:IF(showFullRecipe)
:wikitext(' (')
:wikitext(hc(args.displayXP) and (formatNum(tonumber(args.displayXP))) or ("'''?'''"))
:wikitext(' total)')
:END()
20,866

edits