Module:ScriptItem: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 110: Line 110:
local lines = {}
local lines = {}
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).."<br>\n")
table.insert(lines, "__NOTOC__"..p.getPageTopBoxes(frame).."\n")
table.insert(lines, "Available since "..p.since(frame).."<br>\n")
table.insert(lines, "<div style='margin-top: 12px;'>Available since "..p.since(frame).."</div>\n")
table.insert(lines, p.syntax(frame).."\n")
table.insert(lines, p.syntax(frame).."\n")
table.insert(lines, p.description(frame))
table.insert(lines, "<div style='margin-top: 12px;'>"..p.description(frame).."</div>\n")
return lines
return lines
end
end
Line 350: Line 350:
entries[i] = p.formatDescription(entry)
entries[i] = p.formatDescription(entry)
end
end
return "<div style='margin-top: 10px;'>"..table.concat(entries, '<br>').."</div>"
return table.concat(entries, '<br>')
end
end


6,834

edits

Navigation menu