Template talk:Verse

From Wikisource
Jump to navigation Jump to search

Can some other color beside blue be used? It makes people think it is a link. --Pmsyyz 12:08, 4 May 2006 (UTC)

I made it blue at User:Zhaladshar's request on the Scriptorium; it's possible to over-ride the colour using the color=#000 parameter. Jude (talk,contribs,email) 12:13, 4 May 2006 (UTC)

2010 reboot[edit]

I am also concerned that these labels look exactly like links. I have previously used a sea green colour (it's an HTML colour at #2E8B57) for an almost identical purpose in another template, as it is unobtrusive but easily distinguished from normal black text, and doesn't look like a link (dark and light blue both suffer from this, as light blue is an external link). Inductiveloadtalk/contribs 07:52, 1 May 2010 (UTC)

I have often thought the default colour should be changed, I just tried clicking one again! :-) I changed the colour, noting a problem, to match {{Pline}}. I don't use either of them much, but I do use the chapter/verse linking in the King James version. Cygnis insignis (talk) 20:15, 2 May 2010 (UTC)

Incorrect #if in template[edit]

There is an error in this template. It currently looks like this:

<span style="color:{{{color|{{{colour|{{{3|#00F}}}}}}}}};" id="{{#if: {{{chapter|}}}|{{{chapter|{{{1}}}}}}:|}}{{{verse|{{{2}}}}}}"><sup>{{{notext|{{{verse|{{{2}}}}}}}}}</sup></span>

But it should look like this:

<span style="color:{{{color|{{{colour|{{{3|#00F}}}}}}}}};" id="{{#if: {{{chapter|{{{1|}}}}}}|{{{chapter|{{{1}}}}}}:|}}{{{verse|{{{2}}}}}}"><sup>{{{notext|{{{verse|{{{2}}}}}}}}}</sup></span>

The missing parameter reference prevents this usage: {{Verse|1|1}} Doing it that way causes the id to be set to "1" instead of "1:1".

Mike 02:24, 13 June 2009 (UTC)

Ahhh. I missed that. Have fixed it now. Jude (talk) 11:41, 13 June 2009 (UTC)

You should use CSS rather than direct styles[edit]

I would make the template read as follows:

<!-- Start of span --><span

<!-- class -->class="verse-number{{#if|{{{align|}}}||-{{{align|}}}}}"

<!-- id -->id="{{#if: {{{chapter|{{{1|}}}}}}|{{{chapter|{{{1}}}}}}:|}}{{{verse|{{{2}}}}}}

<!-- End of open tag">{{{notext|{{{verse|{{{2}}}}}}}}}</ <!-- Closing tag --> span>

You would also need the following CSS classes added to the stylesheet:



Will Pittenger (talk) 14:52, 25 January 2013 (UTC)


Could this template be expanded to offer additional formatting? Here is an example of verse number within brackets, convenient when the verse number is inline. --Jerome Charles Potts (talk) 14:09, 5 April 2014 (UTC)