Page 1 of 1

Psalm legend

Posted: 10 Nov 2021 18:22
by Nikolaus Hold
For all Psalm pages, a table of contents appears, which is completely squashed to the left of the green number bar (concrete example: Psalm 23). There used to be a number block next to the table of contents, but it was not as wide. Couldn't the green number bar be displayed below the table of contents? Then the table of contents would have more space and would not need so many lines.

Re: Psalm legend

Posted: 10 Nov 2021 21:48
by CHGiffen
I've noticed this, too. Perhaps it would be better to reinstate the old Psalm table in place of the Psalm legend. The following code will work for Psalms 2 through 149 (leaving a redlink for << with Psalm 1 and a redlink for .. with Psalm 150 ... but those pages can be edited separately):

Code: Select all

{{Psalm table|{{#explode:{{PAGENAME}}| |1}}|{{#expr:{{#explode:{{PAGENAME}}| |1}}-1}}|{{#expr:{{#explode:{{PAGENAME}}| |1}}+1}}}}
for Psalm 1, the code {{Psalm table|1|1|2}} will work (without a redlink for << )
and for Psalm 150, the code {{Psalm table|150|149|150}} will work (without a redlink for >> )

Re: Psalm legend

Posted: 11 Nov 2021 04:43
by CHGiffen
I have replaced the Psalm legend with the Psalm table, in accord with my suggestion. In addition to freeing up space for the Table of Contents box, the freedom to navigate from one Psalm to any of the other 149 Psalms seems much more preferable than only being to navigate to those Psalms numbered within just 10 of the current Psalm number

Re: Psalm legend

Posted: 12 Nov 2021 14:14
by Nikolaus Hold
Problem solved. Thank you.