Module:Citation/CS1: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
All the functions not directly associated with {cite} moved to Module:Citation |
remove Module:Wikitext requirement no longer used here, and remove parts of createTag no longer needed |
||
வரிசை 5:
--require "mw.text"
local z = {}
nowiki = true,▼
}▼
function hideinprint(content)
வரி 52 ⟶ 32:
local content = t.contents or ""
local attrs = {}
▲ for n,v in pairs(t.params) do
return frame:preprocess("{{#tag:" .. name .. "|" .. content .. table.concat(params) .. "}}")▼
else ▼
if (v) then▼
▲ table.insert(attrs, n .. "=\"" .. wikiescape(v) .. "\"")
return "<" .. name .. " " .. table.concat(attrs, " ") .. "/>"▼
else
end
▲ return
end
end
| |||