Template:CitePub/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 11:32, 17 October 2024. The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:CitePub.
It contains usage information, categories, and other content that is not part of the original template page.
Template:CitePub invokes function pubref in Module:References using Lua.
Template:CitePub invokes Module:References using Lua.

Usage

{{CitePub|author=|title=|pages=|publisher=|pubyear=|name=}}

author

The author of the publication, last name then first. If no author is listed, set to "no".

title

The title of the publication.

pages

The pages which are being cited, use hyphens to denote a page range, and commas to separate pages and page ranges, e.g. 3, 4, 5-7, 10.

publisher

The publisher of the publication, usually found on the back cover, the spine, or the first few pages.

pubyear

The year the publication was published.

Standard parameters

The following parameters are standard across all citation templates.

notes

Optional. This parameter allows you to add text beginning one space after the end of the citation. Having no formatting (meaning you will have to format it yourself), this area can be used for anything you require.

name

Optional. If you want to use this reference more than once, you must name it the first time you use it, then whenever you want to use it again, add {{NamedRef|name}} wherever you want it to re-appear.

group

Optional. This can be used to put the reference into a specific group, to separate it from other types of reference. See here for more on reference groups.