From StrategyWiki, the video game walkthrough and strategy guide wiki
< Template:Perk Tree
Revision as of 03:00, 30 April 2019 by Notmyhandle (talk | contribs) (creation, copied from https://en.uesp.net/wiki/Template:Perk_Tree/Doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

This template is for creating images of Skyrim perk trees, with superimposed labels for the individual perk names. It is derived from Location map on wikipedia.

The labels are not actually created by this template,but rather by Image Mark. This template is necessary, however, to create a "fake" thumbnail image so that the label markup can be inserted inside the thumbnail's <div>...</div>.

One peculiarity of the interaction between Perk Tree and Image Mark is that any parameters that are shared by all of the templates must be set before calling Perk Tree, using Perk Tree Setup. In particular, to change the size of the image, use the following syntax:

{{Perk Tree Setup|width=400}}{{Perk Tree...}}

Other settings that apply to all of the Image Mark calls can be set the same way, e.g., {{Perk Tree Setup|background=#CCCCCC|mark_size=44}}.

Parameters

Template:Parameters

Examples

For a live example, see Skyrim:Block.

{{Perk Tree Setup|width=400|background=#EE8866|mark_width=12|mark_color=White}}{{Perk Tree
|float=left
|perks=
{{Image Mark|x=565|y=865|label=Shield Wall|mark_alt=Shield Wall (5 ranks): 20 Block|position=bottom}}
{{Image Mark|x=175|y=670|label=Deflect Arrows|mark_alt=Deflect Arrows: 30 Block|position=bottom}}
{{Image Mark|x=265|y=340|label=Riposte|position=bottom}}
{{Image Mark|x=465|y=240|label=Elemental Protection|position=left}}
}}