From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(<noinclude>Category:Template documentation</noinclude>)
(cleanup)
 
Line 5: Line 5:


==Parameters==
==Parameters==
{{Parameters
{|{{prettytable}}
|width|optional|The width of the image. The default is 300px.
|+Perk Tree Setup
|mark|optional|The name of an image to display as the mark. The default is [[:File:Yellow_pog.png|Yellow_pog.png]].
!Parameter
|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.
!Scope
|mark_width|optional|The width of the mark in pixels. The default is 16px.
!Description
|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%.
|width
|text_bold|optional|Set to a non-empty value to display the label using bold text. Default is empty (non-bold text).   
|optional
|text_italics|optional|Set to a non-empty value to display the label using italicized text. Default is empty (non-italicized text).
|The width of the image. The default is 300px.
|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.
|mark
}}
|optional
|The name of an image to display as the mark. The default is [[:File:Yellow_pog.png|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==
==Examples==
See [[Template:Perk Tree|Perk Tree]].
See [[Template:Perk Tree|Perk Tree]].
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 03:57, 30 April 2019

Summary[edit]

This is a helper template to be used in conjunction with Perk Tree. Any parameters that apply to all of the Image Marks should be set using Perk Tree 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]

Perk Tree 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 Perk Tree.