* Disaru I MAde a duplicate post in the wrong section ('Tips and code snippet'), but this kind of post should be here, 'Coding help'. Please delete that Moderator, sorry :D

Here is the code:
<!--parser:xtscript-->
var $num = 0
@loop_start
if $num <= 9
print <a href="" class="random-game-$num"><li><img src="" class="w3-left thumbnail" width="96" height="96" alt="" /><span class="title w3-text-grey" style="word-break:break-all"></span><div style="clear:both"></div></li></a>
var $num = $num+1
goto @loop_start
endif
<!--/parser:xtscript-->

Copy code


But it's not working and the code markup showing error like this:

<!--parser:xtscript-->
var $num = 0
@loop_start
if $num <= 9
print <a href="" class="random-game"><li><img src="" class="w3-left thumbnail" width="96" height="96" alt="" /><span class="title w3-text-grey" style="word-break:break-all"></span><div style="clear:both"></div></li></a>
var $num = $num+1
goto @loop_start
endif
<!--/parser:xtscript-->

Is there something wrong?
2018-02-15 03:20 (edited 2018-02-15 08:10 by Disaru ) · (0)

Online: Guests: 1