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.
-- The interface forms a call object which will contain valid inputdata for the systemlocalcall={}-- The note object delivers functions that handles notes localnote={};-- Initialize parameters to the call objectcall.debugging,call.help,call.mistake,call.named,call.unnamed={},{},{},{},{};call.content,call.style="","";call.environment="production";call.include=function(...)returnfalseend;call.debugging[1]="The Call object has been initialized";call.pass=true;functioncall.add_debug(...)-- : booleanif#call.debugging<1ornotnote.composition(...)thenreturnfalse;endcall.debugging[#call.debugging]=call.debugging[#call.debugging].."<br><br>"..note.composition(...);returntrue;endfunctioncall.add_mistake(...)-- : booleancall.pass=false;if#call.mistake<1ornotnote.composition(...)thenreturnfalse;endcall.mistake[#call.mistake]=call.mistake[#call.mistake].."<br><br>"..note.composition(...);returntrue;endfunctioncall.add_new_debug(...)-- : booleanifnotnote.composition(...)thenreturnfalse;endcall.debugging[#call.debugging+1]=note.composition(...);returntrue;endfunctioncall.add_new_mistake(...)-- : booleancall.pass=false;ifnotnote.composition(...)thenreturnfalse;endcall.mistake[#call.mistake+1]=note.composition(...);returntrue;endfunctioncall.init(CFG,environment)call.environment=environment;call.include=function(...)returnCFG.INCLUDE(call.environment,...)end;endfunctionnote.composition(...)localresult="";localarguments={...};if#arguments==0thenreturnfalse;endif#arguments==1thenresult=arguments[1];elseresult=string.format(...);end;returnresult;endreturncall;