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

De Wiki Gla
Ir para navegação Ir para pesquisar
Etiqueta: Revertido
m
 
(82 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 1: Linha 1:
<includeonly>
<includeonly>{{#widget:Teste}}{{#invoke:Teste|main
<templatestyles src="Predefinição:Skillbox/styles.css" />
| nome1  = {{{nome1|}}}  | link1  = {{{link1|}}}  | img1  = {{{img1|}}}  | qtd1  = {{{qtd1|}}}  | bau1  = {{{bau1|}}}
{{#invoke:Skillbox|exibir}}
| nome2  = {{{nome2|}}}  | link2  = {{{link2|}}}  | img2  = {{{img2|}}}  | qtd2  = {{{qtd2|}}}  | bau2  = {{{bau2|}}}
| nome3  = {{{nome3|}}}  | link3  = {{{link3|}}}  | img3  = {{{img3|}}}  | qtd3  = {{{qtd3|}}}  | bau3  = {{{bau3|}}}
| nome4  = {{{nome4|}}}  | link4  = {{{link4|}}}  | img4  = {{{img4|}}}  | qtd4  = {{{qtd4|}}}  | bau4  = {{{bau4|}}}
| nome5  = {{{nome5|}}}  | link5  = {{{link5|}}}  | img5  = {{{img5|}}}  | qtd5  = {{{qtd5|}}}  | bau5  = {{{bau5|}}}
| nome6  = {{{nome6|}}}  | link6  = {{{link6|}}}  | img6  = {{{img6|}}}  | qtd6  = {{{qtd6|}}}  | bau6  = {{{bau6|}}}
| nome7  = {{{nome7|}}}  | link7  = {{{link7|}}}  | img7  = {{{img7|}}}  | qtd7  = {{{qtd7|}}}  | bau7  = {{{bau7|}}}
| nome8  = {{{nome8|}}}  | link8  = {{{link8|}}}  | img8  = {{{img8|}}}  | qtd8  = {{{qtd8|}}}  | bau8  = {{{bau8|}}}
| nome9  = {{{nome9|}}}  | link9  = {{{link9|}}}  | img9  = {{{img9|}}}  | qtd9  = {{{qtd9|}}}  | bau9  = {{{bau9|}}}
| nome10 = {{{nome10|}}} | link10 = {{{link10|}}} | img10 = {{{img10|}}} | qtd10 = {{{qtd10|}}} | bau10 = {{{bau10|}}}
| nome11 = {{{nome11|}}} | link11 = {{{link11|}}} | img11 = {{{img11|}}} | qtd11 = {{{qtd11|}}} | bau11 = {{{bau11|}}}
| nome12 = {{{nome12|}}} | link12 = {{{link12|}}} | img12 = {{{img12|}}} | qtd12 = {{{qtd12|}}} | bau12 = {{{bau12|}}}
}}</includeonly>


<style>
<noinclude>
.skillbox-video {
== Exemplo ==
  aspect-ratio: 16 / 9;
<pre>
}
{{Teste
</style>
| nome1 = Foosha Village
 
| link1 = Foosha Village
<script>
| img1  = Foosha.png
document.addEventListener("DOMContentLoaded", function () {
| qtd1  = 6
  const tabs = document.querySelectorAll('.skillbox-tab');
| bau1  = comum
  const panels = document.querySelectorAll('.skillbox-panel');
}}
 
</pre>
  tabs.forEach((tab, index) => {
</noinclude>
    tab.addEventListener('click', () => {
      tabs.forEach(t => t.classList.remove('active'));
      panels.forEach(p => p.classList.remove('active'));
 
      tab.classList.add('active');
      panels[index].classList.add('active');
 
      const video = panels[index].querySelector('video');
      if (video) {
        panels.forEach((p) => {
          const v = p.querySelector('video');
          if (v) v.pause();
        });
        video.load();
        video.play();
      }
    });
  });
});
</script>
</includeonly>
 
<noinclude>{{Predefinição:Skillbox/doc}}</noinclude>

Edição atual tal como às 23h55min de 12 de março de 2026


Exemplo

{{Teste
 | nome1 = Foosha Village
 | link1 = Foosha Village
 | img1  = Foosha.png
 | qtd1  = 6
 | bau1  = comum
}}