Template:Image Map Setup/Doc

From Starfield Wiki
Jump to: navigation, search

Summary[edit]

This is a helper template to be used in conjunction with Image Map. Any parameters that apply to all of the Image Marks should be set using Image Map Setup, including most importantly the image width.

On its own, this template has no visible effect; all that it does is set template parameters

Parameters[edit]

Image Map Setup
Parameter Scope Description
width optional The width of the image. The default is 300px.
mark optional The name of an image to display as the mark. The default is Yellow_pog.png.
mark_color optional The color of 'pog.png' marker to use. Ignored if mark is also set. Currently the only valid values are Red, Yellow, and White, but many other colors for pog.svg exist at wikipedia and could be imported to UESP. Default is Yellow.
mark_width optional The width of the mark in pixels. The default is 16px.
mark_height optional The height of the mark in pixels. By default set to be the same as mark_width.
font_size optional The font size to use for the label as a percentage. The default is 90%.
text_bold optional Set to a non-empty value to display the label using bold text. Default is empty (non-bold text).
text_italics optional Set to a non-empty value to display the label using italicized text. Default is empty (non-italicized text).
text_color optional The color to use for the label's text. Default is black.
background optional The background color to use behind the label text. By default the background color is inherited from the image behind the label -- which means by default the background is transparent when used with Perk Tree.

Examples[edit]

See Image Map.