Jump to content

Module:Cite/doc

From Inqubos Wiki
Revision as of 22:47, 8 October 2025 by Webadmin (talk | contribs) (Created page with "{{high-risk |article-space=yes |no-percent=yes}} {{Notice|This module should ''only'' be used on articles that are near the post-expand include size limit, in order to prevent them exceeding it. Unless there is a pressing technical need, use appropriate cs1 and {{tlx|citation}} templates}} {{Lua|Module:Cite/config|Module:Citation/CS1|Module:Arguments}} {{csdoc|cs1}} == Usage == This module may be used to replace any of the cs1|2 templates in articles that ar...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Cite

Lua error: expandTemplate: template "Citation Style documentation/cs1" does not exist.

Usage

This module may be used to replace any of the cs1|2 templates in articles that are nearing the post-expand include size limit. Such use should only be done to prevent an article from exceeding the PEIS limit. If necessary, this module may be used in templates that wrap a cs1|2 template.

Examples

This module requires no parameters but does require the canonical name of a cs1 template without the cite prefix: cite book → book, cite web → web. To replace {{citation}} templates, use citation.

The structure for calls to this module:

{{#invoke:cite |<template name>|<cs1 parameters>}}

where:

#invoke:cite – calls this module: Module:cite
|<template name> – is the canonical name of the template without the cite prefix; this is the #invoke: function call; case insensitive
|<cs1 parameters> – are all of the parameters required by {{cite <template name>}}

To go from {{cite book}}:

{{cite book |author=EB Green |date=1915 |title=Title |publisher=PseudoRandom}}
EB Green (1915). Title. PseudoRandom.

write:

{{#invoke:cite |book |author=EB Green |date=1915 |title=Title |publisher=PseudoRandom}}
EB Green (1915). Title. PseudoRandom.