Difference between revisions of "Template:NPC"

From XilePK - Ragnarok Online Server
Jump to navigation Jump to search
Line 2: Line 2:
 
<div class="contents-equipment tile-halves">
 
<div class="contents-equipment tile-halves">
 
     <div class="tile-top tile-image nomobile">
 
     <div class="tile-top tile-image nomobile">
         <a href="#{{{2|npc-id}}}" class="warp-copy" data-copy="@warp {{{2|npc-id}}}">
+
         [[File:{{{1|Hat_shop.gif}}}|link=#{{{2|npc-id}}}|class=custom-size|data-width={{{5|}}}|data-height={{{6|}}}]]
            <div class="gif-container" style="width:{{{5|auto}}}px; height:{{{6|auto}}}px; background-color: transparent;">
 
                [[File:{{{1|Hat_shop.gif}}}|class=custom-size|data-width={{{5|}}}|data-height={{{6|}}}]]
 
            </div>
 
        </a>
 
 
     </div>
 
     </div>
 
     <div class="tile-bottom link-button">
 
     <div class="tile-bottom link-button">

Revision as of 15:16, 8 May 2025


Este é o template para exibir um NPC individual com sua imagem e informações.

Use-o da seguinte forma:


Parâmetros:

  • 1: Nome do arquivo de imagem (exemplo: Hat_shop.gif)
  • 2: Coordenadas no mapa (exemplo: xmas_in 174 104)
  • 3: Nome do NPC
  • 4: Descrição do NPC
  • 5: Largura da imagem em pixels (opcional)
  • 6: Altura da imagem em pixels (opcional)

Exemplo:

       data-height=52