Diferencia entre revisiones de «Plantilla:Instancia»

De Vanaheim Wiki
Ir a la navegación Ir a la búsqueda
Sin resumen de edición
Sin resumen de edición
Línea 1: Línea 1:
<div style="background: #e5f4e1; border: 2px solid #7fb87f; border-radius: 12px; padding: 1em; box-shadow: 2px 2px 8px #ccc; max-width: 300px; margin: auto; font-size: 14px;">
/* Fichas tipo forest */
.portable-infobox.pi-theme-forest {
  background-color: #e5f4e1;
  border: 2px solid #7fb87f;
  border-radius: 8px;
}
.portable-infobox.pi-theme-forest .pi-title {
  background-color: #7fb87f;
  color: white;
}


  <div style="font-size: 1.8em; font-weight: bold; color: #2f612f; text-align: center; margin-bottom: 1em;">
    {{{nombre}}}
  </div>


  <div style="text-align: center; margin-bottom: 1em;">
    [[Archivo:{{{imagen|Instancia_default.jpg}}}|center|400px]]
  </div>


  <table style="width:100%; border-collapse: collapse; margin-bottom: 1em;">
<infobox theme="forest">
    <tr>
  <title>{{{nombre|Instancia}}</title>
      <td style="width:30%; font-weight: bold; padding: 0.3em;">Nivel recomendado</td>
      <td style="padding: 0.3em;">{{{nivel|Desconocido}}}</td>
    </tr>
    <tr>
      <td style="font-weight: bold; padding: 0.3em;">Ubicación</td>
      <td style="padding: 0.3em;">{{{ubicación|Desconocida}}}</td>
    </tr>
    <tr>
      <td style="font-weight: bold; padding: 0.3em;">Requisitos</td>
      <td style="padding: 0.3em;">{{{requisitos|Ninguno}}}</td>
    </tr>
    <tr>
      <td style="font-weight: bold; padding: 0.3em;">Cooldown</td>
      <td style="padding: 0.3em;">{{{cooldown|Ninguno}}}</td>
    </tr>
    <tr>
      <td style="font-weight: bold; padding: 0.3em;">Recompensas</td>
      <td style="padding: 0.3em;">{{{recompensas|Desconocidas}}}</td>
    </tr>
  </table>


   <!-- Enlace guía -->
   <image>{{{imagen|Instancia_default.jpg}}}</image>
  {{#if:{{{guia|}}}|
  <div style="text-align: center; margin-top: 1em;">
    <span style="background-color: #4caf50; padding: 0.6em 1.2em; border-radius: 8px; font-weight: bold; color: white; font-size: 1em;">
      [{{{guia}}} Ir a la Guía →]
    </span>
  </div>
  }}


</div>
  <header>Información</header>
  <data source="nivel">
    <label>Nivel recomendado</label>
    {{{nivel|Desconocido}}}
  </data>
  <data source="ubicacion">
    <label>Ubicación</label>
    {{{ubicación|Desconocida}}}
  </data>
  <data source="requisitos">
    <label>Requisitos</label>
    {{{requisitos|Ninguno}}}
  </data>
  <data source="cooldown">
    <label>Cooldown</label>
    {{{cooldown|Ninguno}}}
  </data>
  <data source="recompensas">
    <label>Recompensas</label>
    {{{recompensas|Desconocidas}}}
  </data>


[[Categoría:Instancias]]
  <header>Enlaces</header>
  <data source="guia">
    <label>Guía</label>
    {{{guia|–}}}
  </data>
 
</infobox>

Revisión del 15:35 9 jul 2025

/* Fichas tipo forest */ .portable-infobox.pi-theme-forest {

 background-color: #e5f4e1;
 border: 2px solid #7fb87f;
 border-radius: 8px;

} .portable-infobox.pi-theme-forest .pi-title {

 background-color: #7fb87f;
 color: white;

}


<infobox theme="forest">

 <title>{Plantilla:Nombre</title>
 <image>Instancia_default.jpg</image>
 <header>Información</header>
 
   <label>Nivel recomendado</label>
   Desconocido
 
 
   <label>Ubicación</label>
   Desconocida
 
 
   <label>Requisitos</label>
   Ninguno
 
 
   <label>Cooldown</label>
   Ninguno
 
 
   <label>Recompensas</label>
   Desconocidas
 
 <header>Enlaces</header>
 
   <label>Guía</label>
   –
 

</infobox>