template:ListParse2  

This template is called by RelList, but may be used directly. The output is in a vertical, unordered list, format. If you need a comma list converted to a comma list with links, see LinkList.

Usage: {{ListParse2|gameid|type|list1|list2|prefix=|suffix=}}

This function makes it possible to use 2 comma-delimited lists for a "Related Records" field, instead of an explicitly-linked unordered list, making it easier to enter a list of related records in a template call.

type is one of a number of defined record types. Examples of valid values are "Quest", "Mob" and "Item", but other values are possible. These are game-dependent and defined in a game-specific template that can be found in Category:Game Link Templates.

If the game link sub-template does not have a definition for the given gameid and type, then the exploded record name is simply returned without linking.

Currently, only 10 items are supported in the list, but this is easily expanded if needed. If an eleventh item is seen, this template will display the message More... as the 11th line in the list.

list2 is used only for certain types, such as Item, to hold a list of Item Quality codes that exactly matches the sequence of the items in list.

See also: ListParse1 and ListParse3


Need help understanding Bludwyng's documentation style? See Bludwyng's Guide to Using Templates!


Tytania
The Relentless
Fae Wizard
Lucan D'Lere
EverQuest II
This template was created or is maintained by
Bludwyng
All the power in the universe in a small, flaming fairy package.

This page last modified 2009-08-22 13:10:27.