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 content of a template as wiki-objectlocalcontent={}localTEMPLATE={};TEMPLATE.ICON="[[File:OOjs UI icon bold-a.svg|40x40px%s]]";-- This function adds template contents to the call object for use in the viewfunctioncontent.main(call)-- The functions from other modules that are used in this functionlocalextract=call.include("extract");-- This will be stored in the call.content variablelocalresult={};-- In the header we link to edit the documentation by an icon and give some comments about the status of development of the templatelocallink="";ifcall.sourcethenlink="|link="..call.source;endresult.header=string.format(TEMPLATE.ICON,link)..string.format(call.message.TEMPLATE.DEVELOPMENT,call.version);-- The actual content of the template is stored in the call.content.elaboration result.elaboration=extract.content(call);-- Pass the constants to call.contentresult.TEMPLATE=TEMPLATE;call.content=result;returncall;endreturncontent;