Шаблон:Skill bar
Материал из UFO Wiki
Перейти к навигации
Перейти к поиску
Blank | Blank | Blank | Blank | Blank | Blank | Blank | Blank |
Description[править код]
{{ Skill bar | 1 = skill 1 | 2 = skill 2 | 3 = skill 3 | 4 = skill 4 | 5 = skill 5 | 6 = skill 6 | 7 = skill 7 | 8 = skill 8 | size = (icon size) | outline = (outline size) | outlinecolor = (outline color) | border = solid | background = (background color) | text = hide | emptyskills = hide | indent = (indent size / center) }}
Parameters[править код]
- unnamed parameters 1 – 8
- Optional. Skill names. Empty skills are set to Blank.
- size
- Optional. Skill icon size. (Default: 64)
- outline
- Optional. Skill bar outline size. (Default: 0)
- outlinecolor
- Optional. Color of the outline border (Default: black)
- border
- Optional. Sets the border art between skill icons. (Default: dotted)
- none - no border
- dotted - dotted border
- solid - solid border
- direct - direct image border
- background
- Optional. Color of the background (Default: transparent)
- text
- Optional. Hides text if set1.
- emptyskills
- Optional. Hides empty skills without showing Blank skill if set1.
- indent
- Optional. Sets the (left) margin. Accepts numeral values and center for an automatically centered align. (Default: 0)
- parameters t1 – t8
- Optional. Skill texts.
1 Note that the actual value of these parameters is irrelevant, as long as one is provided.
Examples[править код]
{{ Skill bar | 1 = Dwayna's Kiss | 2 = Orison of Healing | 3 = Words of Comfort | 4 = Healer's Boon | 5 = Heal Party | 6 = Dismiss Condition | 7 = Deny Hexes | 8 = Rebirth }}