Difference between revisions of "Template:Infobox monster"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (correct levels display for non-standard locations) |
Margotbean (talk | contribs) |
||
Line 13: | Line 13: | ||
| the farm | farm = [[The Farm]] | | the farm | farm = [[The Farm]] | ||
| #default = {{{location|}}}}}{{#switch:{{lc:{{{location|}}}}} | | #default = {{{location|}}}}}{{#switch:{{lc:{{{location|}}}}} | ||
− | |the mines|mines=<nowiki/> | + | |the mines|mines=<nowiki /> |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Levels: | {{!}}id="infoboxsection"{{!}}Levels: | ||
{{!}}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"{{!}}Levels: | {{!}}id="infoboxsection"{{!}}Levels: | ||
{{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|All}} | {{!}}id="infoboxdetail"{{!}}{{#if:{{{levels|}}}|{{{levels}}}|All}} | ||
|the farm|farm = | |the farm|farm = | ||
− | |#default = | + | |#default=<nowiki /> |
{{!}}- | {{!}}- | ||
{{!}}id="infoboxsection"{{!}}Levels: | {{!}}id="infoboxsection"{{!}}Levels: |
Revision as of 20:35, 2 June 2018
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 |
Levels: | 31-120 |
Killable: | yes |
Base HP: | 24, 36, 80 |
Base Damage: | 06, 07, 15 |
Base Def: | 1 |
Speed: | 3 |
EXP Given: | 03, 07, 15 |
Variations: | Bat, Frost Bat, Lava Bat |
Drops: | Bat Wing (75%) If reached bottom of Mines: Diamond (0.4%) Prismatic Shard (0.4%) |
Error: {{#seo:}} must contain at least one non-empty attribute.
{{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%}} }}