Mudanças entre as edições de "Predefinição:Teste"

De Wiki Gla
Ir para navegação Ir para pesquisar
 
(90 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 1: Linha 1:
Olá amigo, se você for um editor da WIKI seja muito bem-vindo a predefinição de '''Habilidades'''. O proposito dessa predefinição é facilitar a manutenção e a criação de habilidades nos códigos das páginas de personagem.
<includeonly><div class="tile-halves">{{#if: {{{imagehidden|}}} || <div class="tile-top tile-image">[[Arquivo:{{{imagem}}}|600x200px|link={{{link}}}]]</div>}}<div class="tile-bottom link-button">[{{{link}}} <p class="byline">{{{data|Data não especificada}}} · {{{tipo|Tipo não especificado}}}</p><h2>{{{título|Título não especificado}}}</h2><p>{{{descrição|Descrição não especificada}}}</p>]</div></div></includeonly>
 
Um tutorial de como utilizar:
<big>'''EXEMPLO'''</big>
<pre>
{{skills
| skill-tab1 = /images/5/5d/Aokiji_sk1_icon.png
| nskill1 = Kick
| level1 = 1
| descskill1 = Kuzan é tão preguiçoso que prefere não tirar as mãos dos bolsos e opta por chutar o inimigo em vez de socá-lo.
| video1 = /images/7/76/Aokiji_sk1.webm
| powerpvp1 = 9
| powerpve1 = 15
| cooldown1 = 2 seg
| energy1 = -
}}
</pre>
{{DASH|
- skill-tab: é o ícone da habilidade, utilize o endereço do link inteiro ou a partir do "image/" para funcionar por favor.
- nskill: nome da habilidade.
- level: nível que a habilidade é desbloqueada.
- descskill: descrição da habilidade.
- video: video da habilidade, mesmo esquema dos ícones, use o endereço inteiro
}}
<includeonly>
<td class="test-characterPage--characterSkills">
{{#widget:opendiv|class=test-card}}
<span class="test-card-title">Habilidades</span>
{{#widget:opendiv|class=test-tabsContainer}}
<table>
<tr class="test-tabSkill--container">
<!-- Aqui entram as abas das habilidades -->
<td data-skill-id=1 class="test-tab-skill test-active">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab1}}}}}
{{#widget:closediv}}
</td>
{{#if: {{{skill-tab2|}}} |
<td data-skill-id=2 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab2}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab3|}}} |
<td data-skill-id=3 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab3}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab4|}}} |
<td data-skill-id=4 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab4}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab5|}}} |
<td data-skill-id=5 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab5}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab6|}}} |
<td data-skill-id=6 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab6}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab7|}}} |
<td data-skill-id=7 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab7}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab8|}}} |
<td data-skill-id=8 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab8}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab9|}}} |
<td data-skill-id=9 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab9}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab10|}}} |
<td data-skill-id=10 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab10}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab11|}}} |
<td data-skill-id=11 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab11}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab12|}}} |
<td data-skill-id=12 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab12}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab13|}}} |
<td data-skill-id=14 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab13}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab14|}}} |
<td data-skill-id=14 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab14}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab15|}}} |
<td data-skill-id=15 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab15}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab16|}}} |
<td data-skill-id=16 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab16}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab17|}}} |
<td data-skill-id=17 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab17}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab18|}}} |
<td data-skill-id=18 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab18}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab19|}}} |
<td data-skill-id=19 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab19}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab20|}}} |
<td data-skill-id=20 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab20}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab21|}}} |
<td data-skill-id=21 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab21}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab22|}}} |
<td data-skill-id=22 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab22}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab23|}}} |
<td data-skill-id=23 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab23}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab24|}}} |
<td data-skill-id=24 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab24}}}}}
{{#widget:closediv}}
</td>
}}
{{#if: {{{skill-tab25|}}} |
<td data-skill-id=25 class="test-tab-skill">
{{#widget:opendiv}}
{{#widget:image|src={{{skill-tab25}}}}}
{{#widget:closediv}}
</td>
}}
</tr>
 
<tr class="test-skillInfo--container">
<!-- SKILL1 ATIVA OBRIGATORIO -->
<td data-skill-id=1 class="test-skillInfo test-active" colspan="12">
{{#widget:opendiv|class=test-d-flex test-justify-between}}
{{#widget:opendiv|class=test-skillInfo--infoContainer}}
<h1 class="test-skillInfo--name">{{{nskill1}}}</h1>
<center><b>Level: {{{level1}}}</b></center>
<p class="test-skillInfo--description">{{{descskill1}}}</p>
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--videoContainer}}
{{#widget:video|src={{{video1}}}|class=test-skillInfo--skillVideo}}
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--attributesContainer}}
<h1>Atributos</h1>
{{#widget:opendiv|class=test-attribute--cardsContainer}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/b/b1/Icon-cooldown.png|value={{{cooldown1}}}}} | '''Recarga'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/3/38/Icon-energy.png|value={{{energy1}}}}} | '''Energia'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/7/7a/Icon-pve.png|value={{{powerpve1}}}}} | '''Poder PVE'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/5/5f/Icon-pvp.png|value={{{powerpvp1}}}}} | '''Poder PVP'''}}
{{#widget:closediv}}
{{#widget:closediv}}
</td>
<!-- SKILLS -->
{{#if: {{{nskill2|}}} |
<td data-skill-id=2 class="test-skillInfo" colspan="12">
{{#widget:opendiv|class=test-d-flex test-justify-between}}
{{#widget:opendiv|class=test-skillInfo--infoContainer}}
<h1 class="test-skillInfo--name">{{{nskill2}}}</h1>
<center><b>Level: {{{level2}}}</b></center>
<p class="test-skillInfo--description">{{{descskill2}}}</p>
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--videoContainer}}
{{#widget:video|src={{{video2}}}|class=test-skillInfo--skillVideo}}
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--attributesContainer}}
<h1>Atributos</h1>
{{#widget:opendiv|class=test-attribute--cardsContainer}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/b/b1/Icon-cooldown.png|value={{{cooldown2}}}}} | '''Recarga'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/3/38/Icon-energy.png|value={{{energy2}}}}} | '''Energia'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/7/7a/Icon-pve.png|value={{{powerpve2}}}}} | '''Poder PVE'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/5/5f/Icon-pvp.png|value={{{powerpvp2}}}}} | '''Poder PVP'''}}
{{#widget:closediv}}
{{#widget:closediv}}
</td>
}}
 
{{#if: {{{nskill3|}}} |
<td data-skill-id=3 class="test-skillInfo" colspan="12">
{{#widget:opendiv|class=test-d-flex test-justify-between}}
{{#widget:opendiv|class=test-skillInfo--infoContainer}}
<h1 class="test-skillInfo--name">{{{nskill3}}}</h1>
<center><b>Level: {{{level3}}}</b></center>
<p class="test-skillInfo--description">{{{descskill3}}}</p>
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--videoContainer}}
{{#widget:video|src={{{video3}}}|class=test-skillInfo--skillVideo}}
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--attributesContainer}}
<h1>Atributos</h1>
{{#widget:opendiv|class=test-attribute--cardsContainer}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/b/b1/Icon-cooldown.png|value={{{cooldown3}}}}} | '''Recarga'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/3/38/Icon-energy.png|value={{{energy3}}}}} | '''Energia'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/7/7a/Icon-pve.png|value={{{powerpve3}}}}} | '''Poder PVE'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/5/5f/Icon-pvp.png|value={{{powerpvp3}}}}} | '''Poder PVP'''}}
{{#widget:closediv}}
{{#widget:closediv}}
</td>
}}
 
{{#if: {{{nskill4|}}} |
<td data-skill-id=4 class="test-skillInfo" colspan="12">
{{#widget:opendiv|class=test-d-flex test-justify-between}}
{{#widget:opendiv|class=test-skillInfo--infoContainer}}
<h1 class="test-skillInfo--name">{{{nskill4}}}</h1>
<center><b>Level: {{{level4}}}</b></center>
<p class="test-skillInfo--description">{{{descskill4}}}</p>
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--videoContainer}}
{{#widget:video|src={{{video4}}}|class=test-skillInfo--skillVideo}}
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--attributesContainer}}
<h1>Atributos</h1>
{{#widget:opendiv|class=test-attribute--cardsContainer}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/b/b1/Icon-cooldown.png|value={{{cooldown4}}}}} | '''Recarga'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/3/38/Icon-energy.png|value={{{energy4}}}}} | '''Energia'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/7/7a/Icon-pve.png|value={{{powerpve4}}}}} | '''Poder PVE'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/5/5f/Icon-pvp.png|value={{{powerpvp4}}}}} | '''Poder PVP'''}}
{{#widget:closediv}}
{{#widget:closediv}}
</td>
}}
 
{{#if: {{{nskill5|}}} |
<td data-skill-id=5 class="test-skillInfo" colspan="12">
{{#widget:opendiv|class=test-d-flex test-justify-between}}
{{#widget:opendiv|class=test-skillInfo--infoContainer}}
<h1 class="test-skillInfo--name">{{{nskill5}}}</h1>
<center><b>Level: {{{level5}}}</b></center>
<p class="test-skillInfo--description">{{{descskill5}}}</p>
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--videoContainer}}
{{#widget:video|src={{{video5}}}|class=test-skillInfo--skillVideo}}
{{#widget:closediv}}
{{#widget:opendiv|class=test-skillInfo--attributesContainer}}
<h1>Atributos</h1>
{{#widget:opendiv|class=test-attribute--cardsContainer}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/b/b1/Icon-cooldown.png|value={{{cooldown5}}}}} | '''Recarga'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/3/38/Icon-energy.png|value={{{energy5}}}}} | '''Energia'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/7/7a/Icon-pve.png|value={{{powerpve5}}}}} | '''Poder PVE'''}}
{{#tip-text: {{#widget:cardAttribute|icon=/images/5/5f/Icon-pvp.png|value={{{powerpvp5}}}}} | '''Poder PVP'''}}
{{#widget:closediv}}
{{#widget:closediv}}
</td>
}}
<!-- gurrensauro -->
</tr>
</table>
{{#widget:closediv}}
{{#widget:closediv}}
</td>
</includeonly>

Edição atual tal como às 04h42min de 25 de dezembro de 2024