Difference between revisions of "Scrbody"

From Theonomy Wiki
(remove pglang def)
(generalize RTL check)
Line 1: Line 1:
<div class="scrbody col4"{{#ifeq: {{#var:pglang}}|ar|dir="rtl"}}>{{#loop:vsnum | {{{start|1}}} | {{{1|}}} |{{:Scrlink|{{{2|}}}|{{#var:vsnum}}|{{#sub:{{{3|}}} |0|6}}{{padleft:{{#var:vsnum}}|3}}|lang={{#var:pglang}}}}}}
+
<div class="scrbody col4"{{#if: {{:RTL}}| dir="rtl"}}>{{#loop:vsnum | {{{start|1}}} | {{{1|}}} |{{:Scrlink|{{{2|}}}|{{#var:vsnum}}|{{#sub:{{{3|}}} |0|6}}{{padleft:{{#var:vsnum}}|3}}|lang={{#var:pglang}}}}}}
 
</div>
 
</div>

Revision as of 17:24, 16 September 2020