Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Pet: Difference between revisions

Template page
Add pet infobox
 
m Replace infobox syntax
 
Line 1: Line 1:
<includeonly>
<includeonly>{{Infobox
<infobox>
| name = {{{pet|{{PAGENAME}}}}}
  <title source="title1"/>
| image = {{#if:{{{pet_image|}}}|[[File:{{{pet_image}}}|200px|alt=Pet Image]]}}
  <image source="image1">
| caption = {{#if:{{{pet_image|}}}|Pet Image}}
    <caption source="caption-image1"/>
| imagestyle = text-align:center;
  </image>
| above =
  <data source="rarity">
| abovestyle =
    <label>Rarity</label>
 
  </data>
| header4 = Info
  <data source="diet">
| label5 = Rarity
    <label>Diet</label>
| data5 = {{{rarity|}}}
  </data>
| label6 = Diet
  <data source="abilities">
| data6 = {{{diet|}}}
    <label>Abilities</label>
| label7 = Abilities
  </data>
| data7 = {{{abilities|}}}
  <data source="%_chance_per_egg">
| label8 = % Chance per Egg
    <label>% Chance per Egg</label>
| data8 = {{{%_chance_per_egg|}}}
  </data>
 
  <data source="max_hunger">
| label9 = Max Hunger
    <label>Max Hunger</label>
| data9 = {{{max_hunger|}}}
  </data>
| label10 = Hunger Depletion Time
  <data source="hunger_depletion_time">
| data10 = {{{hunger_depletion_time|}}}
    <label>Hunger Depletion Time</label>
| label11 = Hours to mature
  </data>
| data11 = {{{hours_to_mature|}}}
  <data source="hours_to_mature">
}}</includeonly>
    <label>Hours to Mature</label>
  </data>
</infobox>
</includeonly>
<includeonly>{{#ifeq: {{NAMESPACE}}|{{ns:0}}|[[Category:Pets]]}}</includeonly>
<includeonly>{{#ifeq: {{NAMESPACE}}|{{ns:0}}|[[Category:Pets]]}}</includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 07:10, 17 October 2025