Difference between revisions of "Template:Citation Style documentation/pages"
(Update hyphen guidance, because the template no longer renders correctly with the previous advice. Getting very long.) |
m (1 revision imported) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | * <b id="csdoc_page">page</b>: The number of a single page in the source that supports the content. Use either {{para|page}} or {{para|pages}}, but not both. Displays preceded by {{code|p.}} unless {{para| | + | * <b id="csdoc_page">page</b>: The number of a single page in the source that supports the content. Use either {{para|page}} or {{para|pages}}, but not both. Displays preceded by {{#if:{{{journal|}}}|colon ({{code|:}})|{{code|p.}} unless {{para|no-pp|yes}}{{#if: {{{work|}}}| or '''work''' (or an [[#csdoc_work|alias]]) is defined}}}}. If hyphenated, use {{tl|hyphen}} to indicate this is intentional (e.g. {{para|page|<nowiki>3{{hyphen}}12</nowiki>}}), otherwise several editors and semi-automated tools will assume this was a misuse of the parameter to indicate a page range and will convert {{para|page|<nowiki>3-12</nowiki>}} to {{para|pages|<nowiki>3{{ndash}}12</nowiki>}}. Alias: '''p'''. |
− | *OR: <b id="csdoc_pages">pages</b>: A range of pages in the source that supports the content. Use either {{para|page}} or {{para|pages}}, but not both. Separate using an en dash (–); separate non-sequential pages with a comma (,); do not use to indicate the total number of pages in the source. Displays preceded by {{#if:{{{journal|}}}|colon ({{code|:}})|{{code|pp. | + | *OR: <b id="csdoc_pages">pages</b>: A range of pages in the source that supports the content. Use either {{para|page}} or {{para|pages}}, but not both. Separate using an en dash (–); separate non-sequential pages with a comma (,); do not use to indicate the total number of pages in the source. Displays preceded by {{#if:{{{journal|}}}|colon ({{code|:}})|{{code|pp.}} unless {{para|no-pp|yes}}{{#if: {{{work|}}}| or '''work''' (or an [[#csdoc_work|alias]]) is defined}}}}. <br/>Hyphens are automatically converted to en dashes; if hyphens are appropriate because individual page numbers contain hyphens, for example: pp. 3-1–3-15, use [[Help:Citation_Style_1#Accept-this-as-written_markup|double parentheses]] to tell the template to display the value of {{para|pages}} without processing it, and use {{tl|hyphen}} to indicate to editors that a hyphen is really intended: {{para|pages|<nowiki>((3{{hyphen}}1{{ndash}}3{{hyphen}}15))</nowiki>}}. Alternatively, use {{para|at}}, like this: {{para|at|pp. 3-1&ndash;3-15}}. Alias: '''pp'''.{{#if:{{{journal|}}}|| |
− | **<b id="csdoc_nopp"> | + | **<b id="csdoc_nopp">no-pp</b>: Set to <var>yes</var>, <var>y</var>, or <var>true</var> to suppress the {{code|p.}} or {{code|pp.}} notations where this is inappropriate; for example, where {{para|page|Front cover}} or {{para|pages|[[passim]]}}.}} |
− | *OR: <b id="csdoc_at">at</b>: For sources where a page number is inappropriate or insufficient. Overridden by {{para|page}} or {{para|pages}}. Use only one of {{para|page}}, {{para|pages}}, or {{para|at}}. | + | *OR: <b id="csdoc_at">at</b>: For sources where a page number is inappropriate or insufficient. Overridden by {{para|page}} or {{para|pages}}. Use only one of {{para|page}}, {{para|pages}}, or {{para|at}}.<br />Examples: page (p.) or pages (pp.); section (sec.), column (col.), paragraph (para.); track; hours, minutes and seconds; act, scene, canto, book, part, folio, stanza, back cover, liner notes, indicia, colophon, dust jacket, verse. |
− | + | * For {{para|quote-page}} and {{para|quote-pages}} used in conjunction with {{para|quote}}, see [[#csdoc_quote|here]]. |
Latest revision as of 05:11, 17 December 2020
- page: The number of a single page in the source that supports the content. Use either
|page=
or|pages=
, but not both. Displays preceded byp.
unless|no-pp=yes
. If hyphenated, use {{hyphen}} to indicate this is intentional (e.g.|page=3{{hyphen}}12
), otherwise several editors and semi-automated tools will assume this was a misuse of the parameter to indicate a page range and will convert|page=3-12
to|pages=3{{ndash}}12
. Alias: p. - OR: pages: A range of pages in the source that supports the content. Use either
|page=
or|pages=
, but not both. Separate using an en dash (–); separate non-sequential pages with a comma (,); do not use to indicate the total number of pages in the source. Displays preceded bypp.
unless|no-pp=yes
.
Hyphens are automatically converted to en dashes; if hyphens are appropriate because individual page numbers contain hyphens, for example: pp. 3-1–3-15, use double parentheses to tell the template to display the value of|pages=
without processing it, and use {{hyphen}} to indicate to editors that a hyphen is really intended:|pages=((3{{hyphen}}1{{ndash}}3{{hyphen}}15))
. Alternatively, use|at=
, like this:|at=pp. 3-1–3-15
. Alias: pp.- no-pp: Set to yes, y, or true to suppress the
p.
orpp.
notations where this is inappropriate; for example, where|page=Front cover
or|pages=passim
.
- no-pp: Set to yes, y, or true to suppress the
- OR: at: For sources where a page number is inappropriate or insufficient. Overridden by
|page=
or|pages=
. Use only one of|page=
,|pages=
, or|at=
.
Examples: page (p.) or pages (pp.); section (sec.), column (col.), paragraph (para.); track; hours, minutes and seconds; act, scene, canto, book, part, folio, stanza, back cover, liner notes, indicia, colophon, dust jacket, verse. - For
|quote-page=
and|quote-pages=
used in conjunction with|quote=
, see here.