Module:Outline of the week

local olotw = {}; 
-- Define a function to display the selected page name

olotw.pagename = function()

	-- Define a list of Wikipedia outline page names
	local pages = {
	    "[[Outline of physics]]",
	    "[[Outline of artificial intelligence]]",
	    "[[Outline of computer science]]",
	    "[[Outline of biology]]",
	    "[[Outline of France]]",
	    "[[Outline of zoology]]",
	    "[[Outline of astronomy]]",
	    "[[Outline of energy]]",
	    "[[Outline of Neptune]]",
	    "[[Outline of Alabama]]",
	    "[[Outline of the Solar System]]",
	    "[[Outline of the American Civil War]]",
	    "[[Outline of fish]]",
	    "[[Outline of ancient India]]",
	    "[[Outline of the Moon]]",
	    "[[Outline of jazz]]",
	    "[[Outline of extraterrestrial life]]",
	    "[[Outline of exercise]]",
	    "[[Outline of William Shakespeare]]",
	    "[[Outline of Earth science]]",
	    "[[Outline of black holes]]",
	    "[[Outline of diabetes]]",
	    "[[Outline of the Middle Ages]]",
	    "[[Outline of archaeology]]",
	    "[[Outline of Taipei]]",
	    "[[Outline of relationships]]",
	    "[[Outline of Bob Marley]]",
	    "[[Outline of ancient China]]",
	    "[[Outline of finance]]",
	    "[[Outline of crime]]",
	    "[[Outline of architecture]]",
	    "[[Outline of green politics]]",
	    "[[Outline of globalization]]",
	    "[[Outline of dinosaurs]]",
	    "[[Outline of ancient Rome]]",
	    "[[Outline of open educational resources]]",
	    "[[Outline of industrial organization]]",
	    "[[Outline of ecology]]",
	    "[[Outline of business management]]",
	    "[[Outline of ancient Greece]]",
	    "[[Outline of transport]]",
	    "[[Outline of critical theory]]",
	    "[[Outline of biochemistry]]",
	    "[[Outline of the Renaissance]]",
	    "[[Outline of ancient Egypt]]",
	    "[[Outline of anthropology]]",
	    "[[Outline of marketing]]",
	    "[[Outline of literature]]",
	    "[[Outline of music]]",
	    "[[Outline of philosophy]]",
	    "[[Outline of psychology]]",
	    "[[Outline of sociology]]"
	}

    -- Get the current week number
    local week = os.date("%U")

    -- Use the week number to select a page from the list
    local page = pages[tonumber(week) % #pages + 1]

    -- Display the selected page
    return page
end
return olotw

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.