Module:Essai

De Adadov.net wiki
Documentation icon Documentation Module[voir] [éditer] [historique] [purger]

Test

local documentation = require('Module:Documentation').main

local p = {}

function showType() 
	if string.match(title, "doc") then
		p.type = "doc"
	else
		p.type = "std"
	end
end

function showTitle()
	print(tostring(mw.title.getCurrentTitle()))
end

return p