template:ListParse1  

This template is called by ListParse when only list1 is used.

See also: ListParseLine2, ListParse2, ListParse3

Usage: {{ListParse1|gameid|type|list1|prefix=|suffix=|nol1prefix=|nodisplay=|extra1=}}

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.

prefix= and suffix= are NOT optional. There is no default value, and no provision is made for a missing value.

nol1prefix= will suppress the prefix on the first line, ONLY. nodisplay= is related to this. In THIS template what it does os suppresses output of "More..." if more than 10 items are in the list, and is used when using LinkList to build categories from a 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-23 13:53:39.