24,527
ARTICLES
ON THIS WIKI
ON THIS WIKI
Module:Seealso
This is the Lua module for Template:Seealso. Below is the documentation for that template. |
This template will list any number items of interest in a columned bullet list, using the {{Itemref}} template.
Syntax[edit]
{{Seealso|<1>|<2>|<3>|<...>}}
Parameters[edit]
-
1
...: The page names of the items to link to.
Examples[edit]
{{Seealso |Wood |Wood Planks |Cobblestone }}
gives...
The following items may also be of interest:
local p = {}
local g = require("Module:Common")
local cl = require("Module:ColumnList")
local ir = require("Module:Itemref")
function p.main(frame)
local frame, args = g.getFrameAndArgs(frame)
local out = "The following items may also be of interest:\n"
out = out .. cl.pre .. "<ul>"
for k, v in pairs(args) do
out = out .. "<li>" .. ir.makeItemref(g.trim(v), nil, nil, nil, nil) .. "</li>\n"
end
out = out .. "</ul>" .. cl.post
return out
end
return p
View All ATL Twitter Feed
Discussion
To discuss the topics on this wiki, you can visit our community forums!