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

De Wiki Gla
Ir para navegação Ir para pesquisar
m
 
(299 revisões intermediárias por 3 usuários não estão sendo mostradas)
Linha 1: Linha 1:
{{#if:{{{GetValue|}}}|{{{{{{GetValue|}}}}}}|{{#ifeq:{{{List|}}}||
<includeonly>{{#widget:Teste}}{{#invoke:Teste|main
{{#if:{{{removed|}}}|{{deprecated}}}}{{#ifeq:{{{implemented|}}}|futuro|{{Futureupdate}}}}
| nome1  = {{{nome1|}}} | link1  = {{{link1|}}} | img1  = {{{img1|}}} | qtd1  = {{{qtd1|}}} | bau1  = {{{bau1|}}}
<table width="100%">
| nome2  = {{{nome2|}}} | link2  = {{{link2|}}} | img2  = {{{img2|}}} | qtd2  = {{{qtd2|}}} | bau2  = {{{bau2|}}}
  <tr>
| nome3  = {{{nome3|}}} | link3  = {{{link3|}}} | img3  = {{{img3|}}} | qtd3  = {{{qtd3|}}} | bau3  = {{{bau3|}}}
      <td style="vertical-align:top">
| nome4  = {{{nome4|}}} | link4  = {{{link4|}}} | img4  = {{{img4|}}} | qtd4  = {{{qtd4|}}} | bau4  = {{{bau4|}}}
        <table width="100%" class="infobox">
| nome5  = {{{nome5|}}} | link5  = {{{link5|}}} | img5  = {{{img5|}}} | qtd5  = {{{qtd5|}}} | bau5  = {{{bau5|}}}
            <tr>
| nome6  = {{{nome6|}}} | link6  = {{{link6|}}} | img6  = {{{img6|}}} | qtd6  = {{{qtd6|}}} | bau6  = {{{bau6|}}}
              <td style="text-align:right; padding-right: 4px; border-bottom:1px dotted #CCCCCC; width: 90px;">{{ImagemOuUpload|{{{name|}}}}}</td>
| nome7  = {{{nome7|}}} | link7  = {{{link7|}}} | img7  = {{{img7|}}} | qtd7  = {{{qtd7|}}} | bau7  = {{{bau7|}}}
              <td style="padding-left:4px; border-bottom:1px dotted #CCCCCC; vertical-align:top;"><span style="font-size:x-large;">{{{name|Desconhecido.}}}</span><span class="descr" style="color:green; font-weight:bold;">{{#if:{{{mana|}}}|{{#if:{{{skillboost|}}}{{{resist|}}}{{{modificadores|}}}|<br/>({{#if:{{{skillboost|}}}|{{{skillboost}}}{{#if:{{{resist|}}}{{{modificadores|}}}|,&nbsp;}}}}{{#if:{{{resist|}}}|protection {{{resist}}}{{#if:{{{modificadores|}}}|,&nbsp;}}}}{{#if:{{{modificadores|}}}|{{{modificadores}}}}}).}}|{{#if:{{{volume|}}}{{{armor|}}}{{{attack|}}}{{{elementattack|}}}{{{range|}}}{{{hit|}}}{{{defense|}}}{{{defensemod|}}}{{{skillboost|}}}{{{resist|}}}{{{modificadores|}}}{{{charges}}}|{{#if:{{{volume|}}}{{{armor|}}}{{{attack|}}}{{{elementattack|}}}{{{range|}}}{{{hit|}}}{{{defense|}}}{{{defensemod|}}}{{{skillboost|}}}{{{resist|}}}{{{modificadores|}}}|<br/>(|}}{{#if:{{{volume|}}}| Vol: {{{volume|1}}}|}}{{#if:{{{armor|}}}| Arm: {{{armor|1}}}}}{{#if:{{{range|}}}| Range:&nbsp;{{{range|1}}}{{#if:{{{attack|}}}|,&nbsp;|}}|}}{{#if:{{{attack|}}}|{{#ifeq:{{{primarytype|}}}| Distância | Atk:&nbsp;{{{attack|1}}}| Atk:&nbsp;{{{attack|1}}}{{#if:{{{elementattack|}}}|&nbsp;+&nbsp;{{{elementattack|1}}}|}}}}{{#if:{{{defense||}}}|,&nbsp;|}}|}}{{#if:{{{hit|}}}|,&nbsp;Hit%&nbsp;{{{hit|1}}}{{#if:{{{defense|}}}|,&nbsp;|}}|}}{{#if:{{{defense|}}}| Def:&nbsp;{{{defense|1}}}{{#if:{{{defensemod|}}}|&nbsp;[[Shielding#Bônus de defesa{{!}}{{{defensemod|1}}}]]|}}}}{{#if:{{{skillboost|}}}|,&nbsp;{{{skillboost}}}}}{{#if:{{{resist|}}}|,&nbsp;protection {{{resist}}}}}{{#if:{{{modificadores|}}}|,&nbsp;{{{modificadores|}}}}}{{#if:{{{volume|}}}{{{armor|}}}{{{attack|}}}{{{elementattack|}}}{{{range|}}}{{{hit|}}}{{{defense|}}}{{{defensemod|}}}{{{skillboost|}}}{{{resist|}}}{{{modificadores|}}}|){{#if:{{{charges|}}}||.}}|}}{{#if:{{{charges|}}}|&nbsp;that has {{{charges}}} [[charges]] left.|}}|}}|}}{{#if:{{{vocrequired|}}}{{{levelrequired|}}}|{{#ifeq:{{{primarytype|}}}| Líquidos |<br/>This potion can only be consumed by {{#if:{{{vocrequired|}}}|{{{vocrequired|}}}|[[Personagem|players]]}}|{{#if:{{{vocrequired|}}}|<br/>It can only be wielded properly by {{{vocrequired|}}}}}}}{{#if:{{{levelrequired|}}}|{{#switch:{{{levelrequired|}}}|0={{#if:{{{vocrequired|}}}|.}}|{{#if:{{{vocrequired|}}}||{{#ifeq:{{{primarytype|}}}| Líquidos ||<br/>It can only be wielded properly by [[Personagem|players]]}}}}&nbsp;of [[level]] {{{levelrequired|8}}} or higher.}}|.}}}}{{#if:{{{augments|}}}|<br/><span class="descrr">Augments: (</span>{{{augments|}}}).}}{{#if:{{{imbuement|}}}|<br/><span class="descrr">[[Imbuing|Imbuement Slots:]]</span> {{{imbuement|}}}.}}{{#if:{{{classificacao|}}}|<br/><span class="descrr">[[Exaltations|Classification:]]</span> {{{classificacao|}}}.}}{{#switch:{{{classificacao}}}|1=&nbsp;<span class="descrr">[[Exaltations|Max. Tier:]]</span> 1|2=&nbsp;<span class="descrr">[[Exaltations|Max. Tier:]]</span> 2|3=&nbsp;<span class="descrr">[[Exaltations|Max. Tier:]]</span> 3|4=&nbsp;<span class="descrr">[[Exaltations|Max. Tier:]]</span> 10}}{{#if:{{{weight|}}}|<br/>It weighs {{{weight|0.01}}} [[oz]].|}}{{#if:{{{flavortext|}}}|<br/>{{{flavortext|}}}|}}</span>
| nome8  = {{{nome8|}}} | link8  = {{{link8|}}} | img8  = {{{img8|}}} | qtd8  = {{{qtd8|}}} | bau8  = {{{bau8|}}}
              </td>
| nome9  = {{{nome9|}}} | link9  = {{{link9|}}} | img9  = {{{img9|}}} | qtd9  = {{{qtd9|}}} | bau9  = {{{bau9|}}}
            </tr>
| nome10 = {{{nome10|}}} | link10 = {{{link10|}}} | img10 = {{{img10|}}} | qtd10 = {{{qtd10|}}} | bau10 = {{{bau10|}}}
{{#if:{{{attrib|}}}{{{hands|}}}{{{enchantable|}}}{{{enchanted|}}}{{{stackable|}}}{{{duration|}}}{{{damagetype|}}}{{{damage|}}}{{{destructible|}}}{{{writable|}}}{{{readable|}}}{{{edible|}}}|
| nome11 = {{{nome11|}}} | link11 = {{{link11|}}} | img11 = {{{img11|}}} | qtd11 = {{{qtd11|}}} | bau11 = {{{bau11|}}}
            <tr>
| nome12 = {{{nome12|}}} | link12 = {{{link12|}}} | img12 = {{{img12|}}} | qtd12 = {{{qtd12|}}} | bau12 = {{{bau12|}}}
              <td style="text-align:right; vertical-align:top">'''Atributos:'''</td>
}}</includeonly>
              <td style="padding-left:4px; text-align:left;"><!--
 
              -->{{#if:{{{attrib|}}}|{{{attrib|}}}&nbsp;}}<!--
<noinclude>
              -->{{#if:{{{hands|}}}|<!--
== Exemplo ==
                -->{{#ifeq:{{{hands}}}|Uma|[[Armas|Arma]] de uma mão.&nbsp;|[[Armas|Arma]] de duas mãos.&nbsp;}}|}}<!--
<pre>
                -->{{#if:{{{enchantable|}}}|{{#switch:{{lc:{{{enchantable|}}}}}|sim|yes=Item encantável.&nbsp;|}}|}}<!--
{{Teste
                -->{{#if:{{{enchanted|}}}|{{#switch:{{lc:{{{enchanted|}}}}}|sim|yes=Item encantado.&nbsp;|}}|}}<!--
| nome1 = Foosha Village
                -->{{#if:{{{edible|}}}|{{#switch:{{lc:{{{edible|}}}}}|sim|yes=Item Comestível.&nbsp;|}}|}}<!--
| link1 = Foosha Village
                -->{{#if:{{{stackable|}}}|{{#switch:{{lc:{{{stackable|}}}}}|sim|yes=Item agrupável.&nbsp;|}}|}}<!--
| img1  = Foosha.png
                -->{{#if:{{{destructible|}}}|{{#switch:{{lc:{{{destructible|}}}}}|sim|yes=Item destrutível.&nbsp;|}}|}}<!--
| qtd1  = 6
                -->{{#if:{{{writable|}}}|{{#switch:{{lc:{{{writable|}}}}}|sim|yes=Pode ser escrito.&nbsp;|não|no=Não pode ser escrito.&nbsp;|}}|}}<!--
| bau1  = comum
                -->{{#if:{{{readable|}}}|{{#switch:{{lc:{{{readable|}}}}}|sim|yes=Pode-se ler o conteúdo deste item.&nbsp;|não|no=Não pode ser lido.&nbsp;|}}|}}<!--
                -->{{#if:{{{duration|}}}|Item com duração de {{#explode:{{{duration}}}|,|0}}&nbsp;{{#if:{{#explode:{{{duration}}}|,|1}}| minutos e {{#switch:{{#explode:{{{duration}}}|,|1}}|5 = 30}} segundos|minutos}}.&nbsp;|}}<!--
                -->{{#if:{{{damagetype|}}}{{{damage|}}}|&nbsp;Dispara um ataque de [[{{{damagetype}}} Damage|{{#switch:{{{damagetype}}}|Energy=energia|Earth=terra|Fire=fogo|Death=morte|Ice=gelo|}}]] a cada turno, no alcance de até {{{range}}} [[sqm]]s e causa em média {{{damage|1}}} de [[dano]]. Gasta {{{mana}}} de [[mana]] por ataque.|}}<!--
            --></td>
            </tr>|}}
{{#if:{{{sounds|}}}|
            <tr>
              <td style="text-align:right; vertical-align:top">'''Sons:'''</td>
              <td style="padding-left:4px; text-align:left; color:#D14703;">'''{{{sounds|Desconhecido.}}}'''</td>
            </tr>}}
            <tr>
              <td style="text-align:right; vertical-align:top">'''Loot de:'''</td>
              <td style="padding-left:4px; text-align:justify;">{{{droppedby|Ninguém.}}}{{#if:{{{droppedRaidby|}}}|<br /><span>''Durante [[invasões]]:&nbsp;''</span>{{Droppedraidby|{{{droppedRaidby|}}}}}}}{{#if:{{{droppedEventby|}}}|<br /><span>''Durante [[Eventos e Festividades#Eventos durante o ano|eventos]]:&nbsp;''</span>{{Droppedeventby|{{{droppedEventby|}}}}}}}</td>
            </tr>
            <tr>
              <td style="text-align:right; vertical-align:top">'''Adicionado:'''</td>
              <td style="padding-left:4px;">'''{{{implemented|Desconhecido.}}}'''{{#if:{{{implemented|}}}|&nbsp;({{Version Date|{{{implemented|}}}}}).}}
              </td>
            </tr>
{{#if:{{{removed|}}}|
            <tr>
              <td style="text-align:right; vertical-align:top">'''Removido:'''</td>
              <td style="padding-left:4px;">'''{{{removed|Desconhecido.}}}'''&nbsp;({{Version Date|{{{removed|}}}}})</td>
            </tr>|}}
            <tr>
              <td style="text-align:right; vertical-align:top">'''Mercado:'''</td>
              <td style="padding-left:4px; padding-bottom: 4px;">{{#switch:{{lc:{{{mercado|}}}}}|não|no=Este item '''não''' pode ser comercializado pelo [[Mercado]].&nbsp;|Este item pode ser comercializado pelo [[Mercado]].&nbsp;}}</td>
            </tr>
{{#if:{{{notes|}}}|<tr>
              <td style="text-align:right; vertical-align:top">'''Notas:'''</td>
              <td style="padding-left:4px; padding-bottom: 4px;">{{#if:{{{notes|}}}|{{{notes|}}}}}</td>
            </tr>}}
            <tr>
              <td style="text-align:right; vertical-align:top"></td>
              <td style="padding-left:4px; padding-bottom: 4px;">{{#ifeq:{{{attack|0}}}|0||{{#switch:{{{type|}}}|Machado|Espada|Clava=
{{Tabela de Danos|attack = {{{attack}}}}}
}}}}
                  <!-- Comidas -->
{{#switch:{{lc:{{{edible|no}}}}}|sim|sim.|yes|yes.={{#ifeq:{{lc:{{{edible|no}}}}}|yes|'''Regeneração:'''}}&nbsp;Uma {{{name|?}}} irá regenerar [[hp]]/[[mana]] por {{{regenseconds|?}}} segundos (fazendo você ficar {{#expr: ({{{regenseconds|0}}} / 1200) * 100 round 0 }}% cheio).<br />
{{Tabela de Regeneração|regenseconds= {{{regenseconds}}}}}
}}
}}
                  <!-- Fim Comidas -->
</pre>
              </td>
</noinclude>
            </tr>
            <tr>
              <td style="text-align:right; border-top:1px dotted #CCCCCC; width:70px; vertical-align:top"></td>
              <td style="padding-left:4px; border-top:1px dotted #CCCCCC;"></td>
            </tr>
            {{#if:{{{dromevalue|}}}{{{htaskvalue|}}}{{{storevalue|}}}{{{tournamentvalue|}}}|<tr>
              <td style="text-align:right; width:70px; vertical-align:top">'''Valor:'''</td>
              <td style="padding-left:4px;"><!--
-->{{#if:{{{dromevalue|}}}{{{htaskvalue|}}}{{{storevalue|}}}{{{tournamentvalue|}}}|<!--
-->{{#if:{{{dromevalue|}}}|<font color="green">'''{{{dromevalue|}}}'''</font> [[Drome Points]].</br>}}<!--
-->{{#if:{{{htaskvalue|}}}|<font color="green">'''{{{htaskvalue|}}}'''</font> [[Arquivo:Hunting Task Points.gif|12px|link=]] [[Hunting Task Points]].</br>}}<!--
-->{{#if:{{{storevalue|}}}|<font color="green">'''{{{storevalue|}}}'''</font> [[Arquivo:Tibia Coin Icon.gif|link=]] [[Tibia Coins]].</br>}}<!--
-->{{#if:{{{tournamentvalue|}}}|<font color="green">'''{{{tournamentvalue|}}}'''</font> [[Arquivo:Tournament Coins.gif|link=]] [[Tournament Coins]] (Preço Antigo).</br>}}<!--
-->}}}}<!--
              --></td>
            </tr>
            <tr>
              <td></td>
              <td>
                  <table width="100%" border="0px">
                    <tr>
                        <td style="width:50%; vertical-align:top">'''Compra de:'''</td>
                        <td style="width:50%; vertical-align:top">'''Vende para:'''</td>
                    </tr>
                    <td style="vertical-align:top">{{#switch:{{{buyfrom|}}}|Ninguém.=Ninguém.|Jogadores.=Jogadores.|#default={{#if:{{{buyfrom|}}}|Jogadores e [[NPC]]s listados.</br><div style="margin-right: 3px; overflow: auto;">{{NPC Trades|use=buyfrom|value={{{npcprice|}}}|{{{buyfrom|}}}}}</div>|Ninguém.}}}}
                        </td>
                        <td style="vertical-align:top">{{#switch:{{{sellto|}}}|Ninguém.=Ninguém.|Jogadores.=Jogadores.|#default={{#if:{{{sellto|}}}|Jogadores e [[NPC]]s listados.</br><div style="margin-right: 3px; overflow: auto;">{{NPC Trades|use=sellto|value={{{npcvalue|}}}|{{{sellto|}}}}}</div>|Ninguém.}}}}
                        </td>
                    </tr>
                  </table>
              </td>
            </tr>
        </table>
      </td>
      <td style="width:200px; vertical-align:top;">
        <div class="infobox-sidebar">
<span style="padding-left:4px"><noinclude>'''Lista da Classe'''</noinclude></span>
<span style="padding-left:4px">{{#ifexist:Template:Infobox Item/Template/{{{primarytype|}}}|{{Infobox Item/Template/{{{primarytype|}}}}}}}</span>
<span style="padding-left:4px">{{#ifexist:Template:Infobox Item/Template/{{{secondarytype|}}}|{{Infobox Item/Template/{{{secondarytype|}}}}}}}</span>
<span style="padding-left:4px">{{#ifexist:Template:Infobox Item/Template/{{{tertiarytype|}}}|{{Infobox Item/Template/{{{tertiarytype|}}}}}}}</span>
        </div>
      </td>
  </tr>
</table>
<includeonly>

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