Runes of Magic Wiki
Advertisement

This is my attempt to duplicate a function, in wikicode, that I miss very much from ZAM.

The basic idea is to have a group of comma-delimited lists, each of which defines a part of what I need. MediaWiki does not allow recursion, so I will have to create a shell for 0 to the max size I will allow for a list.

Current Max Length of list1: 20

Usage

{{ulistproc
|linker=
|list1=
|list3=
|list4=
|list5=
|list6=
|mobtypes=
|mobtype={{#explode:{{{mobtypes|}}}|,|0}}|type=
|}}

With the above fields, we are going to extract the first value from each and use it to build a call to [[Template: ]] while building an Unordered List. list1 controls the output. if list1 has fewer elements than the others, it will stop when it runs out of list1. If list1 has more, it will treat the short lists as blanks.


Bludwyng
This template was created, or is maintained, by Bludwyng (contribs).

In-game, you can find me on Ayvenas. I regularly play: Mithrandyr, Bludwyng, Grymjack, and Kerfuffle.


Bludwyng's: PagesTemplatesWants/HavesSandbox
Advertisement