Difference between revisions of "Verseheader"
From Theonomy Wiki
(hopefully fixed) |
|||
(34 intermediate revisions by the same user not shown) | |||
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}}}} | |
− | + | <div dir="{{#if:{{:RTL}}|rtl|ltr"}}">{{:Navup|Category:{{#var:chap}}|{{:Transname|{{#var:chap}}}}}} | |
− | {{#scripture:{{{1}}}| | + | |
+ | {{#ifexist: Category:{{#var:prevverse}}|{{:Navleft|Category:{{#var:prevverse}}|{{:Transname|{{#var:prevverse}}}}}} | }} | ||
+ | {{#ifexist: Category:{{#var:nextverse}}|{{:Navright|Category:{{#var:nextverse}}|{{:Transname|{{#var:nextverse}}}}}} }}<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/>}} |