Difference between revisions of "Verseheader"

From Theonomy Wiki
Line 1: Line 1:
 
{{#vardefine:chap|{{#rmatch:{{{1|}}}|([^:]+):.+|$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}}}}
 
{{#vardefine:chap|{{#rmatch:{{{1|}}}|([^:]+):.+|$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}}}}
{{:Navup|Category:{{#var:chap}}|{{#var:chap}}}}
+
{{:Navup|Category:{{#var:chap}}|{{:Transname|{{#var:chap}}}}}}
  
{{#ifexist: Category:{{#var:prevverse}}|{{:Navleft|Category:{{#var:prevverse}}|{{#var:prevverse}}}} | }}
+
{{#ifexist: Category:{{#var:prevverse}}|{{:Navleft|Category:{{#var:prevverse}}|{{:Transname|{{#var:prevverse}}}}}} | }}
{{#ifexist: Category:{{#var:nextverse}}|{{:Navright|Category:{{#var:nextverse}}|{{#var:nextverse}}}} }}<br/>
+
{{#ifexist: Category:{{#var:nextverse}}|{{:Navright|Category:{{#var:nextverse}}|{{:Transname|{{#var:nextverse}}}}}} }}<br/>
 
{{:Scriptblock|{{{1|}}}}}<br/>
 
{{:Scriptblock|{{{1|}}}}}<br/>

Revision as of 18:38, 25 August 2020



Could not parse reference. '

. 'Please use the format 'Gen 1:10' or 'Genesis 1:10-15'.