Biblesource test cases:
No grouping, no ref
edit- Expected results
- Successful creation of Bible passage name with reference note that includes a direct link to Wikisource.
Examples
edit{{User:Joren/Bible | Genesis | 1:1 | AV}}
Genesis 1:1 [1]
{{User:Joren/Bible | Exodus | 20:2 | text=The Ten Commandments | title=The Ten Commandments (Exodus 20:2-17)}}
The Ten Commandments[2]
Refs
edit- ^ Genesis 1:1 , King James Version (Authorized, 1611)
- ^ The Ten Commandments (Exodus 20:2-17), King James Version (Oxford Standard, 1769)
Grouping
edit- Expected results
- If group parameter is used, groups included ref notes into an editor-defined group of references.
Parameter: group=bible
edit{{User:Joren/Bible | Genesis | 1:1 | AV | group=bible}}
Genesis 1:1 [bible 1]
{{User:Joren/Bible | Exodus | 20:2 | text=The Ten Commandments | title=The Ten Commandments (Exodus 20:2-17) | group=bible}}
The Ten Commandments[bible 2]
No parameter (default group)
edit{{User:Joren/Bible | Genesis | 1:1 | AV}}
Genesis 1:1 [1]
{{User:Joren/Bible | Exodus | 20:2 | text=The Ten Commandments | title=The Ten Commandments (Exodus 20:2-17)}}
The Ten Commandments[2]
Refs
editGroup "Bible"
edit- ^ Genesis 1:1 , King James Version (Authorized, 1611)
- ^ The Ten Commandments (Exodus 20:2-17), King James Version (Oxford Standard, 1769)
Default group
edit- ^ Genesis 1:1 , King James Version (Authorized, 1611)
- ^ The Ten Commandments (Exodus 20:2-17), King James Version (Oxford Standard, 1769)
Inside a ref tag
edit- Expected results
- Generates ref error unless the ref=yes parameter is used.
Parameter: ref=yes
editSomething needing a note<ref>Some note about Genesis. {{User:Joren/Bible | Genesis | 1:1 | AV | ref=yes}} And furthermore, some other note.</ref>
Something needing a note[1]
Something else needing a note<ref>Some note about Exodus. {{User:Joren/Bible | Exodus | 20:2 | text=The Ten Commandments | title=The Ten Commandments (Exodus 20:2-17) | ref=yes}} And furthermore, some other note.</ref>
Something else needing a note[2]
No parameter (erroneous)
editSomething needing a note<ref>Some note about Genesis. {{User:Joren/Bible | Genesis | 1:1 | AV}} And furthermore, some other note.</ref>
Something needing a note[3]
Something else needing a note<ref>Some note about Exodus. {{User:Joren/Bible | Exodus | 20:2 | text=The Ten Commandments | title=The Ten Commandments (Exodus 20:2-17)}} And furthermore, some other note.</ref>
Something else needing a note[4]
Refs
edit- ^ Some note about Genesis. Genesis 1:1 And furthermore, some other note.
- ^ Some note about Exodus. The Ten Commandments (Exodus 20:2-17) And furthermore, some other note.
- ^ Some note about Genesis. Genesis 1:1 And furthermore, some other note.
- ^ Some note about Exodus. The Ten Commandments And furthermore, some other note.
Cite error: A list-defined reference has no name (see the help page).
Grouping inside a ref tag
edit- Expected results
- Generates ref error unless the ref=yes parameter is used, in which case group parameter is ignored because nested ref is not supported.
Ref=yes parameter
editSomething needing a note<ref>Some note about Genesis. {{User:Joren/Bible | Genesis | 1:1 | AV | ref=yes | group=bible2}} And furthermore, some other note.</ref>
Something needing a note[1]
Something else needing a note<ref>Some note about Exodus. {{User:Joren/Bible | Exodus | 20:2 | text=The Ten Commandments | title=The Ten Commandments (Exodus 20:2-17) | ref=yes | group=bible2}} And furthermore, some other note.</ref>
Something else needing a note[2]
No parameter (erroneous)
editSomething needing a note<ref>Some note about Genesis. {{User:Joren/Bible | Genesis | 1:1 | AV | group=bible2}} And furthermore, some other note.</ref>
Something needing a note[3]
Something else needing a note<ref>Some note about Exodus. {{User:Joren/Bible | Exodus | 20:2 | text=The Ten Commandments | title=The Ten Commandments (Exodus 20:2-17) | group=bible2}} And furthermore, some other note.</ref>
Something else needing a note[4]
Grouped refs
editRefs
edit- ^ Some note about Genesis. Genesis 1:1 And furthermore, some other note.
- ^ Some note about Exodus. The Ten Commandments (Exodus 20:2-17) And furthermore, some other note.
- ^ Some note about Genesis. Genesis 1:1 And furthermore, some other note.
- ^ Some note about Exodus. The Ten Commandments And furthermore, some other note.
Cite error: A list-defined reference has a conflicting group attribute "bible2"
(see the help page).
Group parameter without references group
edit- Expected results
- Generates ref error due to editor not including a references group somewhere in the article.
Parameter: group=nonextant
edit{{User:Joren/Bible | Genesis | 1:1 | AV | group=nonextant}}
Genesis 1:1 [nonextant 1]
{{User:Joren/Bible | Exodus | 20:2 | text=The Ten Commandments | title=The Ten Commandments (Exodus 20:2-17) | group=nonextant}}
The Ten Commandments[nonextant 2]
Refs
edit
Cite error: There are <ref group=nonextant>
tags on this page, but the references will not show without a {{reflist|group=nonextant}}
template (see the help page).