Template talk:Bible

From Iron Chariots Wiki
(Difference between revisions)
Jump to: navigation, search
(redirect link to talk page since about to delete template itself)
 
(7 intermediate revisions by 4 users not shown)
Line 15: Line 15:
 
:* <nowiki>{{Bible|Genesis 5:3|version=niv}}</nowiki> uses NIV
 
:* <nowiki>{{Bible|Genesis 5:3|version=niv}}</nowiki> uses NIV
 
:* <nowiki>{{Bible|Genesis 5:3|version=asv}}</nowiki> uses American Standard
 
:* <nowiki>{{Bible|Genesis 5:3|version=asv}}</nowiki> uses American Standard
: etc?  I put the version at the end, though it could be either.
+
: etc?  I put the version at the end, though it could be either. --[[User:Kazim|Kazim]] 04:53, 8 September 2006 (CDT)
  
 +
:: I thought of that, but it's far more complicated. I suppose I could write a "switch" template to do that (which is a utility why might use elsewhere as well).  Hmmm, I wonder if the interwiki includes support for two different variables. I'll look into that solution as well.  I'm going to be eliminating more duplicate and useless templates as I get time - this was just a preemptive strike to avoid having "Template:Bible" and "Template:BibleX". - [[User:Sans Deity|Sans Deity]] 09:43, 8 September 2006 (CDT)
  
 
----
 
----
Gah, this template suffers from the same bug as [[Template:WP-name]]: spaces in the URL aren't properly escaped.
+
Gah, this template suffers from the same bug as [[Template talk:WP-name|Template:WP-name]]: spaces in the URL aren't properly escaped.
 
--[[User:Arensb|Arensb]] 20:06, 31 July 2006 (MST)
 
--[[User:Arensb|Arensb]] 20:06, 31 July 2006 (MST)
 +
 +
== Add an icon, for clarity? ==
 +
 +
The [[Template:Bible|Bible]] template provides links to Bible passages. But these links look just like internal links. External links, like the one below, have an icon to indicate that this is an external link.
 +
 +
