Template talk:Bible
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)