Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Iterator
(view source)
Revision as of 02:59, 11 September 2022
6 bytes added
,
2 years ago
m
no edit summary
Line 105:
Line 105:
local allowedRemodels = context['allowedRemodels']
local allowedRemodels = context['allowedRemodels']
−
local listBase = (context['listBase'] == true)
+
local listBase = (context['listBase'] ==
'
true
'
)
local collection = {}
local collection = {}
local index = 1
local index = 1
Line 450:
Line 450:
end
end
−
testIterator('shipsByType', { type = '11', sort = '_class' , listBase = true})
+
testIterator('shipsByType', { type = '11', sort = '_class' , listBase =
'
true
'
})
testIterator('shipsByType', { sort = '_name'})
testIterator('shipsByType', { sort = '_name'})
−
testIterator('shipsByTrueId', { sort = '_id', from = '1', to = '20', listBase = true})
+
testIterator('shipsByTrueId', { sort = '_id', from = '1', to = '20', listBase =
'
true
'
})
testIterator('shipsBy', { pred = 'is_auxiliary' , sort = '_name'})
testIterator('shipsBy', { pred = 'is_auxiliary' , sort = '_name'})
Memetails
1,031
edits