Jump to content

Module:Cite SSRN

From Humanipedia
Revision as of 21:23, 3 February 2025 by Humanipedia (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error in package.lua at line 80: module 'Module:Yesno' not found. Script error: No such module "High-use". Lua error in package.lua at line 80: module 'Module:Yesno' not found. Lua error in package.lua at line 80: module 'Module:Yesno' not found.

Template:Cs1 modules
{{#invoke:Cite arXiv}}arXiv preprints
{{#invoke:Cite AV media}}audio and visual media
{{#invoke:Cite AV media notes}}AV media liner notes
{{#invoke:Cite bioRxiv}}bioRxiv preprints
{{#invoke:Cite book}}books and chapters
{{#invoke:Cite CiteSeerX}}CiteSeerX papers
{{#invoke:Cite conference}}conference papers
{{#invoke:cite document}}short, stand-alone, offline documents
{{#invoke:Cite encyclopedia}}edited collections
{{#invoke:Cite episode}}radio or TV episodes
{{#invoke:Cite interview}}interviews
{{#invoke:Cite journal}}academic journals
{{#invoke:Cite magazine}}magazines, periodicals
{{#invoke:Cite mailing list}}public mailing lists
{{#invoke:Cite map}}maps
{{#invoke:Cite medRxiv}}medRxiv preprints
{{#invoke:Cite news}}news articles
{{#invoke:Cite newsgroup}}online newsgroups
{{#invoke:Cite podcast}}podcasts
{{#invoke:Cite press release}}press releases
{{#invoke:Cite report}}reports
{{#invoke:Cite serial}}audio or video serials
{{#invoke:Cite sign}}signs, plaques
{{#invoke:Cite speech}}speeches
{{#invoke:Cite SSRN}}SSRN papers
{{#invoke:Cite tech report}}technical reports
{{#invoke:Cite thesis}}theses
{{#invoke:Cite web}}web sources not covered by the above
See alsoSpecific-source templates
Citation Style 1 wrapper templates

Usage

This module may be placed directly on articles by replacing {{Cite SSRN| with {{#invoke:Cite SSRN|| (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 SSRN}}.

For the module that actually implements {{Cite SSRN}}, see Module:Citation/CS1.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Cite SSRN in articles based on its TemplateData.

TemplateData for Cite SSRN

<templatedata> { "description": "This module is like {{Cite SSRN}} 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 SSRN.", "params": { "1": {

 "label": "Required blank parameter"

} } } </templatedata>


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 SSRN'
	    end,
	    args = {CitationClass='ssrn'}
	}
	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