Wikimedia Commons has a public domain [http://commons.wikimedia.org/wiki/Image:Open_bible_01_01.svg icon] of a Bible which could be scaled down and added to the end of links produced by [[Template:Bible]], like this:
 +
 +
: The first [[creation]] story in {{Bible|Genesis 1}} http://www.ooblick.com/~arensb/bible_icon.png describes the creation of the world.
 +
 +
This would visually distinguish links that allow a reader to look up the passage being discussed, from links to Iron Chariots commentary on that particular passage.
 +
Comments?
 +
--[[User:Arensb|Arensb]] 14:51, 12 March 2007 (CDT)
 +
 +
:: The problem I have with this is that every icon is now a clickable link back to the icon's page. Hopefully there's a better solution. [[User:Sans Deity|Sans Deity]] 16:19, 15 March 2007 (CDT)
 +
 +
::: The way that external links work is with CSS: look for a specification for <tt>#bodyContent a.external</tt> in <tt>monobook/main.css</tt>. The way it works is a bit of a hack: it pads each link by 13 pixels on the right (enough to insert a 13x13 image) and uses <tt>external.png</tt> as a background, flush right, non-repeated. This effectively makes the image part of the link.
 +
::: Obviously, I can't make this change myself. --[[User:Arensb|Arensb]] 19:45, 15 March 2007 (CDT)
 +
 +
== What about us? ==
 +
 +
Another problem with this template is that it bypasses our own articles about the books of the Bible. How about linking the book name to our article but the chapter/verse (and, if possible, the open-Bible icon) to the Bible Gateway passage? Like this: {{User:Dcljr/Bibletemp|Genesis|4:1-3}}. This might introduce a little confusion, especially with short, one- or two-character chapter references (e.g., {{User:Dcljr/Bibletemp|Deuteronomy|4}}), where it's easier to overlook the fact that there's two different links being presented, but that can be minimized by linking the icon, as well. Unfortunately, I don't know how to do that. <small><s>(Note: This comment uses [[Template:Sandbox]], which is subject to change at any time. Revert it back to my last version if it's been changed to see what I'm talking about.)</s></small> - [[User:Dcljr|dcljr]] 16:51, 7 June 2007 (CDT)
 +
: Changed above comment to use my userspace instead of <tt><nowiki>{{sandbox}}</nowiki></tt>, so has some measure of permanence. - [[User:Dcljr|dcljr]] 02:07, 22 August 2007 (CDT)

Latest revision as of 19:04, 13 October 2007

I'd recommend changing this template so that you can choose the version (NIV or KJV). For example:

{{If|test={{niv|}}|then=[[Biblegatewayniv:{{{1}}}|{{{1}}}]]|else=[[Biblegatewaykjv:{{{1}}}|{{{1}}}]]}}

I think that'll work. Basically if you include the optional parameter (niv=anything) it should use the NIV link, anything else and it'll default to KJV.

Usage: {{Bible|Genesis 5:3}} uses KJV {{Bible|niv=blah|Genesis 5:3}} uses NIV

This leaves any existing links intact and functional while adding the option of using different versions with the same template. -- Sans Deity 18:54, 7 September 2006 (CDT)

I agree with the idea, but wouldn't it be better (if possible) to use something more like:
  • {{Bible|Genesis 5:3|version=niv}} uses NIV
  • {{Bible|Genesis 5:3|version=asv}} uses American Standard
etc? I put the version at the end, though it could be either. --Kazim 04:53, 8 September 2006 (CDT)
I thought of that, but it's far more complicated. I suppose I could write a "switch" template to do that (which is a utility why might use elsewhere as well). Hmmm, I wonder if the interwiki includes support for two different variables. I'll look into that solution as well. I'm going to be eliminating more duplicate and useless templates as I get time - this was just a preemptive strike to avoid having "Template:Bible" and "Template:BibleX". - Sans Deity 09:43, 8 September 2006 (CDT)

Gah, this template suffers from the same bug as Template:WP-name: spaces in the URL aren't properly escaped. --Arensb 20:06, 31 July 2006 (MST)

Add an icon, for clarity?

The Bible template provides links to Bible passages. But these links look just like internal links. External links, like the one below, have an icon to indicate that this is an external link.

Wikimedia Commons has a public domain icon of a Bible which could be scaled down and added to the end of links produced by Template:Bible, like this:

The first creation story in Genesis 1 Bible-icon.png http://www.ooblick.com/~arensb/bible_icon.png describes the creation of the world.

This would visually distinguish links that allow a reader to look up the passage being discussed, from links to Iron Chariots commentary on that particular passage. Comments? --Arensb 14:51, 12 March 2007 (CDT)

The problem I have with this is that every icon is now a clickable link back to the icon's page. Hopefully there's a better solution. Sans Deity 16:19, 15 March 2007 (CDT)
The way that external links work is with CSS: look for a specification for #bodyContent a.external in monobook/main.css. The way it works is a bit of a hack: it pads each link by 13 pixels on the right (enough to insert a 13x13 image) and uses external.png as a background, flush right, non-repeated. This effectively makes the image part of the link.
Obviously, I can't make this change myself. --Arensb 19:45, 15 March 2007 (CDT)

What about us?

Another problem with this template is that it bypasses our own articles about the books of the Bible. How about linking the book name to our article but the chapter/verse (and, if possible, the open-Bible icon) to the Bible Gateway passage? Like this: Genesis 4:1-3 Bible-icon.png. This might introduce a little confusion, especially with short, one- or two-character chapter references (e.g., Deuteronomy 4 Bible-icon.png), where it's easier to overlook the fact that there's two different links being presented, but that can be minimized by linking the icon, as well. Unfortunately, I don't know how to do that. (Note: This comment uses Template:Sandbox, which is subject to change at any time. Revert it back to my last version if it's been changed to see what I'm talking about.) - dcljr 16:51, 7 June 2007 (CDT)

Changed above comment to use my userspace instead of {{sandbox}}, so has some measure of permanence. - dcljr 02:07, 22 August 2007 (CDT)
Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox