Template:Clistproc

From Runes of Magic Wiki
Jump to: navigation, search

Same as Template:Ulistproc, but produces a comm-separated list of linkers instead of am unordered list.

Current Max Length of list1: 20

Usage[edit source]

{{Clistproc
|pre=
|linker=
|list1=
|list3=
|list4=
|list5=
|notes=
|mobtypes=
|type=
|rplink=
|}}

pre=

Display this before each call to the linker. Added specifically for Template:BWItem to display "Quest " to the left of each quest name this item is needed for. Not used for much else but may still be useful.

list1= to list5=

With the above fields, we are going to extract the first value from each and use it to build a call to [[Template: {{{linker|}}}]] 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. list2 is ONLY needed if you need to be able to use alternate names for values in list1.

notes=

if the value is not blank it is placed to the right of the linker call, inside parentheses, as a note

mobtypes=

This is only needed IF linker=moblink. This allows you to tell if each mob in the list is a Monster, NPC, Passive or Ambience.

type=

If you are using this for zonelink or poilink calls on a Quest, Object or Mob page, you use this to tell the linker to add the ...by Zone or ...by POI category. Generally, suers do not need to worry about this, as the Quest, Object or Mob template will set the type= when it calls Ulistproc.
rplink
added this to support Template:Zone's resources field so it will add the [RP] link to the Resources by POI category after the objectlink
Linker-Specific Notes
Linker Skeleton Parameters Notes
moblink
{{ulistproc
|linker=moblink
|list1=
|list2=
|mobtypes=
|}}
list1 mob name
list2 not likely to be needed
mobtypes NPC, Monster, Passive or Ambience
itemlink
{{ulistproc
|linker=itemlink
|list1=
|list2=
|list3=
|list4=
|notes=
|}}
list1 items
list2 not needed
list3 quantity
list4 quality
notes most useful on lists of armor to display the armor type
questlink
{{ulistproc
|linker=questlink
|list1=
|list2=
|list3=
|list4=
|list5=
|}}
list1 quest names
list2 actual quest name with missing punctuation (if any)
list3 level
list4 questtype (Daily, Public, Epic, etc
list5 party (Group, Raid, Group 4, etc)


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

In-game, you can find me on Aeterna playing as Mithrandyr of Heaven's Fury.


Bludwyng's: PagesTemplatesSandbox

Promotional Content