Template:Pal: Difference between revisions

From Palworld.io
No edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 6: Line 6:
         <p>{{{PalName|Pal Name}}}</p>
         <p>{{{PalName|Pal Name}}}</p>
       </div>
       </div>
<div class="border-bottom" style="margin:0;padding:0">[[Image:{{{image|placeholder.png}}}|frameless|alt={{{alt|Default alt
<div class="border-bottom justify-content-center d-flex align-items-center" style="min-height:272.26px; min-width:272.26px; margin:0; padding:0; background-color:#eeeae9">[[Image:{{{image|placeholder.png}}}|frameless|alt={{{alt|Default alt
       text}}}]]</div>
       text}}}]]</div>


<div style="padding: 10px 8px 0 8px">
<div style="padding: 0 8px 0 8px">
<div class="text-center mt-1" style="background-color: rgba(255,255,255,0.15)">Basics</div>
<table class="table table-borderless table-sm text-light">
<table class="table table-borderless table-sm text-light">
     <tr>
     <tr>
       <td>Paldeck #</td>
       <td>Paldeck</td>
       <td>{{{palNum}}}</td>
       <td>#{{{palNum}}}</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <td>Element(s)</td>
       <td>Element(s)</td>
       <td>{{{elements|?}}}</td>
       <td>{{{elements|?}}}</td>
    </tr>
    <tr>
      <td>Drop(s)</td>
      <td>{{{drops}}}</td>
    </tr>
    <tr>
      <td>Food Needs</td>
      <td>{{{food}}}/10</td>
     </tr>
     </tr>
</table>
</table>
<hr class="border-light">
<hr class="border-light">
<h5 class="text-center">Work Suitability</h3>
<div class="text-center mt-1" style="background-color: rgba(255,255,255,0.15)">Work Suitability</div>
<table class="table table-borderless table-sm text-light">
<table class="table table-borderless table-sm text-light">
     <tr>
     <tr>
Line 83: Line 92:
}}
}}
     </tr>
     </tr>
    {{#if: {{{durability|}}} |
    <tr class="border-top">
      <td class="pt-3">Durability</td>
      <td class="pt-3">{{{durability}}}</td>
    </tr>
    }}
    {{#if: {{{magSize|}}} |
    <tr>
      <td>Magazine Size</td>
      <td>{{{magSize}}}</td>
    </tr>
    }}
    {{#if: {{{attackValue|}}} |
    <tr>
      <td>Attack Value</td>
      <td>{{{attackValue}}}</td>
    </tr>
    }}
</table>
</table>
<hr class="border-light">
<hr class="border-light">
<ul class="nav nav-tabs nav-fill m-0">
<div class="text-center mt-1" style="background-color: rgba(255,255,255,0.15)">Partner Skill</div>
<div class="border border-light p-1">
{{{partnerSkill}}}
</div>
<div class="p-1 mt-1" style="background-color: rgba(0,0,0,0.2)">
{{{partnerSkillDesc}}}
</div>
{{#if: {{{partnerSkillItem|}}} |
<div class="border border-light p-1">
Item Needed: {{{partnerSkillItem}}}
</div>}}
<hr class="border-light">
<div class="text-center mt-1" style="background-color: rgba(255,255,255,0.15)">Habitat</div>
<ul class="nav nav-tabs nav-fill m-0" style="cursor:pointer">
   <li class="nav-item" role="presentation">
   <li class="nav-item" role="presentation">
     <span class="nav-link active" data-toggle="tab" data-target="#day-map" type="button" role="tab" aria-controls="home" aria-selected="true">Day Habitat</span>
     <span class="nav-link active" data-toggle="tab" data-target="#day-map" type="button" role="tab" aria-controls="home" aria-selected="true">Day Habitat</span>
Line 112: Line 116:
</ul>
</ul>
<div class="tab-content">
<div class="tab-content">
  <div class="tab-pane fade show active" id="day-map" role="tabpanel">
{{#if: {{{noDayHabitat|}}} |
<div class="tab-pane fade text-center active show p-5" id="day-map" role="tabpanel" style="height:256.26px;width:256.26px">
No day habitat information for this Pal
</div>
|
<div class="tab-pane fade active show" id="day-map" role="tabpanel">
[[Image:{{{PalName}}}_Day_Habitat.png|frameless|alt=Day map of {{{PalName}}} Habitat]]
[[Image:{{{PalName}}}_Day_Habitat.png|frameless|alt=Day map of {{{PalName}}} Habitat]]
</div>}}
{{#if: {{{noNightHabitat|}}} |
<div class="tab-pane fade text-center p-5" id="night-map" role="tabpanel" style="height:256.26px;width:256.26px">
No night habitat information for this Pal
</div>
</div>
  <div class="tab-pane fade" id="night-map" role="tabpanel">
|
<div class="tab-pane fade" id="night-map" role="tabpanel">
[[Image:{{{PalName}}}_Night_Habitat.png|frameless|alt=Night map of {{{PalName}}} Habitat]]
[[Image:{{{PalName}}}_Night_Habitat.png|frameless|alt=Night map of {{{PalName}}} Habitat]]
</div>
</div>}}
</div>
</div>




     </div>
     </div>

Latest revision as of 21:39, 18 February 2024