Template:Hold by/doc

The template hold by is used in infoboxes to give the section that lists creatures in possession of the article topic the wanted formatting, including areas, their codes and coordinates if wanted.

Parameters
All parameters have a prefix derived from the template name, "hb_", to make them unique. The "creature" parameter itself is the only one required to make the formatting work (or show the entry at all), all others are optional – with a few exceptions, however: only if the area is given, its code and coordinates should be listed, and if the X-coordinate is given, Y shouldn't be omitted, else this would look incomplete and bad. If several creatures shall be listed, the template can be used repeatedly. Depending on the number of possible entries, it might be useful to reduce it and naming e.g. only a parent area, rather than multiple complete listings.
 *   – used by  to link to the appropriate area article for either Baldur's Gate I or II; if not set to "1" or "2", the base article is referred to
 *   – if set, places the value as a centered, bold, italic heading above the following list item; can be used to distinguish between creature listings from the various games (don't use links for this)
 *   – the actual character or creature that holds the article topic, presented as bullet-point-list entry; no auto-linking, so this has to be done manually
 *   – the area where this creature can be found, added after a dash; the link to the respective article is created automatically (if it shall be displayed differently, use  to separate the article name and the wanted entry, e.g.
 *   – if useful, a "parent" area can be named and will be placed before the area, separated by a comma; the link to the respective article is created automatically (if it shall be displayed differently, use  to separate the article name and the wanted entry; examples:   for the   or   for the  )
 *   – the area "code"; usually something like "AR0000", but there exist other letters for suffixes (please use capitals and don't give the "*.are" index); links to either Areas (Baldur's Gate), Areas (Baldur's Gate II) or Areas, depending on
 *   – the exact X-coordinate on the area map, linking to the former article; please use only together with
 *   – the exact Y-coordinate on the map; please use only together with

Example
For this example, the template is added three times to the infobox's "area" parameter. To the left, line breaks were inserted so that no horizontal scroll bar is generated; inside an infobox, however, this would break layout and function.