Difference between revisions of "Verseheader"

From Theonomy Wiki
Line 1: Line 1:
 
{{#vardefine:chap|{{#rmatch:{{{1|}}}|([^:]+):.+|$1|{{{1|}}}}}}}
 
{{#vardefine:chap|{{#rmatch:{{{1|}}}|([^:]+):.+|$1|{{{1|}}}}}}}
 
{{#vardefine:verse|{{#rmatch:{{{1|}}}|[^:]+:(\d+)|$1|{{{1|}}}}}}}
 
{{#vardefine:verse|{{#rmatch:{{{1|}}}|[^:]+:(\d+)|$1|{{{1|}}}}}}}
 +
{{#vardefine:prevverse|{{#var:chap}}:{{#expr: {{#var:verse}}-1}}}}
 +
{{#vardefine:nextverse|{{#var:chap}}:{{#expr: {{#var:verse}}+1}}}}
 +
 
[[:Category:{{#var:chap}}|<span class="navarrow">⇦</span> {{#var:chap}}]]
 
[[:Category:{{#var:chap}}|<span class="navarrow">⇦</span> {{#var:chap}}]]
  
[[:Category:{{#var:chap}}:{{#expr: {{#var:verse}}-1}}|<span class="navarrow">⇦</span> {{#var:chap}}:{{#expr: {{#var:verse}}-1}}]] | [[:Category:{{#var:chap}}:{{#expr: {{#var:verse}}+1}}|<span class="navarrow">⇨</span> {{#var:chap}}:{{#expr: {{#var:verse}}+1}}]]
+
[[:Category:{{#var:prevverse}}|<span class="navarrow">⇦</span> {{#var:prevverse}}]] | [[:Category:{{#var:nextverse}}|{{#var:nextverse}} <span class="navarrow">⇨</span>]]
 
{{#scripture:{{{1}}}|scriptstyle=scriptblock}}<br/>
 
{{#scripture:{{{1}}}|scriptstyle=scriptblock}}<br/>

Revision as of 12:21, 16 July 2020



[[:Category:| ]]

[[:Category:

-1|
-1]] | [[:Category:
1|
1 ]]

{{{1}}} Could not parse reference. ' . 'Please use the format 'Gen 1:10' or 'Genesis 1:10-15'.