Module:Infobox Recipe: Difference between revisions
swap positions of XP and Album XP, replace "XP" with "Experience" where there is space, make "Experience", "KP", and "Album" be links to their own pages
(use lang:formatNum on displayed XP values, since they do get quite large) |
(swap positions of XP and Album XP, replace "XP" with "Experience" where there is space, make "Experience", "KP", and "Album" be links to their own pages) |
||
Line 204:
:tag('th')
:attr{ colspan = '2' }
:wikitext('
:done()
:tag('td')
:attr{ colspan = '11' }
:css{ ['text-align'] = 'center' }
:wikitext(hc(args.exp) and (formatNum(tonumber(args.exp))) or editButton("'''?''' (edit)").. '[[Category:Needs experience recipe]]')▼
:wikitext(album_xp or 'Unknown')▼
:IF(showFullRecipe)▼
:wikitext(' (')▼
:wikitext(hc(args.displayXP) and (formatNum(tonumber(args.displayXP))) or ("'''?'''"))▼
:wikitext(' total)')▼
:END()▼
:done()
:done()
Line 239 ⟶ 243:
:tag('th')
:attr{ colspan = '5' }
:wikitext('[[Knowledge|KP]]')
:done()
:tag('th')
:attr{ colspan = '5' }
:wikitext('[[Album|Album XP]]')
:done()
:done()
Line 264 ⟶ 268:
:attr{ colspan = '5' }
:css{ ['text-align'] = 'center' }
▲ :wikitext(album_xp or 'Unknown')
▲ :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()
:done()
:done()
|