Template talk:RQ:Heywood Troia Britanica

From Wiktionary, the free dictionary
Latest comment: 4 months ago by Sgconlaw in topic Pagination errors
Jump to navigation Jump to search

Pagination errors

[edit]

@Sgconlaw: I replaced the Early English Books Online version with one from the Internet Archive. Pages 108120 are n117–n129 in the URL, followed by repeated 101104 page numbers (URL n130–n133) and then 125127 (URL n134–n136), 128 (URL 108). After these, the pagination restarts from 109 to 124 (URL 109–123, n153 for 124). After 124, pagination restarts again, from 123 (URL n154 then 124–). After 265, one page is 254 (URL n297), followed by pagination from 301 (URL n298, 302–). How should the repeating page numbers be handled? J3133 (talk) 15:10, 15 February 2024 (UTC)Reply

Hi, @J3133. I use the following rules of thumb:
  • If the page numbers in the text are merely misprinted, then have the user specify the correct page numbers. This would apply to the four pages after page 120, which should have been page numbers 121–124, as the page after that is 125. If desired, have the template output the correct page numbers in brackets, like this: page [121].
  • If the page numbers are really repeated, then add an "A" behind the second set (and a "B" behind the third set and so on, though I've never had to do this). This would apply to page numbers 109–124 after page 128, which should then be specified as page 109A, 110A, and so on.
  • If the pagination in the work starts from 1 in different parts (which does not seem to be the case here), then I have the user specify the name of the part using |part= and deal with the pagination in each part separately.
Hope that helps. — Sgconlaw (talk) 20:02, 15 February 2024 (UTC)Reply
@Sgconlaw: I have updated the template and documentation. Should |stanza= be |1=? J3133 (talk) 03:14, 16 February 2024 (UTC)Reply
@J3133: great! A few thoughts:
  • Shouldn't the canto numbers be in Roman numerals, as used in the work?
  • For the page numbers displayed in brackets, to save space you could just type the following (also, use [ and ] to mark up the brackets, otherwise you're going to get that oddness where the closing bracket is not part of the external link):
{{#switch:{{{page|}}}{{{1|}}}
  | 37|38|121|... = [{{{page|{{{1|}}}}}}]
}}
  • I usually don't assign a numeric position to a parameter unless the parameter is pretty much mandatory for the template to work. Thus, if we don't expect users to bother specifying the stanza in most cases, it's probably best not to assign it the numeric position |1=.
  • Glad to see that you've updated the documentation page to explain the pagination errors!
Sgconlaw (talk) 11:09, 16 February 2024 (UTC)Reply
@Sgconlaw: I changed the template to save space. You had used {{R2A}} for |canto= and written in the documentation “the canto number in Arabic numerals”; they do not seem to be in Roman numerals. J3133 (talk) 11:24, 16 February 2024 (UTC)Reply
@J3133: ah, sorry, my mistake! — Sgconlaw (talk) 11:26, 16 February 2024 (UTC)Reply