Template:Pal: Difference between revisions

From Palworld.io
(Created page with "<infobox theme="pal"> <image source="image"/> <title source="name"><default>{{PAGENAME}}{{#if:{{{alphatitle|}}}|<br/> <span class="wsgray" style="font-size:small;">''{{{alphatitle}}}''</span>}}</default> <format>{{{name|}}}{{#if:{{{alphatitle|}}}|<br/> <span class="wsgray" style="font-size:small;">''{{{alphatitle}}}''</fspan>}}</format></title> <group> <header>Stats</header> <data source="no"><label>No.</label><default><nowiki>#</nowiki>???</default><format><now...")
 
No edit summary
Line 1: Line 1:
<infobox theme="pal">
    <div class="card infobox" style="background-color: grey; color: white; width: 18em">
<image source="image"/>
      <div
<title source="name"><default>{{PAGENAME}}{{#if:{{{alphatitle|}}}|<br/>
        class="card-header border-0"
<span class="wsgray" style="font-size:small;">''{{{alphatitle}}}''</span>}}</default>
        style="padding: 5px; background-color: rgba(0, 0, 0, 0.8)"
<format>{{{name|}}}{{#if:{{{alphatitle|}}}|<br/>
      >
<span class="wsgray" style="font-size:small;">''{{{alphatitle}}}''</fspan>}}</format></title>
        <p>{{{PalName|Pal Name}}}</p>
<group>
      </div>
<header>Stats</header>
<div class="border-bottom" style="margin:0;padding:0">[[Image:{{{image|placeholder.png}}}|frameless|alt={{{alt|Default alt
<data source="no"><label>No.</label><default><nowiki>#</nowiki>???</default><format><nowiki>#</nowiki>{{{no}}}</format></data>
      text}}}]]</div>
