Module:ItemsNav/All
Jump to navigation
Jump to search
The Legend of Zelda
Items in The Legend of Zelda |
---|
Click on an item |
The Adventure of Link
Items in The Adventure of Link |
---|
Click on an item |
A Link to the Past
Items in A Link to the Past |
---|
Click on an item |
Link's Awakening
Link's Awakening DX
Items in Link's Awakening DX |
---|
Click on an item |
Ocarina of Time
Items in Ocarina of Time |
---|
Click on an item |
Ocarina of Time 3D
Items in Ocarina of Time 3D |
---|
GearItemsArrowsSongs Child LinkAdult Link |
Click on an item |
Majora's Mask
Items in Majora's Mask |
---|
Click on an item |
Majora's Mask 3D
Items in Majora's Mask 3D |
---|
GearItemsMasksSongs |
Click on an item |
Oracle of Seasons
Items in Oracle of Seasons |
---|
Click on an item |
Oracle of Ages
Items in Oracle of Ages |
---|
Click on an item |
Four Swords
Items in Four Swords |
---|
Click on an item |
The Wind Waker
Items in The Wind Waker |
---|
Click on an item |
Four Swords Adventures
Items in Four Swords Adventures |
---|
Click on an item |
The Minish Cap
Items in The Minish Cap |
---|
Click on an item |
Twilight Princess
Items in Twilight Princess |
---|
Click on an item |
Phantom Hourglass
Items in Phantom Hourglass |
---|
InventoryCollectionTreasure Top ScreenBottom Screen |
Click on an item |
Spirit Tracks
Items in Spirit Tracks |
---|
Click on an item |
Skyward Sword
Items in Skyward Sword |
---|
Click on an item |
A Link Between Worlds
Items in A Link Between Worlds |
---|
Click on an item |
Tri Force Heroes
Items in Tri Force Heroes |
---|
Click on an item |
Breath of the Wild
Items in Breath of the Wild |
---|
Click on an item |
Tears of the Kingdom
Items in Tears of the Kingdom |
---|
Click on an item |
local p = {}
local Franchise = require("Module:Franchise")
local Items = require("Module:ItemsNav")
local utilsMarkup = require("Module:UtilsMarkup")
local data = mw.loadData("Module:ItemsNav/Data")
function p.Main(frame)
local result = ""
for _, game in ipairs(Franchise.enumGames()) do
local section = ""
if Franchise.canonicity(game) == "canon" and not Franchise.isRemake(game) then
if data[game] then
section = section .. Items.printNav(game)
end
for _, remake in ipairs(Franchise.remakes(game)) do
if data[remake] then
section = section .. utilsMarkup.heading(3, Franchise.display(remake)) .. Items.printNav(remake)
end
end
end
if section ~= "" then
result = result .. utilsMarkup.heading(2, Franchise.display(game)) .. section
end
end
return result
end
return p