• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

MediaWiki: Where did I go Wrong?

DarkBlood

NLC
NLC
Code:
<div style="background-color:#333333;width:50%;padding:5px;color:white">
<div style="float:right; border:3px solid #CCCCCC;padding:5px;height:50%;width:40%;overflow:auto">{{#if: {{{quests|}}} | {{ #vardefine: i | 0 }}{{
  #while:
  | {{ #ifexpr: {{ #var: i }} > -1 | true }}
  | <nowiki/>
* [[<span style="color:white">{{ #explode: {{{quests|}}}|^|{{ #var: i }}{{ #vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} }}</span>]]
}} <includeonly>[[Category:Quest Item]]</includeonly> | <div style="VALIGN: center; font-size: 150%; font-weight: bold">No Quests</div>{{#ifexist: {{{quests|}}} | | <includeonly>[[Category:Quest Item Without Quest]]</includeonly> }} }}</div>
<div style="float:left;margin-right:5px">{{#if: {{{icon|}}} | {{{icon|}}} | <div style="VALIGN: center; font-weight: bold">No<br>Icon</div> }}</div>
<div style="font-weight:bold;font-size:120%;padding-top:8px"><span style="color:{{{color}}}">{{{name}}}</span></div><br><br>

<div style="border-bottom:3px solid #CCCCCC;padding-bottom:5px">
<strong>Description:</strong><br>
<span style="color:yellow">{{{desc}}}</span><br><br>

</div>
</div>

That while loop needs to be in there. But when I try to execute said while loop, it gives the following error,

Code:
 #while:
 | Expression error: Unrecognised punctuation character "{"
 |
 
Back
Top