Template talk:Bible

(Difference between revisions)
Jump to: navigation, search
Line 11: Line 11:
 
This leaves any existing links intact and functional while adding the option of using different versions with the same template.
 
This leaves any existing links intact and functional while adding the option of using different versions with the same template.
 
-- [[User:Sans Deity|Sans Deity]] 18:54, 7 September 2006 (CDT)
 
-- [[User:Sans Deity|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:
 +
:* <nowiki>{{Bible|Genesis 5:3|version=niv}}</nowiki> uses NIV
 +
:* <nowiki>{{Bible|Genesis 5:3|version=asv}}</nowiki> uses American Standard
 +
: etc?  I put the version at the end, though it could be either.
 +
 +
 
----
 
----
 
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: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)

Revision as of 03:52, 8 September 2006

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.



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)

Personal tools
Namespaces
Variants
Actions
wiki navigation
IronChariots.Org
Toolbox