Difference between revisions of "Template:Infobox monster/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Merge usage and parameters headings)
m (Example infobox shows on the side of the example)
Line 22: Line 22:
  
 
== Sample ==
 
== Sample ==
<pre>
 
 
{{Infobox monster
 
{{Infobox monster
 
|name = Bats
 
|name = Bats
Line 36: Line 35:
 
|variations = Bat, Frost Bat, Lava Bat
 
|variations = Bat, Frost Bat, Lava Bat
 
|drops      = {{name|Bat Wing|75%}}
 
|drops      = {{name|Bat Wing|75%}}
 +
|debug mode = true
 
}}
 
}}
</pre>
+
<pre>
 
{{Infobox monster
 
{{Infobox monster
 
|name = Bats
 
|name = Bats
Line 51: Line 51:
 
|variations = Bat, Frost Bat, Lava Bat
 
|variations = Bat, Frost Bat, Lava Bat
 
|drops      = {{name|Bat Wing|75%}}
 
|drops      = {{name|Bat Wing|75%}}
|debug mode = true
 
 
}}
 
}}
 +
</pre>
 
{{clear}}
 
{{clear}}
  
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>{{Addlanglinks}}</includeonly>
 
<includeonly>{{Addlanglinks}}</includeonly>

Revision as of 17:28, 25 June 2022

Description

This template is used to display an infobox for monster pages.

Usage

Do not use this on your user page. It is reserved for content pages. This template can be used by entering the following onto a relevant page.

{{Infobox monster
|name       = Name of monster, defaults to {{PAGENAME}}
|portrait   = Image of monster with file extension
|location   = Monster location
|levels     = Location level
|killable   = Yes/no
|hp         = Health amount
|dmg        = Damage to done to player
|def        = Defense amount
|spd        = Movement Speed
|exp        = Experience given on defeat
|variations = List variations. Optional
|drops      = List drops
}}

Sample

Bats
Bat Anim.gif
Information
Spawns In: The Mines
Floors: 31-120
Killable: yes
Base HP: Bat.png 24, Frost Bat.png 36, Lava Bat.png 80
Base Damage: Bat.png 06, Frost Bat.png 07, Lava Bat.png 15
Base Def: 1
Speed: 3
XP: Bat.png 03, Frost Bat.png 07, Lava Bat.png 15
Variations: Bat, Frost Bat, Lava Bat
Drops: Bat Wing.png Bat Wing (75%)

If reached bottom of Mines:

Diamond.png Diamond (0.05%)Prismatic Shard.png Prismatic Shard (0.05%)
{{Infobox monster
|name = Bats
|portrait   = Bat_Anim.gif
|location   = The Mines
|levels     = 31-120
|killable   = yes
|hp         = [[File:Bat.png|16px|link=]] 24, [[File:Frost Bat.png|16px|link=]] 36, [[File:Lava Bat.png|16px|link=]] 80
|dmg        = [[File:Bat.png|16px|link=]] 06, [[File:Frost Bat.png|16px|link=]] 07, [[File:Lava Bat.png|16px|link=]] 15
|def        = 1
|spd        = 3
|exp        = [[File:Bat.png|16px|link=]] 03, [[File:Frost Bat.png|16px|link=]] 07, [[File:Lava Bat.png|16px|link=]] 15
|variations = Bat, Frost Bat, Lava Bat
|drops      = {{name|Bat Wing|75%}}
}}