Difference between revisions of "Template:MOB infobox/doc"

From Project: Gorgon Wiki
Jump to: navigation, search
m (removed SPW template)
m (Parameters)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
==Description==
 +
Create an attractive "info card" for enemies and bosses. This is another way to liven up the pages. It also provides a consistent "at a glance" information box with vital information that is consistent across all creatures.
 +
 +
Note that the goal is not to cover everything that can fit into the card, as that is in the body of the article. If you have any suggestions for what should/could go in the infobox, please comment on the [[{{TALKPAGENAME}}|Talk page]] or the author's talk page. <span style="color:#484">This template will have more parameters, but is awaiting Wiki Extensions.</span>
 +
 +
; Automatic categories
 +
: '''curse''' => this will add "Has curse" and will show up in the [[Curse]] boss list
 +
: '''type''' => the anatomy type will list under the corresponding category for creature type lists, eg. [[Undead]]
 +
 
==Syntax==
 
==Syntax==
 
<pre>
 
<pre>
 
{{MOB infobox
 
{{MOB infobox
| name =  
+
| title =
 
| image =  
 
| image =  
 
| type =
 
| type =
 +
| health =
 
| armor =
 
| armor =
| health =
 
 
| rage =
 
| rage =
 
| notoriety =  
 
| notoriety =  
| effective =  
+
| curse =
 +
| effective =
 +
| veffective =
 
| ineffective =
 
| ineffective =
 +
| vineffective =
 
| immune =
 
| immune =
 
}}
 
}}
Line 16: Line 28:
  
 
==Parameters==
 
==Parameters==
; name
+
; title
: Optional. Defaults to article name.
+
: Not Optional. Must be the Mob's name.
 
; image
 
; image
: Optional. Defaults to a .jpg image of the article's name. If specified, use <code><nowiki>[[Image:Creature name.jpg|300px|]]</nowiki></code>
+
: Optional. Defaults to a .png image of the article's name. If specified, use <code><nowiki>[[Image:Creature name.jpg|300px|]]</nowiki></code>
 
; type
 
; type
 
: MUST match an existing [[:Category:Creatures by Type]]
 
: MUST match an existing [[:Category:Creatures by Type]]
 +
; health
 +
: OPTIONAL. Numerical value as displayed in the in-game target box. Use on bosses, and creatures that appear in a single location in-game. Creatures that appear in many locations such as the [[Tiger]] do not require health/armor/rage to be listed in its infobox.
 
; armor
 
; armor
: Numerical value as displayed in the in-game target box.
+
: OPTIONAL. Numerical value as displayed in the in-game target box. Will only display if a health exists.
; health
 
: Numerical value as displayed in the in-game target box.
 
 
; rage
 
; rage
: Numerical value as displayed in the in-game target box.
+
: OPTIONAL. Numerical value as displayed in the in-game target box. Will only display if a health exists.
 
; notoriety
 
; notoriety
 
: OPTIONAL. Show notoriety XP gain for special creatures.
 
: OPTIONAL. Show notoriety XP gain for special creatures.
 +
; curse
 +
: OPTIONAL. Lists exact name of curse if the creature is a curse causing boss.
 
; effective
 
; effective
: OPTIONAL. Lists damage types that are effective against this creature. Add a (V) next to attack types which are Very Effective.
+
: OPTIONAL. Lists damage types that are effective against this creature.
 +
; veffective
 +
: OPTIONAL. Lists damage types that are very effective against this creature.
 
; ineffective
 
; ineffective
: OPTIONAL. Lists damage types that are ineffective against this creature. Add a (V) next to attack types which are Very Ineffective.
+
: OPTIONAL. Lists damage types that are ineffective against this creature.
 +
; vineffective
 +
: OPTIONAL. Lists damage types that are very ineffective against this creature.
 
; immune
 
; immune
 
: OPTIONAL. Lists damage types that the mob is immune to.
 
: OPTIONAL. Lists damage types that the mob is immune to.
 
==Description==
 
Create an attractive "info card" for enemies and bosses. This is another way to liven up the pages. It also provides a consistent "at a glance" information box with vital information that is consistent across all creatures.
 
 
Note that the goal is not to cover everything that can fit into the card, as that is in the body of the article. If you have any suggestions for what should/could go in the infobox, please comment on the Talk page or the author's talk page. <span style="color:#484">This template will have more parameters, but is awaiting Wiki Extensions.</span>
 
 
; Automatic categories
 
