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

De Wiki Gla
Ir para navegação Ir para pesquisar
m
 
(130 revisões intermediárias por 3 usuários não estão sendo mostradas)
Linha 1: Linha 1:
<div style="float:right; margin:10px;">
<includeonly>{{#widget:Teste}}{{#invoke:Teste|main
<div style="display:inline-block; border:1px solid #aaa; background:#f6f6f6; font-family:sans-serif; width:266px; max-width:100%; text-align:left; border-radius:8px; overflow:hidden; box-shadow:0 2px 5px rgba(0,0,0,0.1);">
| nome1  = {{{nome1|}}}  | link1  = {{{link1|}}}  | img1  = {{{img1|}}}  | qtd1  = {{{qtd1|}}}  | bau1  = {{{bau1|}}}
 
| nome2  = {{{nome2|}}}  | link2  = {{{link2|}}}  | img2  = {{{img2|}}}  | qtd2  = {{{qtd2|}}}  | bau2  = {{{bau2|}}}
<!-- Título da missão -->
| nome3  = {{{nome3|}}}  | link3  = {{{link3|}}}  | img3  = {{{img3|}}}  | qtd3  = {{{qtd3|}}}  | bau3  = {{{bau3|}}}
<table style="width:100%; border-collapse:collapse;">
| nome4  = {{{nome4|}}}  | link4  = {{{link4|}}}  | img4  = {{{img4|}}}  | qtd4  = {{{qtd4|}}}  | bau4  = {{{bau4|}}}
  <tr>
| nome5  = {{{nome5|}}}  | link5  = {{{link5|}}}  | img5  = {{{img5|}}}  | qtd5  = {{{qtd5|}}}  | bau5  = {{{bau5|}}}
    <td style="padding:6px; border:1px solid #ddd; text-align:center; font-weight:bold; font-size:20px; background:#eaeaea;" colspan="2">
| nome6  = {{{nome6|}}}  | link6  = {{{link6|}}}  | img6  = {{{img6|}}}  | qtd6  = {{{qtd6|}}}  | bau6  = {{{bau6|}}}
      {{{titulo|Nome da Missão}}}
| nome7  = {{{nome7|}}}  | link7  = {{{link7|}}}  | img7  = {{{img7|}}}  | qtd7  = {{{qtd7|}}}  | bau7  = {{{bau7|}}}
    </td>
| nome8  = {{{nome8|}}}  | link8  = {{{link8|}}}  | img8  = {{{img8|}}}  | qtd8  = {{{qtd8|}}}  | bau8  = {{{bau8|}}}
  </tr>
| nome9  = {{{nome9|}}}  | link9  = {{{link9|}}}  | img9  = {{{img9|}}}  | qtd9  = {{{qtd9|}}}  | bau9  = {{{bau9|}}}
</table>
| 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>


<!-- Banner (opcional) -->
<noinclude>
<div style="text-align:center;">
== Exemplo ==
  {{#if:{{{banner|}}}|[[File:{{{banner}}}|266px]]}}
<pre>
</div>
{{Teste
 
| nome1 = Foosha Village
<!-- Informações principais -->
| link1 = Foosha Village
<table style="width:100%; table-layout:fixed; border-collapse:collapse;">
| img1  = Foosha.png
  <tr>
| qtd1  = 6
    <td style="padding:4px; border:1px solid #ddd; word-wrap:break-word; word-break:break-word;"><strong>Nível Necessário:</strong></td>
| bau1  = comum
    <td style="padding:4px; border:1px solid #ddd;">{{{nivel|N/D}}}</td>
  </tr>
  <tr>
    <td style="padding:4px; border:1px solid #ddd; word-wrap:break-word; word-break:break-word;"><strong>Qtd. de Jogadores:</strong></td>
    <td style="padding:4px; border:1px solid #ddd;">{{{jogadores|N/D}}}</td>
  </tr>
  <tr>
    <td style="padding:4px; border:1px solid #ddd; word-wrap:break-word; word-break:break-word;"><strong>Tempo Limite:</strong></td>
    <td style="padding:4px; border:1px solid #ddd;">{{{tempo|N/D}}} min</td>
  </tr>
 
  <!-- Quantidade de dificuldades -->
  {{#ifeq:{{{dificuldade|1}}}|3|
    <!-- Múltiplas dificuldades -->
    <tr>
      <td colspan="2" style="padding:6px; border:1px solid #ddd;">
        <tabber>
        -|Normal=
        <p><strong>Recompensas:</strong>
        <div style="max-height:50px; overflow-y:auto; white-space:normal;">{{{recompensa_normal|Nenhuma}}}</div>
        </p>
        -|Elite=
        <p><strong>Recompensas:</strong>
        <div style="max-height:50px; overflow-y:auto; white-space:normal;">{{{recompensa_elite|Nenhuma}}}</div>
        </p>
        -|Hard=
        <p><strong>Recompensas:</strong>
        <div style="max-height:50px; overflow-y:auto; white-space:normal;">{{{recompensa_hard|Nenhuma}}}</div>
        </p>
        </tabber>
      </td>
    </tr>
  |
    <!-- Recompensas (sem dificuldade) -->
    <tr>
      <td colspan="2" style="padding:6px; border:1px solid #ddd;">
        <strong>Recompensas:</strong>
        <div style="max-height:50px; overflow-y:auto; white-space:normal;">{{{recompensa|Nenhuma}}}</div>
      </td>
    </tr>
  }}
 
</table>
 
<!-- Rodapé opcional -->
{{#if:{{{rodape|}}}|
<div style="padding:4px; margin-top:5px;">
  {{{rodape}}}
</div>
}}
}}
 
</pre>
</div>
</noinclude>
</div>

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
}}