Difference between revisions of "Template:Infobox:Creature"
From Istaria Lexica
Line 3: | Line 3: | ||
|- | |- | ||
| style="width: 200px; vertical-align: middle; border-right: 1px solid #525252" | | | style="width: 200px; vertical-align: middle; border-right: 1px solid #525252" | | ||
− | {{#if: {{{image|}}} | [[Image: | + | {{#if: {{{image|}}}Gritus_Maximus.jpg | [[Image: Gritus_Maximus.jpg | center | 200x200px | Upload a picture]] | {{#ifexist:File:{{PAGENAME}}.jpg | [[Image: {{PAGENAME}}.jpg | center | 200x200px | Upload a picture]] | [[File: TitleTemplate.png | center | 200x200px | link={{fullurl:Special:Upload|wpDestFile={{PAGENAMEE}}.jpg}}]]}}}} |
| | | | ||
{| class="InfoboxCreature-data" | {| class="InfoboxCreature-data" | ||
|- | |- | ||
− | | {{InfoboxLevelColoriser|{{{min level|}}}}} | + | | <p>Level Range:</p><p>{{InfoboxLevelColoriser|{{{min level|}}}100}}</p> |
− | | < | + | | <p>Health range:</p><p style="font-size:3em; font-weight:bold">{{#if: {{{min health|}}}1000 | <span style="font-size:0.5em">±</span>{{{min health}}}1000}}</p> |
|- | |- | ||
− | | style="border-top:1px solid #525252;" | <b>Creature Type:</b> {{#if: {{{creature type|}}} | [[:Category:{{{creature type}}}|{{{creature type}}}]][[Category:{{{creature type}}}|{{{creature type}}}]]}} | + | | style="border-top:1px solid #525252;" | <b>Creature Type:</b> {{#if: {{{creature type|}}}Epic Monster | [[:Category:{{{creature type}}}Epic Monster|{{{creature type}}}Epic Monster]][[Category:{{{creature type}}}Epic Monster|{{{creature type}}}Epic Monster]]}} |
− | | style="border-top:1px solid #525252;" | <b>Attack Types:</b> {{#if: {{{attack type|}}} | {{{attack type}}}}} | + | | style="border-top:1px solid #525252;" | <b>Attack Types:</b> {{#if: {{{attack type|}}}[[Slash]], [[Crush]] | {{{attack type}}}[[Slash]], [[Crush]]}} |
|- | |- | ||
− | | <b>School:</b> {{#if: {{{school|}}} | [[{{{school}}}]]}} | + | | <b>School:</b> {{#if: {{{school|}}}Warrior | [[{{{school}}}Warrior]]}} |
− | | <b>Immunities:</b> {{#if: {{{immune|}}} | {{{immune}}}}} | + | | <b>Immunities:</b> {{#if: {{{immune|}}}[[Slash]] | {{{immune}}}[[Slash]]}} |
|- | |- | ||
| | | | ||
− | | <b>Resistances:</b> {{#if: {{{resistant|}}} | {{{resistant}}}}} | + | | <b>Resistances:</b> {{#if: {{{resistant|}}}[[Slash]] | {{{resistant}}}[[Slash]]}} |
|- | |- | ||
| | | | ||
− | | <b>Weaknesses:</b> {{#if: {{{weakness|}}} | {{{weakness}}}}} | + | | <b>Weaknesses:</b> {{#if: {{{weakness|}}}[[Slash]] | {{{weakness}}}[[Slash]]}} |
|- | |- | ||
− | | {{#if: {{{resources|}}} | {{!}} | + | | {{#if: {{{resources|}}}[[Slate]] | {{!}} <b>Provides Resources:</b> {{{resources}}}[[Slate]]}} |
− | <b>Provides Resources:</b> {{{resources}}}}} | ||
|} | |} | ||
|- | |- |
Revision as of 13:09, 19 July 2015
Infobox:Creature | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
Coordinates: ? / ? |
Search for Infobox:Creature on Istaria Reference's map |
Template documentation (for the template shown above, sometimes hidden or invisible)
Description[edit]
A Brief summary about a creature.
- Try out this template in your sandbox
- Find pages using this template
- The available creature types are listed here.
- provides the following stats as SMW property: min health, min level, max health, max level, school, resource, x, y, tier
- uses: Template:InfoboxMultiproperty
Template:InfoboxMultiproperty parameters[edit]
{{InfoboxMultiproperty | property = the property name to be set (ex. Loot, School, Race) | limiter = a limiter for every entry. Default to comma, may also use html stuff like <br /> | value1 the first value to be set | value2 the second value to be set | valueN.. the N-th value to be set, repeat until you're done }}
Syntax[edit]
{{Infobox:Creature | image = | creature type = | school = | attacks on sight = | is social = | min level = | min health = | max level = | max health = | attack type = | weakness = | immune = | resistant = | x = | y = | resources = {{InfoboxMultiproperty|property=resource|value1|value2|...}} | tier = }}
Parameters[edit]
{{Infobox:Creature | image = Specify an image to be used alternatively. Used for backward compatibility. | creature type = The type of the creature. Please refer to the list mentioned above. | school = The school of the creature, as specified in-game ("Ice Ogre", "Saris Ranger", etc.). Provide as a link. | attacks on sight = Does the creature attack on sight? Possible values are: empty | yes | no | is social = Does the creature drag other creatures on aggro? Possible values are: empty | yes | no | min level = The minimum level of the creature. Integer only! | min health = The minimum health of the creature. Integer only! | max level = The maximum level of the creature. Integer only! | max health = The maximum health of the creature. Integer only! | attack type = The attack types of the creature. Use comma separated links (i.e. [[Flame]], [[Slash]], ...) | weakness = The attack types the creature is weak to. Use comma separated links (i.e. [[Flame]], [[Slash]], ...). | immune = The attack types the creature is immune to.Use comma separated links (i.e. [[Flame]], [[Slash]], ...). | resistant = The attack types the creature is resistant to. Use comma separated links (i.e. [[Flame]], [[Slash]], ...). | x = The ingame latitude location | y = The ingame longitude location | resources = If creature is harvestable, provide the available resources here. Use Template:InfoboxMultiproperty as mentioned above. | tier = Tier of the creature. }}
Example[edit]
{{Infobox:Creature | image = Bessie.jpg | creature type = Named Creature | school = [[Lava Crab]] | attacks on sight = yes | is social = no | min level = 81 | min health = 4120 | max level = 99 | max health = 10787 | attack type = [[Crush]] | weakness = [[Crush]], [[Ice]] | immune = [[Flame]] | resistant = [[Pierce]] | x = 25232 | y = 31453 | resources = {{InfoboxMultiproperty|property=resource|Hide|Meat}} | tier = 3 }}
Visit Template:Infobox:Creature/doc to edit this text. (How to: document correctly)