« Modèle:Skill bar » : différence entre les versions

De Wiki - La Calv
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
{| 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 }}"
{| 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: {{{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" }}>[[File:{{ #if: {{{1}}} | {{{1}}} }}_skill.png|{{{size|64}}}px|link={{{1}}}]]</div> {{ #if: {{{text|}}} | | {{{t1|[[{{{1}}}]]}}} }} }}
   {{ #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" }}>[[File:{{ #if: {{{1}}} | {{{1}}} }}_skill_skill.png|{{{size|64}}}px|link={{{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" }}>[[File:{{ #if: {{{2}}} | {{{2}}} }}.png|{{{size|64}}}px|link={{{2}}}]]</div> {{ #if: {{{text|}}} | | {{{t2|[[{{{2}}}]]}}} }} }}
   {{ #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" }}>[[File:{{ #if: {{{2}}} | {{{2}}} }}_skill.png|{{{size|64}}}px|link={{{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" }}>[[File:{{ #if: {{{3}}} | {{{3}}} }}.png|{{{size|64}}}px|link={{{3}}}]]</div> {{ #if: {{{text|}}} | | {{{t3|[[{{{3}}}]]}}} }} }}
   {{ #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" }}>[[File:{{ #if: {{{3}}} | {{{3}}} }}_skill.png|{{{size|64}}}px|link={{{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" }}>[[File:{{ #if: {{{4}}} | {{{4}}} }}.png|{{{size|64}}}px|link={{{4}}}]]</div> {{ #if: {{{text|}}} | | {{{t4|[[{{{4}}}]]}}} }} }}
   {{ #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" }}>[[File:{{ #if: {{{4}}} | {{{4}}} }}_skill.png|{{{size|64}}}px|link={{{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" }}>[[File:{{ #if: {{{5}}} | {{{5}}} }}.png|{{{size|64}}}px|link={{{5}}}]]</div> {{ #if: {{{text|}}} | | {{{t5|[[{{{5}}}]]}}} }} }}
   {{ #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" }}>[[File:{{ #if: {{{5}}} | {{{5}}} }}_skill.png|{{{size|64}}}px|link={{{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" }}>[[File:{{ #if: {{{6}}} | {{{6}}} }}.png|{{{size|64}}}px|link={{{6}}}]]</div> {{ #if: {{{text|}}} | | {{{t6|[[{{{6}}}]]}}} }} }}
   {{ #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" }}>[[File:{{ #if: {{{6}}} | {{{6}}} }}_skill.png|{{{size|64}}}px|link={{{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" }}>[[File:{{ #if: {{{7}}} | {{{7}}} }}.png|{{{size|64}}}px|link={{{7}}}]]</div> {{ #if: {{{text|}}} | | {{{t7|[[{{{7}}}]]}}} }} }}
   {{ #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" }}>[[File:{{ #if: {{{7}}} | {{{7}}} }}_skill.png|{{{size|64}}}px|link={{{7}}}]]</div> {{ #if: {{{text|}}} | | {{{t7|[[{{{7}}}]]}}} }} }}
   {{ #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" }}>[[File:{{ #if: {{{8}}} | {{{8}}} }}.png|{{{size|64}}}px|link={{{8}}}]]</div> {{ #if: {{{text|}}} | | {{{t8|[[{{{8}}}]]}}} }} }}
   {{ #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" }}>[[File:{{ #if: {{{8}}} | {{{8}}} }}_skill.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{1|}}} | {{{1}}} | Blank }}.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{1|}}} | {{{1}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{2|}}} | {{{2}}} | Blank }}.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{2|}}} | {{{2}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{3|}}} | {{{3}}} | Blank }}.png|{{{size|64}}}px|link={{{3|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t3|[[{{{3|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" | }}>[[File:{{ #if: {{{3|}}} | {{{3}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{3|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t3|[[{{{3|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" | }}>[[File:{{ #if: {{{4|}}} | {{{4}}} | Blank }}.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{4|}}} | {{{4}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{5|}}} | {{{5}}} | Blank }}.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{5|}}} | {{{5}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{6|}}} | {{{6}}} | Blank }}.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{6|}}} | {{{6}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{7|}}} | {{{7}}} | Blank }}.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{7|}}} | {{{7}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{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" | }}>[[File:{{ #if: {{{8|}}} | {{{8}}} | Blank }}.png|{{{size|64}}}px|link={{{8|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t8|[[{{{8|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" | }}>[[File:{{ #if: {{{8|}}} | {{{8}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{8|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{t8|[[{{{8|Blank}}}]]}}} }}
}}
}}
|}<noinclude>
|}<noinclude>
Ligne 77 : Ligne 77 :
=== General usage ===
=== General usage ===
{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
}}</nowiki></pre>
}}</nowiki></pre>




=== Short form ===
=== Short form ===
{{ Skill bar | Lajijou | Barrededonations | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth }}
{{ Skill bar | La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Planche de wengé | Ecrou serti | Coquetier en cocotier | Marohm }}
<pre><nowiki>{{ Skill bar | Lajijou | Barrededonations | Words of Comfort | Healer's Boon | Heal Party | Dismiss Condition | Deny Hexes | Rebirth }}</nowiki></pre>
<pre><nowiki>{{ Skill bar | La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Planche de wengé | Ecrou serti | Coquetier en cocotier | Marohm }}</nowiki></pre>




=== Usage of "''size''" parameter ===
=== Usage of "''size''" parameter ===
{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | size = 24
  | size = 24
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | size = 24
  | size = 24
}}</nowiki></pre>
}}</nowiki></pre>
Ligne 130 : Ligne 130 :
=== Usage of "''outline''" & "''outlinecolor''" parameter ===
=== Usage of "''outline''" & "''outlinecolor''" parameter ===
{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | outline = 1
  | outline = 1
  | outlinecolor = #F00
  | outlinecolor = #F00
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | outline = 1
  | outline = 1
  | outlinecolor = #F00
  | outlinecolor = #F00
Ligne 157 : Ligne 157 :
=== Usage of "''border''" parameter ===
=== Usage of "''border''" parameter ===
{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | border = solid
  | border = solid
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | border = solid
  | border = solid
}}</nowiki></pre>
}}</nowiki></pre>
Ligne 182 : Ligne 182 :
=== Usage of "''text''" parameter ===
=== Usage of "''text''" parameter ===
{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | text = hide
  | text = hide
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | text = hide
  | text = hide
}}</nowiki></pre>
}}</nowiki></pre>
Ligne 206 : Ligne 206 :
=== Usage of "''emptyskills''" parameter : hide & show ===
=== Usage of "''emptyskills''" parameter : hide & show ===
{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
}}</nowiki></pre>
}}</nowiki></pre>


{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | emptyskills = hide
  | emptyskills = hide
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | emptyskills = hide
  | emptyskills = hide
}}</nowiki></pre>
}}</nowiki></pre>
Ligne 236 : Ligne 236 :
=== Usage of "''indent''" parameter ===
=== Usage of "''indent''" parameter ===
{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | text = hide
  | text = hide
  | indent = 50
  | indent = 50
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | text = hide
  | text = hide
  | indent = 50
  | indent = 50
Ligne 261 : Ligne 261 :


{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | text = hide
  | text = hide
  | indent = center
  | indent = center
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | text = hide
  | text = hide
  | indent = center
  | indent = center
Ligne 288 : Ligne 288 :
=== Usage of "''border = direct''" parameter ===
=== Usage of "''border = direct''" parameter ===
{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | outline = 1
  | outline = 1
  | border = direct
  | border = direct
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | outline = 1
  | outline = 1
  | border = direct
  | border = direct
Ligne 315 : Ligne 315 :
=== Example: Mini skill bar ===
=== Example: Mini skill bar ===
{{ Skill bar
{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | size = 24
  | size = 24
  | outline = 1
  | outline = 1
Ligne 329 : Ligne 329 :
}}
}}
<pre><nowiki>{{ Skill bar
<pre><nowiki>{{ Skill bar
  | 1 = Lajijou
  | 1 = La Jijou
  | 2 = Barrededonations
  | 2 = Barre de donations
  | 3 = Words of Comfort
  | 3 = Boule de cristal
  | 4 = Healer's Boon
  | 4 = Cire d'abeille
  | 5 = Heal Party
  | 5 = Planche de wengé
  | 6 = Dismiss Condition
  | 6 = Ecrou serti
  | 7 = Deny Hexes
  | 7 = Coquetier en cocotier
  | 8 = Rebirth
  | 8 = Marohm
  | size = 24
  | size = 24
  | outline = 1
  | outline = 1

Version du 17 novembre 2023 à 14:58

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

La Jijou
Barre de donations
Boule de cristal
Cire d'abeille
Planche de wengé
Ecrou serti
Coquetier en cocotier
Marohm
{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | 5 = Planche de wengé
 | 6 = Ecrou serti
 | 7 = Coquetier en cocotier
 | 8 = Marohm
}}


Short form

La Jijou
Barre de donations
Boule de cristal
Cire d'abeille
Planche de wengé
Ecrou serti
Coquetier en cocotier
Marohm
{{ Skill bar | La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Planche de wengé | Ecrou serti | Coquetier en cocotier | Marohm }}


Usage of "size" parameter

La Jijou
Barre de donations
Boule de cristal
Cire d'abeille
Planche de wengé
Ecrou serti
Coquetier en cocotier
Marohm
{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | 5 = Planche de wengé
 | 6 = Ecrou serti
 | 7 = Coquetier en cocotier
 | 8 = Marohm
 | size = 24
}}


Usage of "outline" & "outlinecolor" parameter

La Jijou
Barre de donations
Boule de cristal
Cire d'abeille
Planche de wengé
Ecrou serti
Coquetier en cocotier
Marohm
{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | 5 = Planche de wengé
 | 6 = Ecrou serti
 | 7 = Coquetier en cocotier
 | 8 = Marohm
 | outline = 1
 | outlinecolor = #F00
}}


Usage of "border" parameter

La Jijou
Barre de donations
Boule de cristal
Cire d'abeille
Planche de wengé
Ecrou serti
Coquetier en cocotier
Marohm
{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | 5 = Planche de wengé
 | 6 = Ecrou serti
 | 7 = Coquetier en cocotier
 | 8 = Marohm
 | border = solid
}}


Usage of "text" parameter

{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | 5 = Planche de wengé
 | 6 = Ecrou serti
 | 7 = Coquetier en cocotier
 | 8 = Marohm
 | text = hide
}}

Usage of "emptyskills" parameter : hide & show

La Jijou
Barre de donations
Boule de cristal
Cire d'abeille
Blank
Blank
Blank
Blank
{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
}}
La Jijou
Barre de donations
Boule de cristal
Cire d'abeille
{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | emptyskills = hide
}}


Usage of "indent" parameter

{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | 5 = Planche de wengé
 | 6 = Ecrou serti
 | 7 = Coquetier en cocotier
 | 8 = Marohm
 | text = hide
 | indent = 50
}}
{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | 5 = Planche de wengé
 | 6 = Ecrou serti
 | 7 = Coquetier en cocotier
 | 8 = Marohm
 | text = hide
 | indent = center
}}


Usage of "border = direct" parameter

La Jijou
Barre de donations
Boule de cristal
Cire d'abeille
Planche de wengé
Ecrou serti
Coquetier en cocotier
Marohm
{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | 5 = Planche de wengé
 | 6 = Ecrou serti
 | 7 = Coquetier en cocotier
 | 8 = Marohm
 | outline = 1
 | border = direct
}}


Example: Mini skill bar

{{ Skill bar
 | 1 = La Jijou
 | 2 = Barre de donations
 | 3 = Boule de cristal
 | 4 = Cire d'abeille
 | 5 = Planche de wengé
 | 6 = Ecrou serti
 | 7 = Coquetier en cocotier
 | 8 = Marohm
 | size = 24
 | outline = 1
 | border = direct
 | text = hide
}}