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

De TibiaRPGBrasil Wiki
Sem resumo de edição
Etiqueta: Reversão manual
(Bot: minimapa embutido na coluna da direita quando a página tem o campo mapa (NPC num lugar só))
(2 revisões intermediárias pelo mesmo usuário não estão sendo mostradas)
Linha 2: Linha 2:
<table width="100%">
<table width="100%">
   <tr>
   <tr>
       <td width="78%" valign="top">
       <td width="78%" valign="top" style="height:1px;">
         <table id="falas" class="infobox hide" border="0">
         <table id="falas" class="infobox hide" border="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 14: Linha 14:
             </tr>
             </tr>
         </table>
         </table>
         <table id="NPC" class="infobox" border="0" cellspacing="0" cellspadding="0" >
         <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 44: 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 50: 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 66: 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 76: 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}}]]|}}

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.