FAIR is a non-profit organization dedicated to providing well-documented answers to criticisms of the doctrine, practice, and history of The Church of Jesus Christ of Latter-day Saints.
Diferenças entre edições de "FAIRWiki:Scripture template how to"
m |
m (Robô: Substituição de texto automática (-{{Articles Footer(.*) +)) |
||
(Há 43 revisões intermédias de 4 utilizadores que não estão a ser apresentadas) | |||
Linha 1: | Linha 1: | ||
+ | {{Articles FAIR copyright}} {{Articles Header 1}} {{Articles Header 2}} {{Articles Header 3}} {{Articles Header 4}} {{Articles Header 5}} {{Articles Header 6}} {{Articles Header 7}} {{Articles Header 8}} {{Articles Header 9}} {{Articles Header 10}} | ||
The actual template is at [[Template:scripture]]. Click there to edit, but please don't unless you know what you're doing! | The actual template is at [[Template:scripture]]. Click there to edit, but please don't unless you know what you're doing! | ||
+ | ==How to use the template:== | ||
+ | Syntax is as follows: <nowiki> {{scripture|a|b|c|d}} [Can also use {{s|a|b|c|d}} if you don't want to type "scripture" every time.]</nowiki> | ||
− | + | * a = Book number, like '''1''' Nephi or '''3''' John. If there is no book number, you must leave this space blank like this: <nowiki>{{scripture||b|c|d}}</nowiki> ('''note the two || lines''' beside each other, meaning that "a" section is ''blank''. | |
− | =================== | + | * b = Book of Scripture: Nephi, Jonah, etc. For D&C references, just put '''DC''', or it messes up the parser. |
− | + | * c = chapter | |
+ | * d = verses. Dashes, commas, or both are permitted; eg: 4-7,9 (verses 4 through 7, and verse 9). | ||
+ | |||
+ | '''''Note''''': don't put spaces between elements. So, you can put 4-7,9 for verses 4-7 and then verse 9, but don't put "4 - 7, 9." If you do so, you are ritually impure in a wiki sense. | ||
+ | |||
+ | ==Exceptions== | ||
+ | |||
+ | Due to software limitations, books of scripture with more than one word in their title are a bit tricky. Fortunately, there are only a few: | ||
+ | |||
+ | {|valign="top" border="1" style="width:100%" | ||
+ | |- | ||
+ | !Book of Scripture!!Ways to cite it that work!!How it Looks | ||
+ | |- | ||
+ | |Words of Mormon|| | ||
+ | *<nowiki>{{scripture||W+of+M|1|1}}</nowiki> | ||
+ | || {{scripture||W+of+M|1|1}} | ||
+ | |- | ||
+ | | || | ||
+ | *<nowiki>{{scripture||Words+of+Mormon|1|1}}</nowiki> | ||
+ | ||{{scripture||Words+of+Mormon|1|1}} | ||
+ | |- | ||
+ | |Articles of Faith|| | ||
+ | *<nowiki>{{scripture||A+of+F|1|13}}</nowiki> | ||
+ | ||{{scripture||A+of+F|1|13}} | ||
+ | |- | ||
+ | | || | ||
+ | * <nowiki>{{scripture||Articles+of+Faith|1|13}}</nowiki> | ||
+ | ||{{scripture||Articles+of+Faith|1|13}} | ||
+ | |- | ||
+ | |Song of Solomon|| | ||
+ | *<nowiki> {{scripture||Song|1|1}}</nowiki> | ||
+ | ||{{scripture||Song|1|1}} | ||
+ | |- | ||
+ | |Doctrine and Covenants|| | ||
+ | *<nowiki> {{scripture||DC|1|1}}</nowiki> | ||
+ | ||{{scripture||DC|1|1}} | ||
+ | |- | ||
+ | |Joseph Smith - History|| | ||
+ | *<nowiki> {{scripture||JS-H|1|1}}</nowiki> | ||
+ | ||{{scripture||JS-H|1|1}} | ||
+ | |- | ||
+ | |Joseph Smith - Matthew|| | ||
+ | *<nowiki> {{scripture||JS-M|1|1}}</nowiki> | ||
+ | ||{{scripture||JS-M|1|1}} | ||
+ | |||
+ | |} | ||
+ | |||
+ | ==Some Examples== | ||
+ | |||
+ | #To code D&C 121:5-7, you would put: <nowiki>{{scripture||DC|121|5-7}}</nowiki> This will appear as D&C to the user, but you must put DC in the code, or the link won't work. | ||
+ | #To code 1 Nephi 3:7, you would put: <nowiki>{{scripture|1|Nephi|3|7}}</nowiki> | ||
+ | #To code Joseph Smith History 1:5, you would put: <nowiki>{{scripture||JS-H|1|5}}</nowiki> | ||
+ | #To code Joseph Smith Matthew 1:2, you would put: <nowiki>{{scripture||JS-M|1|2}}</nowiki> | ||
+ | |||
+ | ==Please note! Help translators when you code in English!== | ||
+ | |||
+ | There is another template called <nowiki>{{Bible}}</nowiki> or <nowiki>{{B}}</nowiki> that works in exactly the same way as <nowiki>{{Scripture}}</nowiki> and <nowiki>{{S}}</nowiki> in English. If we use the Bible links in English, then English pages will be more easily converted into other languages, who must generally use a non-LDS site for Bible references, since the lds.org site does not have any Bibles besides the KJV. Either will work, but translators will thank you if use the Bible ones, because then they won't have to convert them later. | ||
+ | |||
+ | ==Help! It doesn't work for me!== | ||
+ | If you're having problems, try changing the template name to "scripturetest." | ||
+ | |||
+ | [[Template:scripturetest]] | ||
+ | |||
+ | This is a troubleshooting template, that shows you what you're entering, and how the computer is interpreting it. When you get it fixed, just change the name back to "scripture" instead of "scripture'''test'''", and you're good to go! | ||
− | + | ===Most common error=== | |
− | |||
− | |||
− | * a | + | * You have omitted an element, and thus missed putting two || together to show this element as 'blank'. This error is most likely to occur if you aren't citing "a" (for the numbered books like 1 Nephi, 2 Nephi, 2 Kings, 3 John, etc.). |
− | + | * Or, the above error could happen if you're trying to cite a whole chapter: then the "d" element isn't entered, but you still need ||. (e.g. Alma 13 would be <nowiki> {{scripture||Alma|13||}} </nowiki> The first || contains the empty "a" (since there is no 1st Alma, 2nd Alma, etc.) and the second || contains the empty "d" (since no verses are being cited.) | |
− | |||
− | |||
− | + | In short, there should '''always''' be 4—count 'em!—vertical bars -> |||| within the template. Whether there's anything between the bars depends on what you're citing. | |
− | + | ===Other common errors=== | |
− | |||
− | + | * you are using "D&C" for the Doctrine and Covenants, instead of plain old "DC." See the [[FAIRWiki:Scripture_template_how_to#Some_Examples|examples]] section to see how to cite the D&C properly. | |
+ | * you have mistakenly put regular parentheses [smooth brackets like this: (()) ] instead of curly brackets [like this {{}} ] around your template call. | ||
+ | * you have a space between some elements: don't put spaces between commas, dashes, etc. | ||
+ | * you are trying to cite Joseph Smith-History or Joseph Smith-Matthew from the Pearl of Great Price without using JS-H and JS-M. See the [[FAIRWiki:Scripture_template_how_to#Some_Examples|examples]]. | ||
+ | * you are trying to cite Words of Mormon, Articles of Faith, or Song of Solomon without looking at the [[FAIRWiki:Scripture_template_how_to#Exceptions|exceptions]] table. | ||
− | + | ==Heeelp! It still doesn't work!== | |
− | Please report any bugs or | + | Please report any bugs or citations that don't work to [[User:GregSmith]]. You may have found a bug with the system, which we need to fix or work around, or we can help spare you frustration by showing you what's going wrong. |
Edição atual desde as 12h52min de 29 de junho de 2017
Copyright © 2005–2010 Foundation for Apologetic Information and Research. The content of this page may be not copied, published, or redistributed without the prior written consent of FAIR.
FAIR: Defending The Church of Jesus Christ of Latter-day Saints since 1997 The actual template is at Template:scripture. Click there to edit, but please don't unless you know what you're doing!
Índice
How to use the template:
Syntax is as follows: {{scripture|a|b|c|d}} [Can also use {{s|a|b|c|d}} if you don't want to type "scripture" every time.]
- a = Book number, like 1 Nephi or 3 John. If there is no book number, you must leave this space blank like this: {{scripture||b|c|d}} (note the two || lines beside each other, meaning that "a" section is blank.
- b = Book of Scripture: Nephi, Jonah, etc. For D&C references, just put DC, or it messes up the parser.
- c = chapter
- d = verses. Dashes, commas, or both are permitted; eg: 4-7,9 (verses 4 through 7, and verse 9).
Note: don't put spaces between elements. So, you can put 4-7,9 for verses 4-7 and then verse 9, but don't put "4 - 7, 9." If you do so, you are ritually impure in a wiki sense.
Exceptions
Due to software limitations, books of scripture with more than one word in their title are a bit tricky. Fortunately, there are only a few:
Book of Scripture | Ways to cite it that work | How it Looks |
---|---|---|
Words of Mormon |
|
Words of Mormon 1:1 |
|
Words of Mormon 1:1 | |
Articles of Faith |
|
Articles of Faith 1:13 |
|
Articles of Faith 1:13 | |
Song of Solomon |
|
Song of Solomon 1:1 |
Doctrine and Covenants |
|
D&C 1:1 |
Joseph Smith - History |
|
Joseph Smith—History 1:1 |
Joseph Smith - Matthew |
|
Joseph Smith—Matthew 1:1 |
Some Examples
- To code D&C 121:5-7, you would put: {{scripture||DC|121|5-7}} This will appear as D&C to the user, but you must put DC in the code, or the link won't work.
- To code 1 Nephi 3:7, you would put: {{scripture|1|Nephi|3|7}}
- To code Joseph Smith History 1:5, you would put: {{scripture||JS-H|1|5}}
- To code Joseph Smith Matthew 1:2, you would put: {{scripture||JS-M|1|2}}
Please note! Help translators when you code in English!
There is another template called {{Bible}} or {{B}} that works in exactly the same way as {{Scripture}} and {{S}} in English. If we use the Bible links in English, then English pages will be more easily converted into other languages, who must generally use a non-LDS site for Bible references, since the lds.org site does not have any Bibles besides the KJV. Either will work, but translators will thank you if use the Bible ones, because then they won't have to convert them later.
Help! It doesn't work for me!
If you're having problems, try changing the template name to "scripturetest."
This is a troubleshooting template, that shows you what you're entering, and how the computer is interpreting it. When you get it fixed, just change the name back to "scripture" instead of "scripturetest", and you're good to go!
Most common error
- You have omitted an element, and thus missed putting two || together to show this element as 'blank'. This error is most likely to occur if you aren't citing "a" (for the numbered books like 1 Nephi, 2 Nephi, 2 Kings, 3 John, etc.).
- Or, the above error could happen if you're trying to cite a whole chapter: then the "d" element isn't entered, but you still need ||. (e.g. Alma 13 would be {{scripture||Alma|13||}} The first || contains the empty "a" (since there is no 1st Alma, 2nd Alma, etc.) and the second || contains the empty "d" (since no verses are being cited.)
In short, there should always be 4—count 'em!—vertical bars -> |||| within the template. Whether there's anything between the bars depends on what you're citing.
Other common errors
- you are using "D&C" for the Doctrine and Covenants, instead of plain old "DC." See the examples section to see how to cite the D&C properly.
- you have mistakenly put regular parentheses [smooth brackets like this: (()) ] instead of curly brackets [like this {{}} ] around your template call.
- you have a space between some elements: don't put spaces between commas, dashes, etc.
- you are trying to cite Joseph Smith-History or Joseph Smith-Matthew from the Pearl of Great Price without using JS-H and JS-M. See the examples.
- you are trying to cite Words of Mormon, Articles of Faith, or Song of Solomon without looking at the exceptions table.
Heeelp! It still doesn't work!
Please report any bugs or citations that don't work to User:GregSmith. You may have found a bug with the system, which we need to fix or work around, or we can help spare you frustration by showing you what's going wrong.