Talk:Cookbook

From Legacy Roblox Wiki
Revision as of 03:42, 23 July 2011 by >Emess (→‎TOC linkage script)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Suggestions

Perhaps linking the table of contents on the main page like actual TOC?

Posted by blocco (talk) on Jan 31, 2011 (Monday) at 23:20 (UTC) [Discuss format]
I'll do that. I'll just write a quick Lua script to automate it :D CamoyContribs (January 31 2011)

Made some changes

I made a new category. I think it somewhat organizes all the chapters together because I hate seeing uncategorized pages. Emess talk 05:56, 4 February 2011 (UTC)

added API definition

Application programming interface, since nobody really ever says the extended version of it. Ozzypig 21:32, 4 February 2011 (UTC)

TOC linkage script

In case anyone was curious of the script I used to link the TOC, here it is.

Example
print(c:gsub('%*%*([%d%.]+)(%s+)([%w ]+)', function(a, b, c)
	return '**[[Cookbook_(Chapter_'..a:sub(1, 1)..')#'..c:gsub(' ', '_')..'|'..a..b..c..']]'
end))

Just set c to be equal to the original TOC, and it'll give you the linked one :D CamoyContribs (February 5 2011)

  • Would anybody be upset if the author section is removed? I feel it just gets in the way. If people want to find the author the history tab has all the info they need.--Gordonrox24 | Talk 03:27, 23 July 2011 (UTC)
I personally don't care. It's fine for me either way. Emess (talk : contribs) 03:42, 23 July 2011 (UTC)