Module:Documentation: Difference between revisions
From Video Credit Archive
Content deleted Content added
wikpedia>Mr. Stradivarius don't use pp-template for move-protected pages, to avoid them being wrongly categorised in Category:Wikipedia pages with incorrect protection templates |
wikpedia>WOSlinker use mw.html |
||
Line 3:
-- Get required modules.
local getArgs = require('Module:Arguments').getArgs
local messageBox = require('Module:Message box')
Line 128 ⟶ 127:
--]]
local env = p.getEnvironment(args)
local root =
root
-- This div tag is from {{documentation/start box}}, but moving it here
-- so that we don't have to worry about unclosed tags.
return tostring(root)
end
Line 617 ⟶ 616:
-- Renders the start box html.
-- @data - a table of data generated by p.makeStartBoxData.
local sbox =
sbox
local links = data.links
if links then
sbox
end
return tostring(sbox)
|