Predefinição:Infobox NPC: mudanças entre as edições
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ó)) |
||
| (3 revisões intermediárias por 2 usuários 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: | <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> | ||
{{{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> </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> | |||
<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 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> | </td> | ||
| Linha 34: | 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 40: | 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 56: | 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 66: | 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}}]]|}} | ||
