Module:Enemy List: Difference between revisions
Use plinkt styling with no-border; Use Module:Mw.html extension methods; Always link to the page in case it's different from Name
Californ1a (talk | contribs) m (edit buttons) |
(Use plinkt styling with no-border; Use Module:Mw.html extension methods; Always link to the page in case it's different from Name) |
||
Line 1:
require('strict')
require('Module:Mw.html extension')
local yesno = require('Module:Yesno')
local album_xp_data = mw.loadData('Module:Experience/data').album
Line 42 ⟶ 43:
:wikitext('This list is updated dynamically. '..purge())
:done()
:
:th('Unlock<br>Level'):done()
▲ :attr{ colspan = '2' }
:th('HP'):done()
:
:
:
:
:
:
:tag('th'):wikitext('Found At'):done()▼
:done()
for _, monster in ipairs(data) do
local edit = editbutton("'''?''' (edit)", monster[
local row = out:
:
:
:
:
:
:
:
:
local location_text = {}
Line 75 ⟶ 73:
end
row
:
:
:
end
Line 89 ⟶ 87:
:wikitext('This list is updated dynamically. '..purge())
:done()
:
▲ :attr{ colspan = '2' }
:th('Weapon<br>Strength'):done()
:th('[[File:Knowledge icon.png|16px|link=Knowledge]] KP'):done()
:
:
:
:done()
Line 105 ⟶ 100:
local edit = editbutton("'''?''' (edit)", monster['Name'])
local row = out:tag('tr')
:
:
:
:
:
local location_text = {}
Line 117 ⟶ 112:
end
row
:
:
:
end
Line 144 ⟶ 139:
'?Version anchor',
'?Version default',
'?#-',
'sort=Profession Level A',
'order=asc',
|