: What is the function of a self-closing tag in Mediawiki? The #loop parser function from the Loops extension contains a <nowiki/> tag in a code example: {{#loop: varname | 4 | 4
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?
More posts by @Caterina187
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.