: '''curse''' => this will add "Has curse" and will show up in the [[Curse]] boss list
 
: '''type''' => the anatomy type will list under the corresponding category for creature type lists, eg. [[Undead]]
 
  
 
==Examples==
 
==Examples==
: To see a completed example, look at [[Sherzat]].
+
: To see a completed example, look at [[Young Kraken]].
  
 
The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name):
 
The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name):
 
<pre>
 
<pre>
 
{{MOB infobox
 
{{MOB infobox
| type = Arthropod
+
| title = Young Kraken
| armor = 5
+
| type = Fish and Snail
| health = 45
+
| notoriety = 500
| rage = 60
+
| health = 8508
 +
| armor = 1007
 +
| rage = 1299
 +
| effective = Crushing
 +
| veffective = Slashing
 +
| vineffective = Poison
 +
| immune = Nature
 
}}
 
}}
 
</pre>
 
</pre>
 
If an image already exists which name does not match the article name, or in a different format (png) specify like so:
 
<pre>
 
 
{{MOB infobox
 
{{MOB infobox
| image = [[Image:Black Widow.png|300px|]]
+
| title = Young Kraken
| type = Arthropod
+
| type = Fish and Snail
| armor = 5
+
| notoriety = 500
| health = 45
+
| health = 8508
| rage = 60
+
| armor = 1007
 +
| rage = 1299
 +
| effective = Crushing
 +
| veffective = Slashing
 +
| vineffective = Poison
 +
| immune = Nature
 
}}
 
}}
</pre>
 
 
==TODOs (Gorgonzola)==
 
Notes for later:
 
* XP amounts like Notoriety should be pulled with Semantic Data?
 
  
 
<includeonly><!-- Any categories for the template itself -->
 
<includeonly><!-- Any categories for the template itself -->

Latest revision as of 20:26, 4 November 2020

Description

Create an attractive "info card" for enemies and bosses. This is another way to liven up the pages. It also provides a consistent "at a glance" information box with vital information that is consistent across all creatures.

Note that the goal is not to cover everything that can fit into the card, as that is in the body of the article. If you have any suggestions for what should/could go in the infobox, please comment on the Talk page or the author's talk page. This template will have more parameters, but is awaiting Wiki Extensions.

Automatic categories
curse => this will add "Has curse" and will show up in the Curse boss list
type => the anatomy type will list under the corresponding category for creature type lists, eg. Undead

Syntax

{{MOB infobox
| title =
| image = 
| type =
| health =
| armor =
| rage =
| notoriety = 
| curse =
| effective =
| veffective =
| ineffective =
| vineffective =
| immune =
}}

Parameters

title
Not Optional. Must be the Mob's name.
image
Optional. Defaults to a .png image of the article's name. If specified, use [[Image:Creature name.jpg|300px|]]
type
MUST match an existing Category:Creatures by Type
health
OPTIONAL. Numerical value as displayed in the in-game target box. Use on bosses, and creatures that appear in a single location in-game. Creatures that appear in many locations such as the Tiger do not require health/armor/rage to be listed in its infobox.
armor
OPTIONAL. Numerical value as displayed in the in-game target box. Will only display if a health exists.
rage
OPTIONAL. Numerical value as displayed in the in-game target box. Will only display if a health exists.
notoriety
OPTIONAL. Show notoriety XP gain for special creatures.
curse
OPTIONAL. Lists exact name of curse if the creature is a curse causing boss.
effective
OPTIONAL. Lists damage types that are effective against this creature.
veffective
OPTIONAL. Lists damage types that are very effective against this creature.
ineffective
OPTIONAL. Lists damage types that are ineffective against this creature.
vineffective
OPTIONAL. Lists damage types that are very ineffective against this creature.
immune
OPTIONAL. Lists damage types that the mob is immune to.

Examples

To see a completed example, look at Young Kraken.

The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name):

{{MOB infobox
| title = Young Kraken
| type = Fish and Snail
| notoriety = 500
| health = 8508
| armor = 1007
| rage = 1299
| effective = Crushing
| veffective = Slashing
| vineffective = Poison
| immune = Nature
}}
Main Page Headers Bg.png
Young Kraken
File:MOB infobox/doc.png
Health8508Armor1007Rage1299
Anatomy:
Notoriety:
500
Effective:
Crushing
Very Effective:
Slashing
Very Ineffective:
Poison
Immune:
Nature