View source for Module:Country listdata
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local p = {}
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame,{removeBlanks=false})
local list = ""
if args[1] then
list = mw.html.create('table')
list:css("background-color","#ecfcf4")
for n,c in ipairs(args) do
if c~="" then
local title = mw.title.new("Template:Country data "..c)
local link
if title.isRedirect then
link = "["..title:fullUrl("redirect=no").." "..title.fullText.."]"
else
link = "[["..title.fullText.."]]"
end
local var = args["var"..n] or ""
local vartext = var=="" and "" or " (<code>"..var.."</code> variant)"
local note = args["note"..n] or ""
000
1:0
Template used on this page:
Return to Module:Country listdata.