Difference between revisions of "Template:Citation Style documentation/pages"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
w>Matthiaspaul
(CE)
 
m (1 revision imported)
 
(2 intermediate revisions by 2 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 {{#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'''.
 
* <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'''.
*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|}}}||
+
*OR: <b id="csdoc_pages">pages</b>: A range of pages in the source that supports the content{{#if:{{{journal|}}}|&#32;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|}}}||
 
**<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]]}}.}}
 
**<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}}.<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.
 
*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]].
 
* For {{para|quote-page}} and {{para|quote-pages}} used in conjunction with {{para|quote}}, see [[#csdoc_quote|here]].

Latest revision as of 16:40, 12 March 2023

  • 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.