<data source="ele1"><label>Element(s)</label><default>???</default><format>{{i|{{{ele1}}}}}{{#if: {{{ele2|}}} | &nbsp;{{i|{{{ele2}}}}} }}</format></data>
 
<data source="drops"><label>Drop(s)</label></data>
<div style="padding: 10px 8px 0 8px">
<data source="food"><label>Food</label><format>{{#switch: {{{food|}}}
<table class="table table-borderless table-sm text-light">
| 0=[[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
    <tr>
| 1=[[File:food_on_icon.png|link=|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
      <td>Paldeck #</td>
| 2=[[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
      <td>{{{palNum}}}</td>
| 3=[[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
    </tr>
| 4=[[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
    <tr>
| 5=[[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
      <td>Element(s)</td>
| 6=[[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
      <td>{{{elements|?}}}</td>
| 7=[[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
    </tr>
| 8=[[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
</table>
| 9=[[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_off_icon.png|link=|class=wsgray|15px]]
<hr class="border-light">
| 10=[[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]][[File:food_on_icon.png|link=|15px]]
<h5 class="text-center">Work Suitability</h3>
|#default = INVALID NUMBER}}</format></data>
<table class="table table-borderless table-sm text-light">
</group>
    <tr>
<group>
      <td>[[File:Kindling_Icon.webp|link=Kindling]]Kindling</td>
<header>Partner Skill</header>
      <td>[[File:Watering_Icon.webp|link=Watering]]Watering</td>
<data source="partnerskill"><default>Under investigation</default></data>
    </tr>
<group row-items="2">
    <tr>
<data source="psicon"><default>Icon needed</default><format>[[File:{{#switch: {{lc:{{{psicon}}}}}
      <td>[[File:Planting_Icon.webp|link=Planting]]Planting</td>
|build = Build
      <td>[[File:Generating_Electricity_Icon.webp|link=Generating_Electricity]]Generating Electricity</td>
|dark = Dark
    </tr>
|dark dmg = Dark Damage
    <tr>
|dragon = Dragon
      <td>[[File:Handiwork_Icon.webp|link=Handiwork]]Handiwork</td>
|dragon dmg = Dragon Damage
      <td>[[File:Gathering_Icon.webp|link=Gathering]]Gathering</td>
|defense|shield = Defense
    </tr>
|electric = Electric
    <tr>
|electric dmg = Electric Damage
      <td>[[File:Lumbering_Icon.webp|link=Lumbering]]Lumbering</td>
|fire = Fire
      <td>[[File:Mining_Icon.webp|link=Mining]]Mining</td>
|fire dmg = Fire Damage
    </tr>
|glider = Glider
    <tr>
|grass = Grass
      <td>[[File:Medicine_Production_Icon.webp|link=Medicine_Production]]Medicine Production</td>
|grass dmg = Grass Damage
      <td>[[File:Cooling_Icon.webp|link=Cooling]]Cooling</td>
|ground = Ground
    </tr>
|ground dmg = Ground Damage
    <tr>
|health = Health
      <td>[[File:Transporting_Icon.webp|link=Transporting]]Transporting</td>
|helping = Helping
      <td>[[File:Farming_Icon.webp|link=Farming]]Farming</td>
|ice = Ice
    </tr>
|ice dmg = Ice Damage
    {{#if: {{{durability|}}} |
|location = Location
    <tr class="border-top">
|neutral = Neutral
      <td class="pt-3">Durability</td>
|neutral dmg = Neutral Damage
      <td class="pt-3">{{{durability}}}</td>
|ranch = Ranch
    </tr>
|riding = Riding
    }}
|shoulder = Shoulder
    {{#if: {{{magSize|}}} |
|gun = Gun
    <tr>
|slam = Slam
      <td>Magazine Size</td>
|shout = Shout
      <td>{{{magSize}}}</td>
|drops = Drops
    </tr>
|flying = Flying
    }}
|buff = Buff
    {{#if: {{{attackValue|}}} |
|water = Water
    <tr>
|#default = INVALID INPUT }} Skill.png|50x50px|center]]</format></data>
      <td>Attack Value</td>
<data source="psdesc"><default>Under investigation</default><format>{{{psdesc}}}</format></data>
      <td>{{{attackValue}}}</td>
</group>
    </tr>
        <data source="tech"><label>Tech Needed</label><format>[[{{{tech}}}]] {{#if:{{{techlevel|}}}|Lv. {{{techlevel|}}}}}</format></data>
    }}
</group>
</table>
<group>
</div>
<header>[[Work Suitability]]</header>
 
<group row-items="2" show="incomplete">
 
<data source="kindling"><default>{{WS format|kindling}}</default><format>{{#switch: {{lc:{{{kindling}}}}}
    </div>
|y = [[File:Kindling Icon.png|24x24px|link=Kindling]] '''Kindling'''<includeonly>[[Category:Kindling Pals]]</includeonly>
|1|2|3|4|5 = [[File:Kindling Icon.png|24x24px|link=Kindling]] '''Kindling {{{kindling}}}'''<includeonly>[[Category:Kindling Pals]]</includeonly>
|#default = {{WS format|kindling}} }}</format></data>
<data source="watering"><default>{{WS format|watering}}</default><format>{{#switch: {{lc:{{{watering}}}}}
|y = [[File:Watering Icon.png|24x24px|link=Watering]] '''Watering'''<includeonly>[[Category:Watering Pals]]</includeonly>
|1|2|3|4|5 = [[File:Watering Icon.png|24x24px|link=Watering]] '''Watering {{{watering}}}'''<includeonly>[[Category:Watering Pals]]</includeonly>
|#default = {{WS format|watering}} }}</format></data>
<data source="planting"><default>{{WS format|planting}}</default><format>{{#switch: {{lc:{{{planting}}}}}
|y = [[File:Planting Icon.png|24x24px|link=Planting]] '''Planting'''<includeonly>[[Category:Planting Pals]]</includeonly>
|1|2|3|4|5 = [[File:Planting Icon.png|24x24px|link=Planting]] '''Planting {{{planting}}}'''<includeonly>[[Category:Planting Pals]]</includeonly>
|#default = {{WS format|planting}} }}</format></data>
<data source="gen_electric"><default>{{WS format|Generating Electricity}}</default><format>{{#switch: {{lc:{{{gen_electric}}}}}
|y = [[File:Generating Electricity Icon.png|24x24px|link=Generating Electricity]] '''Generating Electricity'''<includeonly>[[Category:Generating Electricity Pals]]</includeonly>
|1|2|3|4|5 = [[File:Generating Electricity Icon.png|24x24px|link=Generating Electricity]] '''Generating Electricity {{{gen_electric}}}'''<includeonly>[[Category:Generating Electricity Pals]]</includeonly>
|#default = {{WS format|Generating Electricity}} }}</format></data>
<data source="handiwork"><default>{{WS format|handiwork}}</default><format>{{#switch: {{lc:{{{handiwork}}}}}
|y = [[File:Handiwork Icon.png|24x24px|link=Handiwork]] '''Handiwork'''<includeonly>[[Category:Handiwork Pals]]</includeonly>
|1|2|3|4|5 = [[File:Handiwork Icon.png|24x24px|link=Handiwork]] '''Handiwork {{{handiwork}}}'''<includeonly>[[Category:Handiwork Pals]]</includeonly>
|#default = {{WS format|handiwork}} }}</format></data>
<data source="gathering"><default>{{WS format|gathering}}</default><format>{{#switch: {{lc:{{{gathering}}}}}
|y = [[File:Gathering Icon.png|24x24px|link=Gathering]] '''Gathering'''<includeonly>[[Category:Gathering Pals]]</includeonly>
|1|2|3|4|5 = [[File:Gathering Icon.png|24x24px|link=Gathering]] '''Gathering {{{gathering}}}'''<includeonly>[[Category:Gathering Pals]]</includeonly>
|#default = {{WS format|gathering}} }}</format></data>
<data source="lumbering"><default>{{WS format|lumbering}}</default><format>{{#switch: {{lc:{{{lumbering}}}}}
|y = [[File:Lumbering Icon.png|24x24px|link=Lumbering]] '''Lumbering'''<includeonly>[[Category:Lumbering Pals]]</includeonly>
|1|2|3|4|5 = [[File:Lumbering Icon.png|24x24px|link=Lumbering]] '''Lumbering {{{lumbering}}}'''<includeonly>[[Category:Lumbering Pals]]</includeonly>
|#default = {{WS format|lumbering}} }}</format></data>
<data source="mining"><default>{{WS format|mining}}</default><format>{{#switch: {{lc:{{{mining}}}}}
|y = [[File:Mining Icon.png|24x24px|link=Mining]] '''Mining'''<includeonly>[[Category:Mining Pals]]</includeonly>
|1|2|3|4|5 = [[File:Mining Icon.png|24x24px|link=Mining]] '''Mining {{{mining}}}'''<includeonly>[[Category:Mining Pals]]</includeonly>
|#default = {{WS format|mining}} }}</format></data>
<data source="med_prod"><default>{{WS format|Medicine Production}}</default><format>{{#switch: {{lc:{{{med_prod}}}}}
|y = [[File:Medicine Production Icon.png|24x24px|link=Medicine Production]] '''Medicine Production'''<includeonly>[[Category:Medicine Production Pals]]</includeonly>
|1|2|3|4|5 = [[File:Medicine Production Icon.png|24x24px|link=Medicine Production]] '''Medicine Production {{{med_prod}}}'''<includeonly>[[Category:Medicine Production Pals]]</includeonly>
|#default = {{WS format|Medicine Production}} }}</format></data>
<data source="cooling"><default>{{WS format|cooling}}</default><format>{{#switch: {{lc:{{{cooling}}}}}
|y = [[File:Cooling Icon.png|24x24px|link=Cooling]] '''Cooling'''<includeonly>[[Category:Cooling Pals]]</includeonly>
|1|2|3|4|5 = [[File:Cooling Icon.png|24x24px|link=Cooling]] '''Cooling {{{cooling}}}'''<includeonly>[[Category:Cooling Pals]]</includeonly>
|#default = {{WS format|cooling}} }}</format></data>
<data source="transporting"><default>{{WS format|transporting}}</default><format>{{#switch: {{lc:{{{transporting}}}}}
|y = [[File:Transporting Icon.png|24x24px|link=Transporting]] '''Transporting'''<includeonly>[[Category:Transporting Pals]]</includeonly>
|1|2|3|4|5 = [[File:Transporting Icon.png|24x24px|link=Transporting]] '''Transporting {{{transporting}}}'''<includeonly>[[Category:Transporting Pals]]</includeonly>
|#default = {{WS format|transporting}} }}</format></data>
<data source="farming"><default>{{WS format|farming}}</default><format>{{#switch: {{lc:{{{farming}}}}}
|y = [[File:Farming Icon.png|24x24px|link=Farming]] '''Farming'''<includeonly>[[Category:Farming Pals]]</includeonly>
|1|2|3|4|5 = [[File:Farming Icon.png|24x24px|link=Farming]] '''Farming {{{farming}}}'''<includeonly>[[Category:Farming Pals]]</includeonly>
|#default = {{WS format|farming}} }}</format></data>
</group>
</group>
<group>
<header>Habitat</header>
<image  source="maps"/>
</group>
</infobox><includeonly>{{#ifeq:{{NAMESPACE}}|Template||[[Category:{{{ele1}}} Pals]] {{#if: {{{ele2|}}} | [[Category:{{{ele2}}} Pals]]}}{{#if: {{{ele2|}}}|[[Category:Dual-Elemental Pals]]|[[Category:Single-Elemental Pals]]}}[[Category:Pals]]}}
</includeonly>
<noinclude>{{Documentation}}
[[Category:Infobox templates]]
</noinclude>

Revision as of 14:25, 18 February 2024

Pal Name

alt=Default alt text
Paldeck # {{{palNum}}}
Element(s) ?

Work Suitability
Kindling Watering
Planting Generating Electricity
Handiwork Gathering
Lumbering Mining
Medicine Production Cooling
Transporting Farming