« Modèle:Skill bar » : différence entre les versions
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 }}" | ||
|- | |||
! Arme | |||
! Calv | |||
! colspan="5" style="text-align:center;" | Item | |||
! Familier attaque | |||
! Familier défense | |||
|- | |||
{{ #if: {{{emptyskills|}}} | | {{ #if: {{{emptyskills|}}} | | ||
{{ #if: {{{ | {{ #if: {{{calv|}}} | {{!}} 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: {{{calv}}} | {{{calv}}} }}_skill.png|{{{size|64}}}px|link={{{calv}}}]]</div> {{ #if: {{{text|}}} | | {{{tcalv|[[{{{calv}}}]]}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{arme|}}} | {{!}} 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: {{{arme}}} | {{{arme}}} }}_skill.png|{{{size|64}}}px|link={{{arme}}}]]</div> {{ #if: {{{text|}}} | | {{{tarme|[[{{{arme}}}]]}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{item1|}}} | {{!}} 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: {{{item1}}} | {{{item1}}} }}_skill.png|{{{size|64}}}px|link={{{item1}}}]]</div> {{ #if: {{{text|}}} | | {{{titem1|[[{{{item1}}}]]}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{item2|}}} | {{!}} 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: {{{item2}}} | {{{item2}}} }}_skill.png|{{{size|64}}}px|link={{{item2}}}]]</div> {{ #if: {{{text|}}} | | {{{titem2|[[{{{item2}}}]]}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{item3|}}} | {{!}} 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: {{{item3}}} | {{{item3}}} }}_skill.png|{{{size|64}}}px|link={{{item3}}}]]</div> {{ #if: {{{text|}}} | | {{{titem3|[[{{{item3}}}]]}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{item4|}}} | {{!}} 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: {{{item4}}} | {{{item4}}} }}_skill.png|{{{size|64}}}px|link={{{item4}}}]]</div> {{ #if: {{{text|}}} | | {{{titem4|[[{{{item4}}}]]}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{item5|}}} | {{!}} 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: {{{item5}}} | {{{item5}}} }}_skill.png|{{{size|64}}}px|link={{{item5}}}]]</div> {{ #if: {{{text|}}} | | {{{titem5|[[{{{item5}}}]]}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{famatk|}}} | {{!}} 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: {{{famatk}}} | {{{famatk}}} }}_skill.png|{{{size|64}}}px|link={{{famatk}}}]]</div> {{ #if: {{{text|}}} | | {{{tfamatk|[[{{{famatk}}}]]}}} }} }} | ||
{{ #if: {{{ | {{ #if: {{{famdef|}}} | {{!}} 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: {{{famdef}}} | {{{famdef}}} }}_skill.png|{{{size|64}}}px|link={{{famdef}}}]]</div> {{ #if: {{{text|}}} | | {{{tfamdef|[[{{{famdef}}}]]}}} }} }} | ||
| | | | ||
{{!}} 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: {{{ | {{!}} 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: {{{calv|}}} | {{{calv}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{calv|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{tcalv|[[{{{calv|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: {{{ | {{!}} 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: {{{arme|}}} | {{{arme}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{arme|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{tarme|[[{{{arme|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: {{{ | {{!}} 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: {{{item1|}}} | {{{item1}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{item1|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{titem1|[[{{{item1|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: {{{ | {{!}} 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: {{{item2|}}} | {{{item2}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{item2|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{titem2|[[{{{item2|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: {{{ | {{!}} 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: {{{item3|}}} | {{{item3}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{item3|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{titem3|[[{{{item3|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: {{{ | {{!}} 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: {{{item4|}}} | {{{item4}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{item4|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{titem4|[[{{{item4|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: {{{ | {{!}} 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: {{{item5|}}} | {{{item5}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{item5|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{titem5|[[{{{item5|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: {{{ | {{!}} 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: {{{famatk|}}} | {{{famatk}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{famatk|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{tfamatk|[[{{{famatk|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: {{{ | {{!}} 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: {{{famdef|}}} | {{{famdef}}} | Blank }}_skill.png|{{{size|64}}}px|link={{{famdef|Blank}}}]]</div> {{ #if: {{{text|}}} | | {{{tfamdef|[[{{{famdef|Blank}}}]]}}} }} | ||
}} | }} | ||
|}<noinclude> | |}<noinclude> | ||
Ligne 26 : | Ligne 33 : | ||
<div style="float: right;">__TOC__</div> | <div style="float: right;">__TOC__</div> | ||
<pre style="width: 50%;"><nowiki>{{ Skill bar | <pre style="width: 50%;"><nowiki>{{ Skill bar | ||
| | | calv = calv | ||
| | | arme = arme | ||
| | | item1 = item 1 | ||
| | | item2 = item 2 | ||
| | | item3 = item 3 | ||
| | | item4 = item 4 | ||
| | | item5 = item 5 | ||
| | | famatk = famatk | ||
| | | famdef = famdef | ||
| size = (icon size) | | size = (icon size) | ||
| outline = (outline size) | | outline = (outline size) | ||
Ligne 80 : | Ligne 87 : | ||
=== General usage === | === General usage === | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Ligne 110 : | Ligne 117 : | ||
=== Usage of "''size''" parameter === | === Usage of "''size''" parameter === | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| size = 24 | | size = 24 | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| size = 24 | | size = 24 | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Ligne 137 : | Ligne 144 : | ||
=== Usage of "''outline''" & "''outlinecolor''" parameter === | === Usage of "''outline''" & "''outlinecolor''" parameter === | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| outline = 1 | | outline = 1 | ||
| outlinecolor = #F00 | | outlinecolor = #F00 | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| outline = 1 | | outline = 1 | ||
| outlinecolor = #F00 | | outlinecolor = #F00 | ||
Ligne 166 : | Ligne 173 : | ||
=== Usage of "''border''" parameter === | === Usage of "''border''" parameter === | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| border = solid | | border = solid | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| border = solid | | border = solid | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Ligne 193 : | Ligne 200 : | ||
=== Usage of "''text''" parameter === | === Usage of "''text''" parameter === | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| text = hide | | text = hide | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| text = hide | | text = hide | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Ligne 219 : | Ligne 226 : | ||
=== Usage of "''emptyskills''" parameter : hide & show === | === Usage of "''emptyskills''" parameter : hide & show === | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| emptyskills = hide | | emptyskills = hide | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| emptyskills = hide | | emptyskills = hide | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Ligne 249 : | Ligne 256 : | ||
=== Usage of "''indent''" parameter === | === Usage of "''indent''" parameter === | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| text = hide | | text = hide | ||
| indent = 50 | | indent = 50 | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| text = hide | | text = hide | ||
| indent = 50 | | indent = 50 | ||
Ligne 276 : | Ligne 283 : | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| text = hide | | text = hide | ||
| indent = center | | indent = center | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| text = hide | | text = hide | ||
| indent = center | | indent = center | ||
Ligne 305 : | Ligne 312 : | ||
=== Usage of "''border = direct''" parameter === | === Usage of "''border = direct''" parameter === | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| outline = 1 | | outline = 1 | ||
| border = direct | | border = direct | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| outline = 1 | | outline = 1 | ||
| border = direct | | border = direct | ||
Ligne 334 : | Ligne 341 : | ||
=== Example: Mini skill bar === | === Example: Mini skill bar === | ||
{{ Skill bar | {{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| size = 24 | | size = 24 | ||
| outline = 1 | | outline = 1 | ||
Ligne 349 : | Ligne 356 : | ||
}} | }} | ||
<pre><nowiki>{{ Skill bar | <pre><nowiki>{{ Skill bar | ||
| | | calv = La Jijou | ||
| | | arme = Barre de donations | ||
| | | item1 = Boule de cristal | ||
| | | item2 = Cire d'abeille | ||
| | | item3 = Planche de wengé | ||
| | | item4 = Ecrou serti | ||
| | | item5 = Coquetier en cocotier | ||
| | | famatk = Marohm | ||
| | | famdef = Boubou | ||
| size = 24 | | size = 24 | ||
| outline = 1 | | outline = 1 |
Version du 17 novembre 2023 à 23:45
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
Blank | Blank | Blank | Blank | Blank | Blank | Blank | Blank | Blank |
Description
{{ Skill bar | calv = calv | arme = arme | item1 = item 1 | item2 = item 2 | item3 = item 3 | item4 = item 4 | item5 = item 5 | famatk = famatk | famdef = famdef | 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 – 9
- 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 – t9
- Optional. Skill texts.
1 Note that the actual value of these parameters is irrelevant, as long as one is provided.
Examples
General usage
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Planche de wengé | Ecrou serti | Coquetier en cocotier | Marohm | Boubou |
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | item3 = Planche de wengé | item4 = Ecrou serti | item5 = Coquetier en cocotier | famatk = Marohm | famdef = Boubou }}
Short form
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
Blank | Blank | Blank | Blank | Blank | Blank | Blank | Blank | Blank |
{{ Skill bar | La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Planche de wengé | Ecrou serti | Coquetier en cocotier | Marohm | Boubou }}
Usage of "size" parameter
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Planche de wengé | Ecrou serti | Coquetier en cocotier | Marohm | Boubou |
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | item3 = Planche de wengé | item4 = Ecrou serti | item5 = Coquetier en cocotier | famatk = Marohm | famdef = Boubou | size = 24 }}
Usage of "outline" & "outlinecolor" parameter
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Planche de wengé | Ecrou serti | Coquetier en cocotier | Marohm | Boubou |
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | item3 = Planche de wengé | item4 = Ecrou serti | item5 = Coquetier en cocotier | famatk = Marohm | famdef = Boubou | outline = 1 | outlinecolor = #F00 }}
Usage of "border" parameter
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Planche de wengé | Ecrou serti | Coquetier en cocotier | Marohm | Boubou |
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | item3 = Planche de wengé | item4 = Ecrou serti | item5 = Coquetier en cocotier | famatk = Marohm | famdef = Boubou | border = solid }}
Usage of "text" parameter
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | item3 = Planche de wengé | item4 = Ecrou serti | item5 = Coquetier en cocotier | famatk = Marohm | famdef = Boubou | text = hide }}
Usage of "emptyskills" parameter : hide & show
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Blank | Blank | Blank | Blank | Blank |
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille }}
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
La Jijou | Barre de donations | Boule de cristal | Cire d'abeille |
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | emptyskills = hide }}
Usage of "indent" parameter
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | item3 = Planche de wengé | item4 = Ecrou serti | item5 = Coquetier en cocotier | famatk = Marohm | famdef = Boubou | text = hide | indent = 50 }}
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | item3 = Planche de wengé | item4 = Ecrou serti | item5 = Coquetier en cocotier | famatk = Marohm | famdef = Boubou | text = hide | indent = center }}
Usage of "border = direct" parameter
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
La Jijou | Barre de donations | Boule de cristal | Cire d'abeille | Planche de wengé | Ecrou serti | Coquetier en cocotier | Marohm | Boubou |
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | item3 = Planche de wengé | item4 = Ecrou serti | item5 = Coquetier en cocotier | famatk = Marohm | famdef = Boubou | outline = 1 | border = direct }}
Example: Mini skill bar
Arme | Calv | Item | Familier attaque | Familier défense | ||||
---|---|---|---|---|---|---|---|---|
{{ Skill bar | calv = La Jijou | arme = Barre de donations | item1 = Boule de cristal | item2 = Cire d'abeille | item3 = Planche de wengé | item4 = Ecrou serti | item5 = Coquetier en cocotier | famatk = Marohm | famdef = Boubou | size = 24 | outline = 1 | border = direct | text = hide }}