Template:Bg1 totsc infobox/doc

The template bg1 totsc infobox is used to mark information on an article as being related to the original Baldur's Gate expansion Tales of the Sword Coast. It displays the game's icon instead of text, together with a pop-up that holds an according note and a related link.

The template is used in other templates. Please take a look at this list before editing it, to see what else may be affected by the change.

The icon is vertically aligned as "bottom" – the best looking option for infoboxes – and displayed at 24px width, which is important due to its use in IBAppearances. This value should not be increased as long as infoboxes use their current styling.June 5, 2019

Usage

 * Typing


 * results in

Depending on where the icon is used, it may be placed before or after the related information, preceded or followed by a (non-breaking) space. E.g. in lists it may introduce the information, while being put after it in floating text. Please use it sparsely in the latter case, as it also might break the visual appearance of a paragraph – perhaps words fit better in such cases.

This variant was especially created to be used in this wiki's infoboxes; the text shown in the above example's pop-up is then displayed at a size of 85% only. For article main space, see bg1 totsc article.

Issues with mobile view

 * Currently in mobile view, the pop-up does not work and any link added to the icon itself is ignored as well: the image will be displayed instead when clicking it.June 5, 2019
 * Mobile view is also the reason why any further icon/logo in the pop-up has been disabled: both images are displayed with this method.June 5, 2019