Difference between revisions of "Verseheader"

From Theonomy Wiki
(hopefully fixed)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:chap|{{#rmatch:{{{1|}}}|([^:]+):.+|$1|{{{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:verse|{{#rmatch:{{{1|}}}|[^:]+:(\d+)|$1|{{{1|}}}}}}}
+
<div dir="{{#if:{{:RTL}}|rtl|ltr"}}">{{:Navup|Category:{{#var:chap}}|{{:Transname|{{#var:chap}}}}}}
{{#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}}]]
+
{{#ifexist: Category:{{#var:prevverse}}|{{:Navleft|Category:{{#var:prevverse}}|{{:Transname|{{#var:prevverse}}}}}} | }}
 
+
{{#ifexist: Category:{{#var:nextverse}}|{{:Navright|Category:{{#var:nextverse}}|{{:Transname|{{#var:nextverse}}}}}} }}<br/>
{{#ifexist: Category:{{#var:prevverse}}|[[:Category:{{#var:prevverse}}|<span class="navarrow"></span> {{#var:prevverse}}]] ||}} {{#ifexist: Category:{{#var:nextverse}}|[[:Category:{{#var:nextverse}}|{{#var:nextverse}} <span class="navarrow">⇨</span>]]|}}<br/>
+
{{:Scriptblock|{{{1|}}}}}<br/>{{#ifexpr:{{#len:{{#scripture:{{{1}}}|ver=WLC}}}}>200|{{:Scriptblock|{{{1|}}}|ver=WLC}}<br/>}}{{#ifexpr:{{#len:{{#scripture:{{{1}}}|ver=LXXBRENT}}}}>200|{{:Scriptblock|{{{1|}}}|ver=LXXBRENT}}<br/>}}{{#ifexpr:{{#len:{{#scripture:{{{1}}}|ver=RP2005}}}}>200|{{:Scriptblock|{{{1|}}}|ver=RP2005}}<br/>}}
{{:Scriptblock|{{{1|}}}}}<br/>
 

Latest revision as of 16:00, 29 January 2022



Could not parse reference. '

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