Wikipedia:Before Lua
This is an essay. It contains the advice or opinions of one or more Wikipedia contributors. This page is not an encyclopedia article, nor is it one of Wikipedia's policies or guidelines, as it has not been thoroughly vetted by the community. Some essays represent widespread norms; others only represent minority viewpoints. |
This is what we had to do before we had Lua...
{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}} }} }}*|*{{{2}}}*|1/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+1}} }}*|*{{str_left|{{{1}}}|1}}{{{2}}}*|2/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+2}} }}*|*{{str_left|{{{1}}}|2}}{{{2}}}*|3/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+3}} }}*|*{{str_left|{{{1}}}|3}}{{{2}}}*|4/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+4}} }}*|*{{str_left|{{{1}}}|4}}{{{2}}}*|5/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+5}} }}*|*{{str_left|{{{1}}}|5}}{{{2}}}*|6/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+6}} }}*|*{{str_left|{{{1}}}|6}}{{{2}}}*|7/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+7}} }}*|*{{str_left|{{{1}}}|7}}{{{2}}}*|8/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+8}} }}*|*{{str_left|{{{1}}}|8}}{{{2}}}*|9/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+9}} }}*|*{{str_left|{{{1}}}|9}}{{{2}}}*|10/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+10}} }}*|*{{str_left|{{{1}}}|10}}{{{2}}}*|11/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+11}} }}*|*{{str_left|{{{1}}}|11}}{{{2}}}*|12/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+12}} }}*|*{{str_left|{{{1}}}|12}}{{{2}}}*|13/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+13}} }}*|*{{str_left|{{{1}}}|13}}{{{2}}}*|14/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+14}} }}*|*{{str_left|{{{1}}}|14}}{{{2}}}*|15/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+15}} }}*|*{{str_left|{{{1}}}|15}}{{{2}}}*|16/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+16}} }}*|*{{str_left|{{{1}}}|16}}{{{2}}}*|17/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+17}} }}*|*{{str_left|{{{1}}}|17}}{{{2}}}*|18/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+18}} }}*|*{{str_left|{{{1}}}|18}}{{{2}}}*|19/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+19}} }}*|*{{str_left|{{{1}}}|19}}{{{2}}}*|20/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+20}} }}*|*{{str_left|{{{1}}}|20}}{{{2}}}*|21/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+21}} }}*|*{{str_left|{{{1}}}|21}}{{{2}}}*|22/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+22}} }}*|*{{str_left|{{{1}}}|22}}{{{2}}}*|23/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+23}} }}*|*{{str_left|{{{1}}}|23}}{{{2}}}*|24/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+24}} }}*|*{{str_left|{{{1}}}|24}}{{{2}}}*|25/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+25}} }}*|*{{str_left|{{{1}}}|25}}{{{2}}}*|26/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+26}} }}*|*{{str_left|{{{1}}}|26}}{{{2}}}*|27/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+27}} }}*|*{{str_left|{{{1}}}|27}}{{{2}}}*|28/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+28}} }}*|*{{str_left|{{{1}}}|28}}{{{2}}}*|29/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+29}} }}*|*{{str_left|{{{1}}}|29}}{{{2}}}*|30/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+30}} }}*|*{{str_left|{{{1}}}|30}}{{{2}}}*|31/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+31}} }}*|*{{str_left|{{{1}}}|31}}{{{2}}}*|32/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+32}} }}*|*{{str_left|{{{1}}}|32}}{{{2}}}*|33/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+33}} }}*|*{{str_left|{{{1}}}|33}}{{{2}}}*|34/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+34}} }}*|*{{str_left|{{{1}}}|34}}{{{2}}}*|35/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+35}} }}*|*{{str_left|{{{1}}}|35}}{{{2}}}*|36/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+36}} }}*|*{{str_left|{{{1}}}|36}}{{{2}}}*|37/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+37}} }}*|*{{str_left|{{{1}}}|37}}{{{2}}}*|38/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+38}} }}*|*{{str_left|{{{1}}}|38}}{{{2}}}*|39/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+39}} }}*|*{{str_left|{{{1}}}|39}}{{{2}}}*|40/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+40}} }}*|*{{str_left|{{{1}}}|40}}{{{2}}}*|41/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+41}} }}*|*{{str_left|{{{1}}}|41}}{{{2}}}*|42/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+42}} }}*|*{{str_left|{{{1}}}|42}}{{{2}}}*|43/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+43}} }}*|*{{str_left|{{{1}}}|43}}{{{2}}}*|44/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+44}} }}*|*{{str_left|{{{1}}}|44}}{{{2}}}*|45/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+45}} }}*|*{{str_left|{{{1}}}|45}}{{{2}}}*|46/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+46}} }}*|*{{str_left|{{{1}}}|46}}{{{2}}}*|47/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+47}} }}*|*{{str_left|{{{1}}}|47}}{{{2}}}*|48/}}<!--
-->{{#ifeq:*{{str_left|{{{1}}}|{{#expr: {{{3}}}+48}} }}*|*{{str_left|{{{1}}}|48}}{{{2}}}*|49/}}<!--