MediaWiki talk:RefToolbarConfig.js
Line citations, simplifications/optimizations and other ideas I've had
This page should have line number features added to Template:BookCitation. Put the numbers of the lines after 'l./ll.' (l. for one line; ll. for more than one line) followed by a space. Perhaps call it {{{line}}} if only one is cited, {{{startline}}} and {{{endline}}} when multiple lines are cited. Should come after the page number citations. It would also be good to get it for online serials, though here I am not sure if we should be citing the line numbers as they are on the BS01 pages or on the original BIONICLEstory website? I don't quite think the former would work, would it, because differently sized screens display the pages differently, right? Perhaps here a dynamically changing system would be better, based on the screen sized used, if it is possible to implement? In any case, it should be a piece of cake to add it for BookCitation at least, and would be very useful indeed!
I also think we could benefit from having author, release date and publisher cited.
In this manner if not citing multiple pages but not line numbers:
Farshtey, Greg. (January 1, 2005). "Gali/Gali Nuva." Encyclopedia. Scholastic USA. pp. 25-26. ISBN 9780439916400.
In this manner if citing a single page and a specific number of lines:
Farshtey, Greg. (January 1, 2005). "Gali/Gali Nuva." Encyclopedia. Scholastic USA. p. 25, ll. 24-44. ISBN 9780439916400.
In this manner if citing multiple pages and multiple lines (across the multiple pages):
Farshtey, Greg. (January 1, 2005). "Gali/Gali Nuva." Encyclopedia. Scholastic USA. p. 25, ll. 24-44. p. 26, ll. 1-27. ISBN 9780439916400.
Could also keep the date to simply being a year (2005).
Furthermore, I think we could greatly simplify things by just using {{{page}}} and {{{pages}}}, instead of {{{page}}}, {{{startpage}}} and {{{endpage}}}. That is how they do it on Wikipedia. In their book citation template, it is simply a matter of writing pages=7-12 if you need to cite more than one page with your source, which outputs "pp. 7.12".
Another way could be something kind of inspired by MLA format. For the multi-page and multi-line source above it would look like this:
Farshtey, Greg. (January 1, 2005). "Gali/Gali Nuva." Encyclopedia. Scholastic USA. pp. 25-26; ll. 24-44, 1-27. ISBN 9780439916400
This indicates that it is page 25, lines 24-44, and then page 26, lines 1-27.
Just some ideas, some of them could probably be greatly improved. Lukas Exemplar (talk) 22:40, 24 February 2025 (UTC)
EDIT: It could even benefit from a direct quotation parameter. Lukas Exemplar (talk) 23:04, 24 February 2025 (UTC)