Difference between revisions of "Template:Bibleverse/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Jfhutson
imported>Jonesey95
(add and describe test cases)
 
Line 3: Line 3:
 
[[File:Saint James the Just.jpg|thumb|right|[[James, brother of Jesus|James the Just]], whose judgment was adopted in the [[Council of Jerusalem|apostolic decree]] of {{Bibleverse|Acts|15:19-29|NIV}} ]]
 
[[File:Saint James the Just.jpg|thumb|right|[[James, brother of Jesus|James the Just]], whose judgment was adopted in the [[Council of Jerusalem|apostolic decree]] of {{Bibleverse|Acts|15:19-29|NIV}} ]]
  
"f" for following
+
KJV; "f" for following
 
{{testcase table|Genesis|1:1f|kjv}}
 
{{testcase table|Genesis|1:1f|kjv}}
  
Chabad
+
JP; Chabad
 
{{testcase table|Genesis|1:1|jp}}
 
{{testcase table|Genesis|1:1|jp}}
  
 +
JP with Genesis i:1 (error)
 
{{testcase table|Genesis|i:1|jp}}
 
{{testcase table|Genesis|i:1|jp}}
  
A book not in the list of aliases:
+
ESV; A book not in the list of aliases:
 
{{testcase table|Two Corinthians|3:5|esv}}
 
{{testcase table|Two Corinthians|3:5|esv}}
  
Spaces between numbers and colon:
+
ESV; Spaces between numbers and colon:
 
{{testcase table| 1 Cor | 3 : 5 | esv}}
 
{{testcase table| 1 Cor | 3 : 5 | esv}}
  
Use a comma as the chapter/verse separator:
+
HE; Use a comma as the chapter/verse separator:
 
{{testcase table| 1 samuel | 3, 5 | he}}
 
{{testcase table| 1 samuel | 3, 5 | he}}
  
Use a period in abbreviation:
+
HE; Use a period in abbreviation:
 
{{testcase table|1 sam.|3:5|he}}
 
{{testcase table|1 sam.|3:5|he}}
  
Book with no chapters:
+
No version; Book with no chapters:
 
{{testcase table| Obadiah|3}}
 
{{testcase table| Obadiah|3}}
 +
 +
KJV; Book with no chapters:
 
{{testcase table| Obadiah|3|kjv}}
 
{{testcase table| Obadiah|3|kjv}}
  
Reference a chapter:
+
KJV; Reference a chapter:
 
{{testcase table|Exodus|3|kjv}}
 
{{testcase table|Exodus|3|kjv}}
 +
 +
NIV; Reference a chapter:
 
{{testcase table|Exodus|3|niv}}
 
{{testcase table|Exodus|3|niv}}
 +
 +
NIV; Reference a chapter range:
 +
{{testcase table|Exodus|3-4|niv}}
 +
 +
NIV; Reference a chapter and verse:
 +
{{testcase table|Exodus|3:2|niv}}
 +
 +
NIV; Reference a chapter and range of verses:
 +
{{testcase table|Exodus|3:2-4|niv}}
 +
 +
NIV; Reference a chapter range and range of verses:
 +
{{testcase table|Exodus|3:2-4:4|niv}}
 +
 +
NRSV; Reference a chapter:
 +
{{testcase table|Exodus|3|NRSV}}
 +
 +
NRSV; Reference a chapter range:
 +
{{testcase table|Exodus|3-4|NRSV}}
 +
 +
NRSV; Reference a chapter and verse:
 +
{{testcase table|Exodus|3:2|NRSV}}
 +
 +
NRSV; Reference a chapter and range of verses:
 +
{{testcase table|Exodus|3:2-4|NRSV}}
 +
 +
NRSV; Reference a chapter range and range of verses:
 +
{{testcase table|Exodus|3:2-4:4|NRSV}}
 +
  
 
Oremus NRSV doesn't have Apocrypha, so switch to NRSVAE:
 
Oremus NRSV doesn't have Apocrypha, so switch to NRSVAE:
 
{{testcase table|Bel and the Dragon|1}}
 
{{testcase table|Bel and the Dragon|1}}
  
