Template talk:Bible ref

Here is a new template for setting up the Bible Gateway Scripture reference links. You can see my use of it in the Annals of the World article. (I also left two instances in the Template Test section of the Practice Page.) Comments, anyone? --Temlakos 23:37, 15 December 2006 (EST)

Template Naming Convention
To my knowledge renaming this template should not cause a problem for any applications its been used for previously. However, it just occurred to me that the "Bible" template may be needed for a Bible portal footer. It might be best to rename it again before its applied any further.

The name most consistent with existing convention would be "Bible reference" or Bible ref". You may not care, but if you have any preference, let me know. Its best to be consisent with titles for memory sake - which is the reason why I've been renaming the Bible categories to a similar type (lower case / singular).

--Mr. Ashcraft 14:08, 24 December 2006 (EST)

The problem with renaming this template a second time is that it would force two redirects--and to my knowledge, the MediaWiki engine can't handle more than one redirect.

The solution to that is to visit the redirect page named "Template:BibleRef" and change its redirection by hand as soon as you rename the main template.

That said, "Bible ref" sounds better to me. The longer the template name, the more likely someone trying to apply it will misspell it and get no effect from it.

As I might have mentioned, I'm an old hand with MediaWiki template coding. But I have never been a Wiki administrator.

BTW: I liked your combination of the Bible and quote templates.--Temlakos 14:29, 24 December 2006 (EST)


 * Right - its called a Double Redirect, which are basically broken links. There's a special page where they are listed (Special:DoubleRedirects). Occasionally we have to go in a fix a few.


 * I switched the template to template:Bible ref and fixed the BibleRef redirect.


 * Thanks. --Mr. Ashcraft 21:17, 24 December 2006 (EST)

Special Use
For books with numeric designations such as I Kings, special instruction is necessary.

Using %20 between the 1 and Kings, (which make a space in HTM), makes a functional link but the %20 is also visible on the page. Example below...





But, leaving a space doesnt work.





An underscore appears to be the answer - "I_Kings".





--Mr. Ashcraft 23:32, 28 December 2006 (EST)


 * For the those reading this many years after it was first written, please be aware that this problem has been fixed; the template itself will convert "I Kings" to "I_Kings" for you. ~ Webster (talk) 22:09, 21 November 2015 (EST)