The #loop parser function from the Loops extension contains a <nowiki/> tag in a code example:

{{#loop: varname
  | 4
  | 4
  | <nowiki/>
* This is round {{#var:varname}} and we have {{#expr: 7- {{#var:varname}}}} more to go

What does the <nowiki/> tag do?


It stops the parser from eating whitespace at the beginning of the template parameter. The * needs to be at the beginning of the line (ie. preceded by a newline) to be turned into a list.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.