Module:Infobox Recipe: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(export level as a number, for sorting purposes) |
(use lang:formatNum on displayed XP values, since they do get quite large) |
||
Line 264: | Line 264: | ||
:attr{ colspan = '5' } |
:attr{ colspan = '5' } |
||
:css{ ['text-align'] = 'center' } |
:css{ ['text-align'] = 'center' } |
||
:wikitext(hc(args.exp) and (args.exp) or editButton("'''?''' (edit)").. '[[Category:Needs experience recipe]]') |
:wikitext(hc(args.exp) and (formatNum(tonumber(args.exp))) or editButton("'''?''' (edit)").. '[[Category:Needs experience recipe]]') |
||
:IF(showFullRecipe) |
:IF(showFullRecipe) |
||
:wikitext(' (') |
:wikitext(' (') |
||
:wikitext(hc(args.displayXP) and (args.displayXP) or ("'''?'''")) |
:wikitext(hc(args.displayXP) and (formatNum(tonumber(args.displayXP))) or ("'''?'''")) |
||
:wikitext(' total)') |
:wikitext(' total)') |
||
:END() |
:END() |