Template:NPCs

From XilePK - Ragnarok Online Server
Revision as of 13:22, 2 May 2025 by Admin (talk | contribs)
Jump to navigation Jump to search

Este template serve como um contêiner para exibir vários NPCs lado a lado em linhas. Use-o da seguinte forma:


Expression error: Unexpected > operator.











<style> .npc-grid-container {

 display: flex;
 flex-wrap: wrap;
 justify-content: flex-start;
 align-items: flex-start;
 margin: -5px;  /* Compensate for item margins */

}

.npc-grid-container > .mainpage-contents.tile-row {

 width: 150px;
 margin: 5px;
 flex: 0 0 150px;
 box-sizing: border-box;

}

/* Ensure content alignment */ .npc-grid-container .contents-equipment.tile-halves {

 width: 100%;
 text-align: center;

}

/* Remove nested containers that could cause layout issues */ .npc-grid-container .mainpage-contents.tile-row .mainpage-contents.tile-row {

 width: 100%;
 margin: 0;
 flex: none;

}

/* Ensure images are centered */ .npc-grid-container .tile-top.tile-image {

 display: flex;
 justify-content: center;

} </style>


Certifique-se de separar cada

Expression error: Unexpected > operator.
com um pipe (|) e não adicionar pipe após o último NPC.

Categoria: Predefinições