Deze module is nog in ontwikkeling (versie 0.0) en wordt getest.
De Module:Layout is bedoeld om snel, consistent en uitgebreid een pagina op te maken.
Er is een op de module afgestemde handleiding over deze onderwijswiki beschikbaar.
localflight={};functionflight.feedback(call)mw.addWarning("<b>De Module:Layout is nog NIET gereed voor gebruik!</b>");localresponse="";ifnotcall.passthencall.support="help";endifcall.support=="ignore"thenreturnresponse;endlocalmistake,debugging,help="","","";if#call.mistake>0thenmistake="<br><pre>"..string.upper(call.message.MISTAKE.HEADER)..":\n\n* "..table.concat(call.mistake,"\n\n* ").."\n\n"..call.message.MISTAKE.EXPLANATION.."</pre><br>";mw.addWarning(mistake);endifcall.support=="debug"orcall.support=="help"thendebugging="<br><pre>"..string.upper(call.message.DEBUG.HEADER)..":\n\n# "..table.concat(call.debugging,"\n# ").."\n\n"..call.message.DEBUG.EXPLANATION.."</pre><br>";endlocalhelp="";ifcall.support=="help"thenhelp="<br><pre>"..string.upper(call.message.HELP.HEADER)..":\n\n# "..table.concat(call.help,"\n# ").."\n\n"..call.message.HELP.EXPLANATION.."</pre><br>";endreturnmistake..debugging..help;end-- This function handles any internal errors that the system recognized itself. -- This is possible because each submodule in the system and the library checks it's input again.-- Errors should never occur if the call has no mistakes.-- The problem can be bugs in the security checks, the bagagge handling or the system itself. functionflight.landed(call)return"";endfunctionflight.takeoff(call)-- returns a string as a result from a call to the system.localresponse="";if#call.mistake~=0thenreturnresponse;endlocalscript=call.include(call.object);ifscript~=""andtype(script)=="table"andscript.mainthenresponse=tostring(script.main(call));endreturnresponse;endreturnflight;