Module:ScriptItem: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 111: Line 111:
table.insert(lines, frame:preprocess("{{DISPLAYTITLE:"..p.getDisplayedName(frame).."}}"))
table.insert(lines, frame:preprocess("{{DISPLAYTITLE:"..p.getDisplayedName(frame).."}}"))
table.insert(lines, "__NOTOC__"..p.getPageTopBoxes(frame).."\n")
table.insert(lines, "__NOTOC__"..p.getPageTopBoxes(frame).."\n")
table.insert(lines, "<div style='margin-top: 15px;'>Available since "..p.since(frame).."</div>\n")
table.insert(lines, "<div style='margin-top: 20px;'>Available since "..p.since(frame).."</div>\n")
table.insert(lines, "<div style='margin-top: 5px;'>"..p.syntax(frame).."</div>\n")
table.insert(lines, "<div style='margin-top: 6px;'>"..p.syntax(frame).."</div>\n")
table.insert(lines, "<div style='margin-top: 15px;'>"..p.description(frame).."</div>\n")
table.insert(lines, "<div style='margin-top: 20px;'>"..p.description(frame).."</div>\n")
return lines
return lines
end
end
6,833

edits