Template:LDS/doc

This template makes it easy to create links to Latter Day Saint movement scriptures, including to specific chapters/sections and verses inside those texts. By default, the template links to the texts as stored on Wikisource, but adding the optional "website=lds" parameter will create links to the LDS Church's website instead.

The most common usage for the template, citing to a single scripture verse, uses four parameters:

For example, renders as.

Additional parameters can be provided to cite to a range of verses and/or to the LDS Church website instead of Wikisource, as explained below.

Basic usage
Results:
 * 1) Creates html link to https://en.wikisource.org/wiki/Book_of_Mormon_(1981)/Ether#12:4
 * 2) Jumps to verse on page
 * 3) Displays in the article text as:

Note
The first two parameters ("display text" and "book name") in many cases may be the same or similar, but they should always both be provided. For example, to produce you should type. Forgetting to provide the book name when it is the same or similar to the display text is the most common error when using this template.

Template Data
{	"params": { "1": {			"label": "display text", "description": "text to display to user before the chapter/verse numbers; usually the full book name (\"First Nephi\") or an abbreviation (\"1 Ne.\"), but it could be anything (e.g., \"My favorite book of scripture\") or even left blank (useful if citing to multiple different chapters of the same book and you don't want to repeat the book name)", "type": "string", "example": "1 Ne.", "default": "LDS Standard Works", "suggested": true },		"2": {			"label": "book name", "description": "name of book (or an alias/abbreviation); this parameter is not case sensitive (e.g., 'alma' is the same as 'Alma')", "type": "string", "example": "1-ne", "suggested": true },		"3": {			"label": "chapter", "description": "chapter (or section) of scripture being cited\t", "example": "12", "type": "number", "suggested": true },		"4": {			"label": "verse", "description": "verse of scripture being cited\t", "type": "number", "example": "4", "suggested": true },		"5": {			"label": "end verse", "description": "end verse(s) of a series of cited verses, such as the 5 in \"John 3:4–5\" or the \"–5, 16\" in \"John 3:4–5, 16\". An en dash is automatically added between this parameter and the verse# parameter unless the end verse flag has a value (see the end verse flag parameter for more info about that usage)", "example": "5", "type": "string" },		"6": {			"label": "footnote", "description": "[DEPRECATED] letter of footnote to cite to. If this parameter has any value, it changes the citation to link to the verse *and* highlights the footnote matching the letter. If no match found, does not highlight anything.", "deprecated": "In theory this once worked for citations to the LDS church's website, but as of September 2020 it no longer does. It remains solely for backwards compatibility.", "type": "string" },		"7": {			"label": "cross ref flag", "description": "[DEPRECATED] if this has any value, then it changes the citation to link to the verse only and displays all verses that cross reference to it in the LDS church website's sidebar. (Ignores the value in footnote, if any)", "deprecated": "In theory this once worked for citations to the LDS church's website, but as of September 2020 it no longer does. It remains solely for backwards compatibility." },		"8": {			"label": "nonconsecutive end verse flag", "description": "if this has any value at all, then the hyphen before the 'end verse' parameter will not be automatically added. This allows for quoting of non-contiguous verses such as \"John 3:5, 16\" — the end verse parameter in this example should be \", 16\"", "example": "y", "type": "string" },		"website": { "label": "website", "description": "website to which to link; default is wikisource, but set this (named!) parameter to \"lds\" to cite to the LDS Church's website instead", "example": "lds", "type": "string", "default": "wikisource" }	},	"description": "For citing to LDS scriptures on Wikisource (or the LDS church website)", "paramOrder": [ "1",		"2",		"3",		"4",		"5",		"6",		"7",		"8",		"website" ] }

Book Name parameter aliases
The book name parameter can be the full name of the book of scripture cited (e.g., Alma, 1 Nephi, Moses, or 2 Kings) or any of these common aliases/abbreviations: