Runes of Magic Wiki
Register
Advertisement

Since you asked. :) Is anyone at Curse doing code development, or are we just users for MediaWiki? I ask because there was a function we had a ZAM that was incredibly useful for game wikis. It is called #commalist and the following is the link to the documentation page. --Bludwyng (talk) 18:43, 15 October 2015 (UTC) In case you were wondering, Template:ulistproc is my attempt to duplicate the basic functionality so I can handle lists of Item Drops but I had to limit it to 20 items. --Bludwyng (talk) 18:46, 15 October 2015 (UTC)

Counter Condition Processing[]

Tagaziel, you helped me SO much when you showed me #var and #vardefine... is there anything like a #for or #dowhile or #dountil looping function?

Something like this:

{{#vardefine:counter|0}}
{{#dofor:{{#var:counter}}|0|20|
code_goes_here
{{#vardefine:counter|{{#expr:{{#var:counter}} + 1}}}}
}}

--Bludwyng (talk) 16:01, 24 November 2015 (UTC)

#while definitely look slike it would do exactly what I am looking for. Not sure how the others work. The examples are a tad confusing but I could definitely make #while do exactly what I want it to do to make my Template:Clistproc (and its cousins) work much smoother! --Bludwyng (talk) 16:26, 26 November 2015 (UTC)
I know a new MediaWiki was pushed through Hydra in the last few days. It is causing some issues with my page layouts and the server is responding MUCH slower that pre-update, but I guess I will live with it. Was wondering if #while got pushed live? --Bludwyng (talk) 15:49, 7 February 2016 (UTC)
Looks like it is not on live. :( User:Bludwyng/Sandbox --Bludwyng (talk) 16:59, 7 February 2016 (UTC)
Advertisement