Module:SB tree: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 138: | Line 138: | ||
-- Create the table | -- Create the table | ||
result = "{| class=\"wikitable\"\n" | result = "{| class=\"wikitable\"\n|-\n" | ||
.. "! " | .. "! " | ||
-- Create the header cell | -- Create the header cell | ||
| Line 169: | Line 169: | ||
result = result .. "|}" | result = result .. "|}" | ||
-- Debugger option | |||
local debugg = yesno(frame.args["debug"]) | local debugg = yesno(frame.args["debug"]) | ||
if debugg == true then | |||
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | |||
end | |||
return frame:preprocess(result) | |||
end | end | ||
return p | return p | ||