Module:Infobox road/sections/sandbox: Difference between revisions
imported>Happy5214 More testing |
(No difference)
|
Latest revision as of 09:30, 5 August 2013
Documentation for this module may be created at Module:Infobox road/sections/sandbox/doc
local p = {}
function p.sections(frame)
local pframe = frame:getParent()
local config = frame.args -- the arguments passed BY the template, in the wikitext of the template itself
local args = pframe.args -- the arguments passed TO the template, in the wikitext that transcludes the template
local sectionModule = require "Module:Infobox road/sections"
local section = sectionModule._section
for number = 1, 4 do
section(number, args)
end
local infoboxModule = require 'Module:Infobox'
return infoboxModule.infobox{}
end
return p