Module:Cite web
This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
මෙම Lua module පිටු බොහෝ ගණනක භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම මොඩියුලයට අදාළ /sandbox හෝ /testcases උපපිටු. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
This module should only be used on articles which are near the post-expand include size limit, in order to prevent them exceeding it. Unless there is a pressing technical need, use {{Cite web}} like normal. |
මෙම මොඩියුලය මතු දැක්වෙන මොඩියුල මත යැපෙයි: |
Usage
සංස්කරණයThis module may be placed directly on articles by replacing {{Cite web|
with {{#invoke:Cite web||
(note the double pipe). This is likely to be unclear to other editors and should only be done to prevent pages exceeding the post-expand include size limit. It is also fine to use in templates that wrap {{Cite web}}.
For the module that actually implements {{Cite web}}, see Module:Citation/CS1.
TemplateData
සංස්කරණයThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Cite web
This module is like {{Cite web}} with two exceptions. It is only for use on pages with lots of citations (e.g. several hundred) where that is causing technical problems, and you must pass an empty first parameter. For all other usage information, see [[Template:Cite web]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Required blank parameter | 1 | no description | Unknown | optional |
local p = {}
local CS1 = require('Module:Citation/CS1')
p[''] = function(frame)
local newFrame = {
getParent = function(self)
return frame
end,
getTitle = function(self)
return 'Template:Cite web'
end,
args = {CitationClass='web'}
}
setmetatable(newFrame, {
__index = function(t, k)
if type(frame[k]) == 'function' then
return function(...)
return frame[k](frame, select(2, ...))
end
else
return frame[k]
end
end
})
return CS1.citation(newFrame)
end
return p