Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
Register
Advertisement

Navbox Requests

Hey guys, I figured that since we don't really have a section for requests of people making navboxes, and I'm completely out of my depth in this regard, would someone mind helping me create the ChromatiCraft navbox? I can help with the categorisation and organisation of the pages, I just need someone to write the code. Cheers, Luke14199 (talk) 22:53, 19 February 2016 (UTC)

It's not really code; well, it is, but the formatting is constant and easy to copy. Just start with this:
--<languages />
--<pre>
local p = {}
p.navbox = function(navbox, highlightline, group, list, line, ni, l)

local cc = l{"ChromatiCraft", [=[ChromatiCraft]=]}

local blocks = [=[Blocks]=]
local generators = [=[Generators]=]
local consumers = [=[Consumers]=]

local items = [=[Items]=]
local tools = [=[Tools]=]
local components = [=[Components]=]

return navbox{title = cc, mod = "CRC",
	group{name = "blocks", title = blocks,
		list{title = generators,
			ni{"Generator", "Generator (ChromatiCraft)", "Generator"},
			ni{"Superduper Generator"}
		},
		list{title = consumers,
			ni{"Super Macerator"},
			ni{"Super Macerator"}
		}
	},
	group{name = "items", title = items,
		list{title = tools,
			ni{"Teleporty Thingy"},
			ni{"Drill of Doom"}
		},
		list{title = components,
			ni{"Drill Head of Doom"},
			ni{"Pizza"}
		}
	},
}

end
return p
--</pre>

extend it, and put it at Module:Navbox/ChromatiCraft. I'll add the translation tags. -Xbony2 (talk) 00:33, 20 February 2016 (UTC)

Just FYI, I have started scratching: User:3tusk/Sandbox/Navbox_ChromatiCraft. T3==ThaumicTechTinker, Urey.S.Knowledge Welcome back, commander 03:06, 18 June 2016 (UTC)
Advertisement