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/> |