Module:Layout/Production/View/Wikijunior

Uit Wikibooks
 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.

De module wordt geïnitialiseerd met de configuratie in Module:Layout/Production/Configuration.

Controleer op scriptfouten of opmaak notificaties.




local wikijunior = {};

function wikijunior.main( call )
	local response = "";
	response = wikijunior.box( call );
    return response;
end

function wikijunior.box( call )
	local box = call.include( "box" );
	
	if ( call.title == nil or type( call.title ) ~= 'string' or call.title == "" ) then return ""; end
    return box.wikiproject( string.format( call.message.WIKIJUNIOR.INTERLINK, tostring( call.title ), tostring( call.title ) ) );
end

return wikijunior;
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.