Module:Essai

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

Test

local documentation = require('Module:Documentation').main
local title = tostring(mw.title.getCurrentTitle())

local p = {}

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

print(p.type)

return p