Difference between revisions of "Template:Skill bar"
Jump to navigation
Jump to search
(Created page with '{| style="border:0; text-align: center; border-collapse:collapse;" |style=" vertical-align:top; width:68px; border:1px dotted #444;"| <div style="border:1px solid #000; margin:2...') |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| style=" | + | {| style="background: {{{background|transparent}}}; {{ #if: {{{indent|}}} | {{ #ifeq: {{{indent}}} | center | margin: 0px auto; | margin-left: {{{indent}}}px; }} }} border: {{{outline|0}}}px solid {{{outlinecolor|#000}}}; text-align: center; border-collapse: collapse; font-size: smaller; line-height: 125%;" cellspacing="0" cellpadding="{{ #ifexpr: {{{size|64}}} > 48 | 2 | 1 }}" |
− | | | + | {{ #if: {{{emptyskills|}}} | |
− | + | {{ #if: {{{1|}}} | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{1}}} | {{{1}}} }}.jpg{{!}} {{{size|64}}}px{{!}} {{{1}}}]]</div> {{ #if: {{{text|}}} | | {{{t1|[[{{{1}}}]]}}} }} }} | |
− | {{ | + | {{ #if: {{{2|}}} | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{2}}} | {{{2}}} }}.jpg{{!}} {{{size|64}}}px{{!}} {{{2}}}]]</div> {{ #if: {{{text|}}} | | {{{t2|[[{{{2}}}]]}}} }} }} |
− | + | {{ #if: {{{3|}}} | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{3}}} | {{{3}}} }}.jpg{{!}} {{{size|64}}}px{{!}} {{{3}}}]]</div> {{ #if: {{{text|}}} | | {{{t3|[[{{{3}}}]]}}} }} }} | |
− | | | + | {{ #if: {{{4|}}} | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{4}}} | {{{4}}} }}.jpg{{!}} {{{size|64}}}px{{!}} {{{4}}}]]</div> {{ #if: {{{text|}}} | | {{{t4|[[{{{4}}}]]}}} }} }} |
− | + | {{ #if: {{{5|}}} | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{5}}} | {{{5}}} }}.jpg{{!}} {{{size|64}}}px{{!}} {{{5}}}]]</div> {{ #if: {{{text|}}} | | {{{t5|[[{{{5}}}]]}}} }} }} | |
− | {{ | + | {{ #if: {{{6|}}} | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{6}}} | {{{6}}} }}.jpg{{!}} {{{size|64}}}px{{!}} {{{6}}}]]</div> {{ #if: {{{text|}}} | | {{{t6|[[{{{6}}}]]}}} }} }} |
− | + | {{ #if: {{{7|}}} | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{7}}} | {{{7}}} }}.jpg{{!}} {{{size|64}}}px{{!}} {{{7}}}]]</div> {{ #if: {{{text|}}} | | {{{t7|[[{{{7}}}]]}}} }} }} | |
− | |style=" vertical-align:top; width: | + | {{ #if: {{{8|}}} | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{8}}} | {{{8}}} }}.jpg{{!}} {{{size|64}}}px{{!}} {{{8}}}]]</div> {{ #if: {{{text|}}} | | {{{t8|[[{{{8}}}]]}}} }} }} |
− | + | | | |
− | {{ | + | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{1|}}} | {{{1}}} | Blank }}.jpg{{!}} {{{size|64}}}px{{!}} {{{1|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t1|[[{{{1|Blank}}}]]}}} }} |
− | + | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{2|}}} | {{{2}}} | Blank }}.jpg{{!}} {{{size|64}}}px{{!}} {{{2|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t2|[[{{{2|Blank}}}]]}}} }} | |
− | | | + | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{3|}}} | {{{3}}} | Blank }}.jpg{{!}} {{{size|64}}}px{{!}} {{{3|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t3|[[{{{3|Blank}}}]]}}} }} |
− | <div | + | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{4|}}} | {{{4}}} | Blank }}.jpg{{!}} {{{size|64}}}px{{!}} {{{4|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t4|[[{{{4|Blank}}}]]}}} }} |
− | {{ | + | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{5|}}} | {{{5}}} | Blank }}.jpg{{!}} {{{size|64}}}px{{!}} {{{5|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t5|[[{{{5|Blank}}}]]}}} }} |
− | + | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{6|}}} | {{{6}}} | Blank }}.jpg{{!}} {{{size|64}}}px{{!}} {{{6|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t6|[[{{{6|Blank}}}]]}}} }} | |
− | + | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{7|}}} | {{{7}}} | Blank }}.jpg{{!}} {{{size|64}}}px{{!}} {{{7|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t7|[[{{{7|Blank}}}]]}}} }} | |
− | + | {{!}} style="vertical-align: top; width: {{{size|64}}}px; border: {{ #switch: {{{border|dotted}}} | none = 0px solid | solid = 1px solid | direct = 0px solid | 1px dotted }} #444" {{!}} <div {{ #ifeq: {{{border|dotted}}} | direct | style="border: 1px solid #000" | }}>[[Image:{{ #if: {{{8|}}} | {{{8}}} | Blank }}.jpg{{!}} {{{size|64}}}px{{!}} {{{8|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t8|[[{{{8|Blank}}}]]}}} }} | |
− | + | }} | |
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | | | ||
− | <div | ||
− | {{ | ||
− | |||
− | |style=" vertical-align:top; width: | ||
− | |||
− | {{ | ||
− | |||
|}<noinclude> | |}<noinclude> | ||
− | ''' | + | |
+ | == Description == | ||
+ | <div style="float: right;">__TOC__</div> | ||
+ | <pre style="width: 50%;"><nowiki>{{ 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) | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | This template is used to generate Skill bars. For easier use of common styles, see [[Template:Skill bar preset]]. | ||
+ | |||
+ | === 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 set<sup>1</sup>. | ||
+ | ; emptyskills | ||
+ | : Optional. Hides empty skills without showing [[Blank]] skill if set<sup>1</sup>. | ||
+ | ; indent | ||
+ | : Optional. Sets the (left) margin. Accepts numeral values and '''center''' for an automatically centered align. (Default: 0) | ||
+ | ; ''parameters'' t1 ''–'' t8 | ||
+ | : Optional. Skill texts. | ||
+ | |||
+ | <sup>1</sup> Note that the actual value of these parameters is irrelevant, as long as one is provided. | ||
+ | |||
+ | |||
+ | == Examples == | ||
+ | |||
+ | === General usage === | ||
+ | {{ Skill bar | ||
+ | | 1 = [http://wiki.guildwars.com/images/f/f8/Dwayna%27s_Kiss_%28large%29.jpg] | ||
+ | | 2 = Orison of Healing | ||
+ | | 3 = Words of Comfort | ||
+ | | 4 = Healer's Boon | ||
+ | | 5 = Heal Party | ||
+ | | 6 = Dismiss Condition | ||
+ | | 7 = Deny Hexes | ||
+ | | 8 = Rebirth | ||
+ | }} | ||
+ | <pre><nowiki>{{ 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 | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | |||
+ | === Short form === | ||
+ | {{ Skill bar | Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth }} | ||
+ | <pre><nowiki>{{ Skill bar | Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth }}</nowiki></pre> | ||
+ | |||
+ | |||
+ | === Usage of "''size''" parameter === | ||
+ | {{ 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 | ||
+ | | size = 24 | ||
+ | }} | ||
+ | <pre><nowiki>{{ 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 | ||
+ | | size = 24 | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | |||
+ | === Usage of "''outline''" & "''outlinecolor''" parameter === | ||
+ | {{ 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 | ||
+ | | outline = 1 | ||
+ | | outlinecolor = #F00 | ||
+ | }} | ||
+ | <pre><nowiki>{{ 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 | ||
+ | | outline = 1 | ||
+ | | outlinecolor = #F00 | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | |||
+ | === Usage of "''border''" parameter === | ||
+ | {{ 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 | ||
+ | | border = solid | ||
+ | }} | ||
+ | <pre><nowiki>{{ 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 | ||
+ | | border = solid | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | |||
+ | === Usage of "''text''" parameter === | ||
+ | {{ 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 | ||
+ | | text = hide | ||
+ | }} | ||
+ | <pre><nowiki>{{ 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 | ||
+ | | text = hide | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | === Usage of "''emptyskills''" parameter : hide & show === | ||
+ | {{ Skill bar | ||
+ | | 1 = Dwayna's Kiss | ||
+ | | 2 = Orison of Healing | ||
+ | | 3 = Words of Comfort | ||
+ | | 4 = Healer's Boon | ||
+ | }} | ||
+ | <pre><nowiki>{{ Skill bar | ||
+ | | 1 = Dwayna's Kiss | ||
+ | | 2 = Orison of Healing | ||
+ | | 3 = Words of Comfort | ||
+ | | 4 = Healer's Boon | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | {{ Skill bar | ||
+ | | 1 = Dwayna's Kiss | ||
+ | | 2 = Orison of Healing | ||
+ | | 3 = Words of Comfort | ||
+ | | 4 = Healer's Boon | ||
+ | | emptyskills = hide | ||
+ | }} | ||
+ | <pre><nowiki>{{ Skill bar | ||
+ | | 1 = Dwayna's Kiss | ||
+ | | 2 = Orison of Healing | ||
+ | | 3 = Words of Comfort | ||
+ | | 4 = Healer's Boon | ||
+ | | emptyskills = hide | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | |||
+ | === Usage of "''indent''" parameter === | ||
+ | {{ 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 | ||
+ | | text = hide | ||
+ | | indent = 50 | ||
+ | }} | ||
+ | <pre><nowiki>{{ 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 | ||
+ | | text = hide | ||
+ | | indent = 50 | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | {{ 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 | ||
+ | | text = hide | ||
+ | | indent = center | ||
+ | }} | ||
+ | <pre><nowiki>{{ 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 | ||
+ | | text = hide | ||
+ | | indent = center | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | |||
+ | === Usage of "''border = direct''" parameter === | ||
+ | {{ 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 | ||
+ | | outline = 1 | ||
+ | | border = direct | ||
+ | }} | ||
+ | <pre><nowiki>{{ 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 | ||
+ | | outline = 1 | ||
+ | | border = direct | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | |||
+ | === Example: Mini skill bar === | ||
+ | {{ 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 | ||
+ | | size = 24 | ||
+ | | outline = 1 | ||
+ | | border = direct | ||
+ | | text = hide | ||
+ | }} | ||
+ | <pre><nowiki>{{ 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 | ||
+ | | size = 24 | ||
+ | | outline = 1 | ||
+ | | border = direct | ||
+ | | text = hide | ||
+ | }}</nowiki></pre> | ||
+ | |||
+ | [[Category: Build templates|Skill bar]] | ||
+ | </noinclude> |
Latest revision as of 10:41, 13 January 2012
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) }}
This template is used to generate Skill bars. For easier use of common styles, see Template:Skill bar preset.
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
General usage
[[[3]]] | Orison of Healing | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth |
{{ 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 }}
Short form
Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth |
{{ Skill bar | Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth }}
Usage of "size" parameter
Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth |
{{ 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 | size = 24 }}
Usage of "outline" & "outlinecolor" parameter
Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth |
{{ 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 | outline = 1 | outlinecolor = #F00 }}
Usage of "border" parameter
Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth |
{{ 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 | border = solid }}
Usage of "text" parameter
{{ 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 | text = hide }}
Usage of "emptyskills" parameter : hide & show
Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon | Blank | Blank | Blank | Blank |
{{ Skill bar | 1 = Dwayna's Kiss | 2 = Orison of Healing | 3 = Words of Comfort | 4 = Healer's Boon }}
Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon |
{{ Skill bar | 1 = Dwayna's Kiss | 2 = Orison of Healing | 3 = Words of Comfort | 4 = Healer's Boon | emptyskills = hide }}
Usage of "indent" parameter
{{ 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 | text = hide | indent = 50 }}
{{ 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 | text = hide | indent = center }}
Usage of "border = direct" parameter
Dwayna's Kiss | Orison of Healing | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth |
{{ 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 | outline = 1 | border = direct }}
Example: Mini skill bar
{{ 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 | size = 24 | outline = 1 | border = direct | text = hide }}