Difference between revisions of "Template:Infobox monster"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (fix drops for non-standard locations) |
Margotbean (talk | contribs) m (Text replacement - "colspan=2" to "colspan="2"") |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div id="infoboxborder"> | <includeonly><div id="infoboxborder"> | ||
{| id="infoboxtable" | {| id="infoboxtable" | ||
− | |colspan=2 id="infoboxheader"|{{{name|{{PAGENAME}}}}} | + | |colspan="2" id="infoboxheader"|{{{name|{{PAGENAME}}}}} |
|- | |- | ||
− | |colspan="2" style="padding-bottom: 15px;"|{{#if: {{{portrait}}}|[[File:{{{portrait|Villager Placeholder.png}}}{{#if:{{{width|}}}|{{!}}{{{width|}}}}}|center | + | |colspan="2" style="padding-bottom: 15px;"|{{#if: {{{portrait}}}|[[File:{{{portrait|Villager Placeholder.png}}}{{#if:{{{width|}}}|{{!}}{{{width|}}}}}|center]]|[[File:Villager Placeholder.png|center|link=]]}} |
|- | |- | ||
|colspan="2" id="infoboxsection" style="text-align: center;"|Information | |colspan="2" id="infoboxsection" style="text-align: center;"|Information | ||
Line 15: | Line 15: | ||
|the mines|mines=<nowiki /> | |the mines|mines=<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Floors: |
{{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|N/A}} | {{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|N/A}} | ||
|the skull cavern|skull cavern=<nowiki /> | |the skull cavern|skull cavern=<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Floors: |
{{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|All}} | {{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|All}} | ||
|the farm|farm = | |the farm|farm = | ||
|#default=<nowiki /> | |#default=<nowiki /> | ||
{{!}}- | {{!}}- | ||
− | {{!}}id="infoboxsection"{{!}} | + | {{!}}id="infoboxsection"{{!}}Floors: |
{{!}}id="infoboxdetail"{{!}}{{{levels|}}} | {{!}}id="infoboxdetail"{{!}}{{{levels|}}} | ||
}} | }} | ||
Line 43: | Line 43: | ||
|id="infoboxdetail"|{{#if:{{{spd|}}}|{{{spd}}}|N/A}} | |id="infoboxdetail"|{{#if:{{{spd|}}}|{{{spd}}}|N/A}} | ||
|- | |- | ||
− | |id="infoboxsection"| | + | |id="infoboxsection"|XP: |
|id="infoboxdetail"|{{#if:{{{exp|}}}|{{{exp}}}|N/A}}{{#if:{{{variations|}}} | |id="infoboxdetail"|{{#if:{{{exp|}}}|{{{exp}}}|N/A}}{{#if:{{{variations|}}} | ||
| <nowiki/> | | <nowiki/> | ||
Line 54: | Line 54: | ||
{{!}}id="infoboxsection"{{!}}Drops: | {{!}}id="infoboxsection"{{!}}Drops: | ||
{{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{location|}}}}} | {{!}}id="infoboxdetail"{{!}}{{#switch:{{lc:{{{location|}}}}} | ||
− | |the skull cavern|skull cavern={{{drops|N/A}}}{{name|Diamond|0. | + | |the skull cavern|skull cavern={{{drops|N/A}}}{{name|Diamond|0.05%}}{{name|Prismatic Shard|0.05%}} |
− | |#default={{{drops|N/A}}}<p>If reached bottom of Mines:</p>{{name|Diamond|0. | + | |#default={{{drops|N/A}}}<p>If reached bottom of Mines:</p>{{name|Diamond|0.05%}}{{name|Prismatic Shard|0.05%}}}} |
|}} | |}} | ||
|- | |- | ||
|} | |} | ||
− | </div>{{InfoboxSEO | + | </div>{{InfoboxSEO}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
− | |||
− | }}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Latest revision as of 18:58, 23 October 2021
Description
This template is used to display an infobox for monster pages.
Use
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 | |
Information | |
Spawns In: | The Mines |
Floors: | 31-120 |
Killable: | yes |
Base HP: | 24, 36, 80 |
Base Damage: | 06, 07, 15 |
Base Def: | 1 |
Speed: | 3 |
XP: | 03, 07, 15 |
Variations: | Bat, Frost Bat, Lava Bat |
Drops: | Bat Wing (75%) If reached bottom of Mines: Diamond (0.05%) 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%}} }}