Use a version not explicitly in the code, but at Biblegateway:
+
JUB; Use a version not explicitly in the code, but at Biblegateway:
 
{{testcase table|1 Corinthians|4:2|JUB}}
 
{{testcase table|1 Corinthians|4:2|JUB}}
 +
 +
"5" as version; Use a version not explicitly in the code, but at Biblegateway:
 
{{testcase table|1 Corinthians|4:2|5}}
 
{{testcase table|1 Corinthians|4:2|5}}
  
A Biblegateway version number for a version we want to send to wikisource:
+
"9 as version; A Biblegateway version number for a version we want to send to wikisource:
 
{{testcase table|1 cor|5|9}}
 
{{testcase table|1 cor|5|9}}
  
Chapter-chapter range:
+
No version; Chapter-chapter range:
 
{{testcase table|1 Corinthians|1-3}}
 
{{testcase table|1 Corinthians|1-3}}
  
Chapter:verse-chapter:verse range:
+
No version; Chapter:verse-chapter:verse range:
 
{{testcase table|1 Corinthians|1:5-3:11}}
 
{{testcase table|1 Corinthians|1:5-3:11}}
  
Chapter:verse-verse range:
+
No version; Chapter:verse-verse range:
 
{{testcase table|1 Corinthians|4:2-8}}
 
{{testcase table|1 Corinthians|4:2-8}}
  

Latest revision as of 05:14, 29 August 2020

KJV; "f" for following Template:Testcase table

JP; Chabad Template:Testcase table

JP with Genesis i:1 (error) Template:Testcase table

ESV; A book not in the list of aliases: Template:Testcase table

ESV; Spaces between numbers and colon: Template:Testcase table

HE; Use a comma as the chapter/verse separator: Template:Testcase table

HE; Use a period in abbreviation: Template:Testcase table

No version; Book with no chapters: Template:Testcase table

KJV; Book with no chapters: Template:Testcase table

KJV; Reference a chapter: Template:Testcase table

NIV; Reference a chapter: Template:Testcase table

NIV; Reference a chapter range: Template:Testcase table

NIV; Reference a chapter and verse: Template:Testcase table

NIV; Reference a chapter and range of verses: Template:Testcase table

NIV; Reference a chapter range and range of verses: Template:Testcase table

NRSV; Reference a chapter: Template:Testcase table

NRSV; Reference a chapter range: Template:Testcase table

NRSV; Reference a chapter and verse: Template:Testcase table

NRSV; Reference a chapter and range of verses: Template:Testcase table

NRSV; Reference a chapter range and range of verses: Template:Testcase table


Oremus NRSV doesn't have Apocrypha, so switch to NRSVAE: Template:Testcase table

JUB; Use a version not explicitly in the code, but at Biblegateway: Template:Testcase table

"5" as version; Use a version not explicitly in the code, but at Biblegateway: Template:Testcase table

"9 as version; A Biblegateway version number for a version we want to send to wikisource: Template:Testcase table

No version; Chapter-chapter range: Template:Testcase table

No version; Chapter:verse-chapter:verse range: Template:Testcase table

No version; Chapter:verse-verse range: Template:Testcase table

 |4=NAB|4=nab
Template:Testcase tableTemplate:Testcase tableTemplate:Testcase table
Template:Testcase tableTemplate:Testcase tableTemplate:Testcase table
Template:Testcase tableTemplate:Testcase tableTemplate:Testcase table
Template:Testcase tableTemplate:Testcase tableTemplate:Testcase table
Template:Testcase tableTemplate:Testcase tableTemplate:Testcase table
‐ ‐ (hyphen) - - (hyphen-minus) ‑ ‑ (non-breaking hyphen)
Template:Testcase table Template:Testcase table Template:Testcase table
Template:Testcase table Template:Testcase table Template:Testcase table
Template:Testcase table Template:Testcase table Template:Testcase table
Template:Testcase table Template:Testcase table Template:Testcase table
Template:Testcase table Template:Testcase table Template:Testcase table
– – — —
Template:Testcase table Template:Testcase table
Template:Testcase table Template:Testcase table
Template:Testcase table Template:Testcase table
Template:Testcase table Template:Testcase table
Template:Testcase table Template:Testcase table