Template:Citation Style documentation/pages: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* <span id="csdoc_page" />'''page''': 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|nopp|y}}{{#if: {{{work|}}}|&#32;or '''work''' is defined}}.
* <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|}}}|&#32;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'''.
*<span id="csdoc_pages" />OR: '''pages''': 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 {{code|pp.}} unless {{para|nopp|y}}{{#if: {{{work|}}}|&#32;or '''work''' is defined}}. {{#if: {{{lua|}}}|Hyphens are automatically converted to en dashes; if hyphens are appropriate, for example: pp. 3-1–3-15, use {{para|at}}.}}
*OR: <b id="csdoc_pages">pages</b>: A range of pages in the source that supports the content{{#if:{{{journal|}}}|or the range of pages of the article as a whole, or both (using the following notation: ''article-page-range'' [''content-supporting-pages''], for example: pp. 4–10 [5, 7])|}}. 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|}}}|&#32;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&amp;ndash;3-15}}. Alias: '''pp'''.{{#if:{{{journal|}}}||
**<span id="csdoc_nopp" />'''nopp''': Set to <var>y</var> to suppress the {{code|p.}} or {{code|pp.}} notations where this is inappropriate; for example, where {{para|page|Front cover}}.
**<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]]}}.}}
*<span id="csdoc_at" />OR: '''at''': 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.
: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 16:14, 4 August 2021

  • page: The number of a single page in the source that supports the content. Use either |page= or |pages=, but not both. Displays preceded by <syntaxhighlight lang="text" class="" id="" style="" inline="1">p.</syntaxhighlight> 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 by <syntaxhighlight lang="text" class="" id="" style="" inline="1">pp.</syntaxhighlight> 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&ndash;3-15. Alias: pp.
    • no-pp: Set to yes, y, or true to suppress the <syntaxhighlight lang="text" class="" id="" style="" inline="1">p.</syntaxhighlight> or <syntaxhighlight lang="text" class="" id="" style="" inline="1">pp.</syntaxhighlight> notations where this is inappropriate; for example, where |page=Front cover or |pages=passim.
  • 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.