Template:Monster

From GodWiki
Revision as of 14:45, 20 January 2021 by Hankvi Guidza (talk | contribs) (Since 'boss part' is tied to boss-type, trying out the #ifeq for the pagename itself)
Jump to navigation Jump to search

{{Infobox | name = Template:Monster | above = Monster | subheader = | title = Monsters of Godville | imagestyle = padding:0;background: #e3f0fd33; border-bottom: 2px solid #f8f9fa; | captionstyle= background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;

| image =

Menagerie.png

| caption = | spacer = | abovestyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | belowstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | navstyle = background: #e3f0fd; padding-right:0.5em; | headerstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | labelstyle = background: #e3f0fd; vertical-align: top; min-width: 8em; border-bottom: 2px solid #f8f9fa; | datastyle = background: #e3f0fd33; vertical-align:top; min-width: 12em; border-bottom: 2px solid #f8f9fa; | header1 = | label2 = Class | data2 = | label3 = Habitat | data3 = | label4 = Health | data4 = | label5 = Death Rattle | data5 = | label6 = Artifact | data6 = | label7 = | data7 = | label8 = Totem for | data8 = | label9 = Description | data9 = Unknown | rowstyle10 = background: #fecdcd; | rowlabelstyle11 = background: #fecdcd99; | rowdatastyle11 = background: #fecdcd33; | rowlabelstyle12 = background: #fecdcd99; | rowdatastyle12 = background: #fecdcd33; | header10 = | label11 = Boss Type | data11 = | label12 = Part Level | data12 = rowstyle20 = background:#c9f3d5;

[view] [edit] [history] [refresh]
📚 Documentation

As well as automatically categorizing an article into Category:Monsters, this template supplies some standard information about the subject of the article. For details on how to create a monster article, refers to the Creators Manual and the Guideline: Monster Articles.

Parameter quick-start

The following is essential documentation for users of this template. Comprehensive documentation follows this section.

Boss types

The following codes can be used as arguments to |boss-type=.
|boss-type= Boss Type displayed Notes
above Above-Ground snowman is an exclusive variant
dig or ug Underground
quest Mini-Quest
1 or 1ab 1-Ability Dungeon AKA "Level 1" / "Class C" (old system)
2 or 2ab 2-Ability Dungeon AKA "Level 2" / "Class B"
3 or 3ab or tb 3-Ability Dungeon AKA "Level 3" / "Treasure Boss" / "Class A"
dungeon Dungeon (unknown/generic)

Implied subtypes

It is no longer required that |pet=yes, |boss=yes, or |sea=yes be used to create an infobox of the associated subtype. Setting a value for any of the associated subtype parameters (|boss-type= for bosses; |pet-level-from=, |pet-levels=, or |pet-feature= for pets; or |sea-names= for beasties) will imply the setting of the subtype switch.

The |type=yes switches may still be used, to activate the features for that type of infobox when none of the subtype parameters are being set.

Conflicting subtypes

If conflicting subtypes are set in the template, the template will add the page to Category:Monsters with conflicting type parameters. More information about conflicting types can be found there.

Parameters

|image=filename
Optional but preferred — The full image file name.
If an image is not supplied, a placeholder will be used, and by default the template will place the {{picture}} hatnote before the infobox. Disable this if necessary with |ignore-no-image=yes (see below).
|caption=Image description
Optional — Use only if |image= is also set. Text of a descriptive caption to display beneath the image.
|class=
The class of the monster e.g. alien, feline, humanoid, demon, amphibian etc. Be reasonably exact but don't go overboard by using any taxonomy. (default: Unknown)
|habitat=
The habitat the monster is generally found in. (default: Unknown)
|description=
A brief description of the monster's appearance. (default: Unknown)
|latin=
Optional — The monster's latin name. If set, will be listed directly underneath the article title at the top of the infobox. Automatically italicized.
|strong=yes
Optional — Set this parameter to yes or any yes-like value to indicate this monster is a strong monster, as described at Monsters § Strong Monsters. This parameter should not be used for a boss-monster or beastie, but some monsters and some pets are strong monsters. This will categorise the monster into the Strong Monsters category.
|health=
Optional — The monster's typical health.
To find a monster's health, roll your mouse over the progress bar and it will give you a percentage (let's call it p1). Repeat until you get an EN entry where it tells you how many hp the monster got hit for (call it h). Then roll your mouse over to get the new percentage (call it p2). The health of the monster is: h/((p2-p1)/100).
|rattle=
Optional — Only include if the monster actually has a Death Rattle.
|artifact=Artifact Name
Optional — Only include if the monster actually has its own artifact. Will automatically link to the Godwiki article for that artifact.
|totem=Guild Name
Optional — The Guild which has this monster as its totem monster. Will automatically link to the Godwiki article for that Guild and the Guild's Godville page.
(Note: Setting |totem= will categorize the article into the Totem Monsters category.)
|wanted=date(s)
Optional — Date or dates when the monster was Wanted in the Godville Times.
In the field, write the word "Day" or "Days" and add the web.archive.org link of the g.e. day or days the monster was in the godville times. Don't write the letters "g.e." as those are automatically added.

Subtype parameters

Boss-monsters

(Note: Setting |boss-type= will categorize the article into the Boss-Monsters category.)

|boss-type=
Optional — See the boss types table.

Pets

(Note: Setting |pet-level-from=, |pet-levels=, or |pet-feature= will categorize the article into the Pets category.)

|pet-level-from=
Optional — The lowest level at which the pet can be tamed. The infobox will calculate the correct range, including pre- and post-ark levels ranges.
|pet-levels= or |levels=
Deprecated — The range of levels the hero must be in to be able to tame the pet. Ignored if the preferred parameter |pet-level-from= is set; please use it instead.
|pet-feature= or |pet-features=, |feature=, |features=
Optional — Only include if the pet actually has a feature listed in its stats. (default: Unknown)

Sea creatures (Beasties)

(Note: Setting |sea-names= will categorize the article into the Beasties category.)

|sea-names= or |names=
Optional — Set from 1/one to 5/five to indicate which strength level the Beastie has, which represents its "type". (Required with |sea=yes, default: Unknown.)

Subtype switches

|boss=yes, |pet=yes, |sea=yes,
Optional — If set to a positive value (such as yes, y, true, 1, etc.), activate the appropriate sub-category, title change, and categorization. Useful when none of the parameters related to the sub-type can be set.

Template functionality

|ignore-no-image=yes
Optional — Set to yes (or any similar positive-state value) to disable the automatic placement of {{Picture}} above the infobox.
|top=no
Optional — Set to no to disable the automatic placement of the {{Top}} template on the article.

Examples of Use

Empty quick-start template

This has the most commonly used parameters ready to fill in. Paste this into an article for a quick start on your monster infobox. Unused parameters will be ignored (or appear as "Unknown").

{{monster
| image = <!-- An image filename (e.g. Example_picture_name.jpg). If the filename doesn't exist, this gives you a link to upload it. -->
| caption = <!-- A caption to be displayed beneath the image. -->
| latin = <!-- a Latin-style species name, if known/made-up -->
| description = <!-- A short description of the monster. -->
| class = <!-- The class of monster, such as "Humanoid" or "Automata" -->
| habitat = <!-- Where the monster lives or thrives -->
| strong = <!-- Set this to yes if this is a strong monster. -->
| boss-type = <!-- One of: above, dig, quest, 1ab, 2ab, 3ab. See table for details. -->
| pet-level-from = <!-- The lowest hero level at which the pet can be tamed -->
| pet-feature = <!-- Rideable, Sailing, Dungeon, etc. -->
| sea-names = <!-- From 1 to 5, the strength level the Beastie has -->
}}

Monster

{{Infobox | name = Template:Monster | above = Monster | subheader = | title = Monsters of Godville | imagestyle = padding:0;background: #e3f0fd33; border-bottom: 2px solid #f8f9fa; | captionstyle= background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;

| image =
Example.jpg

| caption = Example | spacer = | abovestyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | belowstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | navstyle = background: #e3f0fd; padding-right:0.5em; | headerstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | labelstyle = background: #e3f0fd; vertical-align: top; min-width: 8em; border-bottom: 2px solid #f8f9fa; | datastyle = background: #e3f0fd33; vertical-align:top; min-width: 12em; border-bottom: 2px solid #f8f9fa; | header1 = | label2 = Class | data2 = Demon | label3 = Habitat | data3 = Hell, Swamps, and Old Shoes | label4 = Health | data4 = 55 | label5 = Death Rattle | data5 = I'll be back! | label6 = Artifact | data6 = Hell's Hailstone | label7 = Wanted on | data7 = Day 1574 g.e. | label8 = Totem for | data8 = James' Guild ⚜️  | label9 = Description | data9 = An evil red thing with an attitude | rowstyle10 = background: #fecdcd; | rowlabelstyle11 = background: #fecdcd99; | rowdatastyle11 = background: #fecdcd33; | rowlabelstyle12 = background: #fecdcd99; | rowdatastyle12 = background: #fecdcd33; | header10 = | label11 = Boss Type | data11 = | label12 = Part Level | data12 = rowstyle20 = background:#c9f3d5;

{{monster
| image = Example.jpg
| caption = Example
| latin = 
| description = An evil red thing with an attitude
| class = Demon
| habitat = Hell, Swamps, and Old Shoes
| artifact = Hell's Hailstone
| health = 55
| rattle = I'll be back!
| totem = James' Guild
| wanted = Day [https://web.archive.org/web/20140830200611/http://godvillegame.com/news 1574]
}}

Strong Monster

{{Infobox | name = Template:Monster | above = Monster | subheader = Deusvilla administrare | title = Strong Monsters of Godville | imagestyle = padding:0;background: #e3f0fd33; border-bottom: 2px solid #f8f9fa; | captionstyle= background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;

| image =
GodvilleAdministrator.jpg

| caption = The almighty Godville Administrator. | spacer = | abovestyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | belowstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | navstyle = background: #e3f0fd; padding-right:0.5em; | headerstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | labelstyle = background: #e3f0fd; vertical-align: top; min-width: 8em; border-bottom: 2px solid #f8f9fa; | datastyle = background: #e3f0fd33; vertical-align:top; min-width: 12em; border-bottom: 2px solid #f8f9fa; | header1 = Strong Monster | label2 = Class | data2 = Supreme being | label3 = Habitat | data3 = Everywhere | label4 = Health | data4 = | label5 = Death Rattle | data5 = | label6 = Artifact | data6 = Invite to Godville | label7 = | data7 = | label8 = Totem for | data8 = | label9 = Description | data9 = Giant anthropomorphic beings with great power | rowstyle10 = background: #fecdcd; | rowlabelstyle11 = background: #fecdcd99; | rowdatastyle11 = background: #fecdcd33; | rowlabelstyle12 = background: #fecdcd99; | rowdatastyle12 = background: #fecdcd33; | header10 = | label11 = Boss Type | data11 = | label12 = Part Level | data12 = rowstyle20 = background:#c9f3d5;

{{monster
| image = GodvilleAdministrator.jpg
| caption = The almighty Godville Administrator.
| latin = Deusvilla administrare
| description = Giant anthropomorphic beings with great power
| class = Supreme being
| habitat = Everywhere
| strong = yes
| artifact = Invite to Godville
}}

Pet

{{Infobox | name = Template:Monster | above = Monster | subheader = | title = Pets of Godville | imagestyle = padding:0;background: #e3f0fd33; border-bottom: 2px solid #f8f9fa; | captionstyle= background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;

| image =
Significantotter.jpg

| caption = Example Pet | spacer = | abovestyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | belowstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | navstyle = background: #e3f0fd; padding-right:0.5em; | headerstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | labelstyle = background: #e3f0fd; vertical-align: top; min-width: 8em; border-bottom: 2px solid #f8f9fa; | datastyle = background: #e3f0fd33; vertical-align:top; min-width: 12em; border-bottom: 2px solid #f8f9fa; | header1 = | label2 = Class | data2 = Important | label3 = Habitat | data3 = Bottled water streams | label4 = Health | data4 = | label5 = Death Rattle | data5 = | label6 = Artifact | data6 = | label7 = | data7 = | label8 = Totem for | data8 = | label9 = Description | data9 = Aquatic mammal | rowstyle10 = background: #fecdcd; | rowlabelstyle11 = background: #fecdcd99; | rowdatastyle11 = background: #fecdcd33; | rowlabelstyle12 = background: #fecdcd99; | rowdatastyle12 = background: #fecdcd33; | header10 = | label11 = Boss Type | data11 = | label12 = Part Level | data12 = rowstyle20 = background:#c9f3d5;

{{monster
| image = Significantotter.jpg
| caption = Example Pet
| latin = 
| description = Aquatic mammal
| class = Important
| habitat = Bottled water streams
| pet-level-from = 18
}}

Boss-monster

{{Infobox | name = Template:Monster | above = Monster | subheader = | title = Boss-Monsters of Godville | imagestyle = padding:0;background: #e3f0fd33; border-bottom: 2px solid #f8f9fa; | captionstyle= background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;

| image =
Bosstradamus.jpg

| caption = Example Boss | spacer = | abovestyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | belowstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | navstyle = background: #e3f0fd; padding-right:0.5em; | headerstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | labelstyle = background: #e3f0fd; vertical-align: top; min-width: 8em; border-bottom: 2px solid #f8f9fa; | datastyle = background: #e3f0fd33; vertical-align:top; min-width: 12em; border-bottom: 2px solid #f8f9fa; | header1 = | label2 = Class | data2 = Squid | label3 = Habitat | data3 = Dungeons and cubicles | label4 = Health | data4 = | label5 = Death Rattle | data5 = | label6 = Artifact | data6 = | label7 = | data7 = | label8 = Totem for | data8 = | label9 = Description | data9 = A supervising future teller | rowstyle10 = background: #fecdcd; | rowlabelstyle11 = background: #fecdcd99; | rowdatastyle11 = background: #fecdcd33; | rowlabelstyle12 = background: #fecdcd99; | rowdatastyle12 = background: #fecdcd33; | header10 = Boss | label11 = Boss Type | data11 = 3-Ability Dungeon | label12 = Part Level | data12 = Level 3

{{monster
| image = Bosstradamus.jpg
| caption = Example Boss
| latin = 
| description = A supervising future teller
| class = Squid
| habitat = Dungeons and cubicles
| boss-type = 3ab
}}

Beastie

{{Infobox | name = Template:Monster | above = Monster | subheader = | title = Beasties of Godville | imagestyle = padding:0;background: #e3f0fd33; border-bottom: 2px solid #f8f9fa; | captionstyle= background: #e3f0fd33; border-bottom: 2px solid #f8f9fa;

| image =
ninjastar.jpg

| caption = Example Beastie | spacer = | abovestyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | belowstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | navstyle = background: #e3f0fd; padding-right:0.5em; | headerstyle = background: #e3f0fd; border-bottom: 2px solid #f8f9fa; | labelstyle = background: #e3f0fd; vertical-align: top; min-width: 8em; border-bottom: 2px solid #f8f9fa; | datastyle = background: #e3f0fd33; vertical-align:top; min-width: 12em; border-bottom: 2px solid #f8f9fa; | header1 = | label2 = Class | data2 = Serrated Starfish | label3 = Habitat | data3 = The surface of the water | label4 = Health | data4 = | label5 = Death Rattle | data5 = | label6 = Artifact | data6 = | label7 = | data7 = | label8 = Totem for | data8 = | label9 = Description | data9 = A weaponized starfish | rowstyle10 = background: #fecdcd; | rowlabelstyle11 = background: #fecdcd99; | rowdatastyle11 = background: #fecdcd33; | rowlabelstyle12 = background: #fecdcd99; | rowdatastyle12 = background: #fecdcd33; | header10 = | label11 = Boss Type | data11 = | label12 = Part Level | data12 = rowstyle20 = background:#c9f3d5;

{{monster
| image = ninjastar.jpg
| caption = Example Beastie
| latin = 
| description = A weaponized starfish
| class = Serrated Starfish
| habitat = The surface of the water
| sea-names = 1
}}