Jump to content

User:Biggins/LDStemplate

From Wikipedia, the free encyclopedia

For testing out edits to the {{LDS/sandbox}} template and the corresponding Module:Sandbox/Biggins/LDSverseWS

Scripture citation templates

[edit]

{{Bibleverse}} Template

[edit]

{{LDS}} Template

[edit]

{{LDS/sandbox}} Template

[edit]

Legacy Behavior

[edit]
{{LDS/sandbox}}'s Legacy mode vs. {{LDS/legacy}} Template
{{LDS/sandbox}} Link {{LDS/legacy}} Link
[1] {{{1}}}
John John
Eth. 12:4 Eth. 12:4
One param One param
Official Declaration 2 Official Declaration 2
Gen. 3:6 Gen. 3:6
Numeros Numeros
JSH JSH
Alma 12:14,32-35 Alma 12:14,32-35
Nephi the Second 26:33 Nephi the Second 26:33
Abraham 3:16 Abraham 3:16
Gen. 3:6 Gen. 3:6
Matt. 5:48 Matt. 5:48
JS Matt. 1:12 JS Matt. 1:12
D&C 88:6 D&C 88:6
Off. Decl. 1 Off. Decl. 1
AoF 1:11 AoF 1:11
AoF 11 AoF 11
The First Book of Moses 3:6 The First Book of Moses 3:6

Clean-up

[edit]

Per this comment, I should

  1. Figure out if/how you can see everywhere that your template/module is causing errors DONE
    Success: this link does it!
    See generally this helpful discussion
  2. (Maybe) handle the error messages more cleanly
    Pro: it wouldn't look awful on the page
    Con: nobody would notice when the template is being used incorrectly
    Con: harder to find the errors that are happening (unless there's some other clever way to search for them without throwing up big red LUA ERROR text in the middle of the article)
  3. Update the module so that if the second parameter is a number DONE
    In this case, try to interpret the module call as if someone just forgot to include the second parameter (aka 1ne) and see if it works by using the display name as the second parameter

Other

[edit]