Predefinição:Infobox NPC: mudanças entre as edições

De TibiaRPGBrasil Wiki
Sem resumo de edição
(Bot: minimapa embutido na coluna da direita quando a página tem o campo mapa (NPC num lugar só))
(7 revisões intermediárias por 3 usuários não estão sendo mostradas)
Linha 1: Linha 1:
{{#if:{{{GetValue|}}}|{{{{{{GetValue|}}}}}}|{{#ifeq:{{{List|}}}||{{#if:{{{removed|}}}|{{deprecated}}|}}{{#if:{{{implemented|}}}|{{#ifeq:{{lc:{{{implemented|}}}}}| futuro |{{Futureupdate}}|}}|}}
{{#if:{{{GetValue|}}}|{{{{{{GetValue|}}}}}}|{{#ifeq:{{{List|}}}||{{#if:{{{removed|}}}|{{deprecated}}|}}{{#if:{{{implemented|}}}|{{#ifeq:{{lc:{{{implemented|}}}}}| futuro |{{Futureupdate}}|}}|}}
 
<table width="100%">
         <table id="NPC" class="infobox" border="0" cellspacing="0" cellspadding="0" >
  <tr>
      <td width="78%" valign="top" style="height:1px;">
        <table id="falas" class="infobox hide" border="0" style="height:100%;">
            <tr>
              <td style="width:20%; border-bottom:1px dotted #CCCCCC; padding-right:4px; text-align:right;">{{#ifexist:File:{{{name}}}.gif|[[File:{{{name}}}.gif]]|[[File:SemImagem.gif|Sem Imagem|link={{fullurl:Especial:Carregar_arquivo|wpDestFile={{urlencode:{{{name}}}.gif}}}}]]}}</td>
              <td style="width:80%; border-bottom:1px dotted #CCCCCC; padding-left:4px;" valign="center"><span style="font-size:x-large;">NPC  {{{name|Desconhecido}}}</span><br>''Este NPC é {{#if:{{{job|}}}|[[NPCs {{{job}}}|{{{job}}}]]|desconhecido}}{{#if:{{{job2|}}}|, [[NPCs {{{job2}}}|{{{job2}}}]]}}{{#if:{{{job3|}}}|, [[NPCs {{{job3}}}|{{{job3}}}]]}}{{#if:{{{job4|}}}|, [[NPCs {{{job4}}}|{{{job4}}}]]}}{{#if:{{{job5|}}}|, [[NPCs {{{job5}}}|{{{job5}}}]]}}{{#if:{{{job6|}}}|, [[NPCs {{{job6}}}|{{{job6}}}]]}}''
              </td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td style="width:100%;">{{Transcrições|npc={{PAGENAME}}|texto=<span class="cross" id="show2" style="display: block;"></span>{{#if:{{{falas|}}}|{{{falas|}}}}}}}</td>
            </tr>
        </table>
         <table id="NPC" class="infobox" border="0" cellspacing="0" cellspadding="0" style="height:100%;">
             <tr>
             <tr>
               <td style="width:20%; border-bottom:1px dotted #CCCCCC; padding-right:4px; text-align:right;">{{#ifexist:File:{{{name}}}.gif|[[File:{{{name}}}.gif]]|[[File:SemImagem.gif|Sem Imagem|link={{fullurl:Especial:Carregar_arquivo|wpDestFile={{urlencode:{{{name}}}.gif}}}}]]}}</td>
               <td style="width:20%; border-bottom:1px dotted #CCCCCC; padding-right:4px; text-align:right;">{{#ifexist:File:{{{name}}}.gif|[[File:{{{name}}}.gif]]|[[File:SemImagem.gif|Sem Imagem|link={{fullurl:Especial:Carregar_arquivo|wpDestFile={{urlencode:{{{name}}}.gif}}}}]]}}</td>
Linha 31: Linha 44:
               <td style="text-align:left; border-bottom:1px dotted #CCCCCC; vertical-align:top;">{{{dialogos|}}}</td>
               <td style="text-align:left; border-bottom:1px dotted #CCCCCC; vertical-align:top;">{{{dialogos|}}}</td>
             </tr>}}
             </tr>}}
             <tr>
             <tr style="height:100%;">
               <td style="text-align:right; vertical-align:top;">'''Itens negociáveis:'''</td>
               <td style="text-align:right; vertical-align:top;">'''Itens negociáveis:'''</td>
               <td style="padding:0px 4px; text-align:left; vertical-align:top;">{{Infobox_NPC/trade-{{{buysell|sim}}}|buys={{{buys|Nada.}}}|sells={{{sells|Nada.}}}}}</td>
               <td style="padding:0px 4px; text-align:left; vertical-align:top;">{{Infobox_NPC/trade-{{{buysell|sim}}}|buys={{{buys|Nada.}}}|sells={{{sells|Nada.}}}}}</td>
Linha 37: Linha 50:
         </table>
         </table>
       </td>
       </td>
       {{#if:{{{city|}}}|<td style="width:0.4%;"></td>
       {{#if:{{{city|}}}{{{mapa|}}}|<td style="width:0.4%;"></td>
       <td style="width:21.6%; padding:0px; vertical-align:top; margin:0px; border-radius:12px;">
       <td style="width:{{#if:{{{mapa|}}}|26%|21.6%}}; padding:0px; vertical-align:top; margin:0px; border-radius:12px;">{{#if:{{{city|}}}|
         <div style="width:100%; height:250px; background-color:#FFFFFF; border-radius:12px; margin:0px; overflow:hidden; resize:none; border:1px solid #fff; box-shadow:0 0 0.3em #999;">
         <div style="width:100%; height:250px; background-color:#FFFFFF; border-radius:12px; margin:0px; overflow:hidden; resize:none; border:1px solid #fff; box-shadow:0 0 0.3em #999;">
               <div style="height:250px; overflow-y:scroll; padding:5px 0px 0px 10px;">{{Infobox NPC/Sidebar|{{{city|}}}}}</div>  
               <div style="height:250px; overflow-y:scroll; padding:5px 0px 0px 10px;">{{Infobox NPC/Sidebar|{{{city|}}}}}</div>  
         </div>
         </div>}}{{#if:{{{mapa|}}}|
        <div class="map_hunt npc_mapa" style="width:100%; margin:{{#if:{{{city|}}}|8px|0px}} 0px 0px 0px;"><span class="map_hunt_coord" style="display:none;">{{Mapa/coord|{{{mapa}}}}}</span>
            <div class="map_hunt_box" style="padding-top:2px;"><span class="map_logobox" style="border-radius:12px;"></span></div>
        </div>}}
       </td>}}
       </td>}}
   </tr>
   </tr>
Linha 53: Linha 69:
{{#if:{{{job5|}}}|[[Category:NPCs {{{job5}}}]]}}
{{#if:{{{job5|}}}|[[Category:NPCs {{{job5}}}]]}}
{{#if:{{{job6|}}}|[[Category:NPCs {{{job6}}}]]}}
{{#if:{{{job6|}}}|[[Category:NPCs {{{job6}}}]]}}
{{#if:{{{city|}}}|[[Category:NPCs {{#ifeq:{{lc:{{{city|}}}}}|div|com Diversas Localizações|de {{{city|}}}}}]]}}
{{#if:{{{city|}}}|{{#if:{{#pos:{{{city|}}}|,}}||[[Category:NPCs {{#ifeq:{{lc:{{{city|}}}}}|div|com Diversas Localizações|de {{{city|}}}}}]]}}}}
<!--{{#if:{{{city2|}}}|[[Category:NPCs de {{{city2}}}]]}}-->
<!--{{#if:{{{city2|}}}|[[Category:NPCs de {{{city2}}}]]}}-->
<!---------------------------- INICIO AREAS NÃO REMOVER ESPAÇOS ------------------------------->
<!---------------------------- INICIO AREAS NÃO REMOVER ESPAÇOS ------------------------------->{{#ifeq:{{lc:{{{city|}}}}}|div||
{{#if:{{#explode:{{#replace:{{{city|}}}|.|}}|, |0}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{city|}}}|.|}}|, |0}}]]|}}
{{#if:{{#explode:{{#replace:{{{city|}}}|.|}}|, |0}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{city|}}}|.|}}|, |0}}]]|}}
{{#if:{{#explode:{{#replace:{{{city|}}}|.|}}|, |1}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{city|}}}|.|}}|, |1}}]]|}}
{{#if:{{#explode:{{#replace:{{{city|}}}|.|}}|, |1}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{city|}}}|.|}}|, |1}}]]|}}
Linha 63: Linha 79:
{{#if:{{#explode:{{#replace:{{{city|}}}|.|}}|, |5}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{city|}}}|.|}}|, |5}}]]|}}
{{#if:{{#explode:{{#replace:{{{city|}}}|.|}}|, |5}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{city|}}}|.|}}|, |5}}]]|}}
{{#if:{{#explode:{{#replace:{{{city|}}}|.|}}|, |6}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{city|}}}|.|}}|, |6}}]]|}}
{{#if:{{#explode:{{#replace:{{{city|}}}|.|}}|, |6}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{city|}}}|.|}}|, |6}}]]|}}
<!---------------------------------------- FIM AREAS ------------------------------------------->
}}<!---------------------------------------- FIM AREAS ------------------------------------------->
<!-------------------------- INICIO SUB-AREAS NÃO REMOVER ESPAÇOS ------------------------------>
<!-------------------------- INICIO SUB-AREAS NÃO REMOVER ESPAÇOS ------------------------------>
{{#if:{{#explode:{{#replace:{{{subarea|}}}|.|}}|, |0}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{subarea|}}}|.|}}|, |0}}]]|}}
{{#if:{{#explode:{{#replace:{{{subarea|}}}|.|}}|, |0}}|[[Categoria:NPCs de {{#explode:{{#replace:{{{subarea|}}}|.|}}|, |0}}]]|}}
Linha 103: Linha 119:
</includeonly>
</includeonly>
|{{Infobox NPC/{{{List}}}|name={{{name|}}}|location={{{location|}}}|job={{{job|}}}|job1={{{job1|}}}|job2={{{job2|}}}|job3={{{job3|}}}|job4={{{job4|}}}|job5={{{job5|}}}|job6={{{job6|}}}|implemented={{{implemented|}}}|notes={{{notes|}}}|buysell={{{buysell|}}}|buys={{{buys|}}}|sells={{{sells|}}}|related={{{related|}}}|falas={{{falas|}}}|city={{{city|}}}|subarea={{{subarea|}}}|sprite={{{sprite|}}}}}}}}}
|{{Infobox NPC/{{{List}}}|name={{{name|}}}|location={{{location|}}}|job={{{job|}}}|job1={{{job1|}}}|job2={{{job2|}}}|job3={{{job3|}}}|job4={{{job4|}}}|job5={{{job5|}}}|job6={{{job6|}}}|implemented={{{implemented|}}}|notes={{{notes|}}}|buysell={{{buysell|}}}|buys={{{buys|}}}|sells={{{sells|}}}|related={{{related|}}}|falas={{{falas|}}}|city={{{city|}}}|subarea={{{subarea|}}}|sprite={{{sprite|}}}}}}}}}
{{#ifeq:{{{npc|}}}|{{PAGENAME}}|
<table width="92%">
  <tr>
      <td style="vertical-align:top;">
        <div style="background-color:#F2F2F2; line-height:20px; border-radius:5px; box-shadow:0 0 6px #B2B2B2; padding:10px 10px 10px 18px; vertical-align:top; width:100%;">{{{texto|Sem informações de diálogo.}}}</div>
      </td>
  </tr>
</table>
|<table width="92%">
  <tr>
      <td style="vertical-align:top;">[[Arquivo:{{{npc|SemImagem}}}.gif|link={{{npc|}}}]]</td>
      <td style="vertical-align:top; width:100%;">
        <div class="transcrições me">
            <div style="max-height: 330px; overflow: auto;">{{{texto|Sem informações de diálogo.}}}</div>
        </div>
      </td>
  </tr>
</table>
}}

Edição das 22h19min de 14 de novembro de 2026

Sem Imagem NPC Desconhecido
Este NPC é desconhecido
 
Sem Imagem NPC Desconhecido
Este NPC é desconhecido
Localização: Desconhecida.
Notas: Nenhuma.
Itens negociáveis:
Vende: Nada. Compra: Nada.