Difference between revisions of "Template:Infobox Enemy"

From Twinsuniverse
Jump to: navigation, search
m
m
Line 7: Line 7:
 
* '''gender''': Male or female (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/gender|gender]] subpage)
 
* '''gender''': Male or female (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/gender|gender]] subpage)
 
* '''size''': The length of the enemy; small, average, large (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/size|size]] subpage)
 
* '''size''': The length of the enemy; small, average, large (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/size|size]] subpage)
* '''requires''': The magic level required to defeat this enemy (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/requires|requires]] subpage)
 
 
* '''lba#''': Whether the enemy is encountered in the #(=1, 2 or 3) adventure (defaults to "no", see the [[Template:{{PAGENAME}}/adventure|adventure]] subpage)
 
* '''lba#''': Whether the enemy is encountered in the #(=1, 2 or 3) adventure (defaults to "no", see the [[Template:{{PAGENAME}}/adventure|adventure]] subpage)
 
* '''alignment''': Of which party this enemy is a follower (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/alignment|alignment]] subpage)
 
* '''alignment''': Of which party this enemy is a follower (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/alignment|alignment]] subpage)
 
* '''occupation''': A short phrase about the enemy's purpose if it has one (case sensitive, defaults to not displayed)
 
* '''occupation''': A short phrase about the enemy's purpose if it has one (case sensitive, defaults to not displayed)
 +
* '''requires''': The magic level required to defeat this enemy (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/requires|requires]] subpage)
 
* '''style''': The attack style of this enemy (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/style|style]] subpage)
 
* '''style''': The attack style of this enemy (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/style|style]] subpage)
 
* '''range''': The longest distance this enemy can attack from (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/range|range]] subpage)
 
* '''range''': The longest distance this enemy can attack from (case insensitive, defaults to "unknown", see the [[Template:{{PAGENAME}}/range|range]] subpage)
Line 30: Line 30:
 
  |gender=
 
  |gender=
 
  |size=
 
  |size=
|requires=
 
 
  |lba1=
 
  |lba1=
 
  |lba2=
 
  |lba2=
 
  |alignment=
 
  |alignment=
 
  |occupation=
 
  |occupation=
 +
|requires=
 
  |melee=
 
  |melee=
 
  |ranged=
 
  |ranged=
Line 54: Line 54:
 
  |gender=male
 
  |gender=male
 
  |size=average
 
  |size=average
|requires=green
 
 
  |lba1=
 
  |lba1=
 
  |lba2=yes
 
  |lba2=yes
 
  |alignment=emperor
 
  |alignment=emperor
 
  |occupation=Guard
 
  |occupation=Guard
 +
|requires=green
 
  |melee=yes
 
  |melee=yes
 
  |ranged=
 
  |ranged=
Line 88: Line 88:
 
  |data3=<includeonly>{{Infobox Enemy/size|{{{size|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/size|average|nocat=true}}</noinclude>
 
  |data3=<includeonly>{{Infobox Enemy/size|{{{size|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/size|average|nocat=true}}</noinclude>
  
  |label4=Requires
+
  |label4=Adventure
  |data4=<includeonly>{{Infobox Enemy/requires|{{{requires|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/requires|green|nocat=true}}</noinclude>
+
  |data4=<includeonly>{{Infobox Enemy/adventure|lba1={{{lba1|}}}|lba2={{{lba2|}}}|lba3={{{lba3|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/adventure|lba2=yes|nocat=true}}</noinclude>
  
  |label5=Adventure
+
  |header5=Enemy
  |data5=<includeonly>{{Infobox Enemy/adventure|lba1={{{lba1|}}}|lba2={{{lba2|}}}|lba3={{{lba3|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/adventure|lba2=yes|nocat=true}}</noinclude>
+
  |class5=subtitle
  
  |header6=Enemy
+
  |label6=Alignment
  |class6=subtitle
+
  |data6=<includeonly>{{Infobox Enemy/alignment|{{{alignment|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/alignment|emperor|nocat=true}}</noinclude>
  
  |label7=Alignment
+
  |label7=Occupation
  |data7=<includeonly>{{Infobox Enemy/alignment|{{{alignment|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/alignment|emperor|nocat=true}}</noinclude>
+
  |data7={{{occupation|<noinclude>Guard</noinclude>}}}
  
  |label8=Occupation
+
  |label8=Requires
  |data8={{{occupation|<noinclude>Guard</noinclude>}}}
+
  |data8=<includeonly>{{Infobox Enemy/requires|{{{requires|}}}|nocat={{{nocat|false}}}}}</includeonly><noinclude>{{{{PAGENAME}}/requires|green|nocat=true}}</noinclude>
  
 
  |header9=Combat
 
  |header9=Combat

Revision as of 19:04, 9 December 2012

This template is used as an infobox in enemies' articles. It should be the first of the article, before the general description.

  This article is a stub [list all]. You can help the Twinsuniverse by expanding it.

Parameters

  • image: An image filename of the enemy (case sensitive, defaults to empty portrait, see Template:Articleimage)
  • race: The race of the enemy; sup, franco, wannie etc. (case insensitive, defaults to "unknown", see the race subpage)
  • gender: Male or female (case insensitive, defaults to "unknown", see the gender subpage)
  • size: The length of the enemy; small, average, large (case insensitive, defaults to "unknown", see the size subpage)
  • lba#: Whether the enemy is encountered in the #(=1, 2 or 3) adventure (defaults to "no", see the adventure subpage)
  • alignment: Of which party this enemy is a follower (case insensitive, defaults to "unknown", see the alignment subpage)
  • occupation: A short phrase about the enemy's purpose if it has one (case sensitive, defaults to not displayed)
  • requires: The magic level required to defeat this enemy (case insensitive, defaults to "unknown", see the requires subpage)
  • style: The attack style of this enemy (case insensitive, defaults to "unknown", see the style subpage)
  • range: The longest distance this enemy can attack from (case insensitive, defaults to "unknown", see the range subpage)
  • speed: How fast this enemy moves (case insensitive, defaults to "unknown", see the speed subpage)
  • damage: How much damage an attack from this enemy causes (case insensitive, defaults to "unknown", see the damage subpage)
  • rate: How many seconds it takes for this enemy to repeat an attack (numeric, decimal, defaults to nothing displayed)
  • reaction: However this enemy responds to being hit (case sensitive, defaults to nothing displayed)
  • recovery: How many seconds it takes for this enemy to recover from being hit (numeric, decimal, defaults to nothing displayed)
  • nocat: Whether or not to suppress categorization under all the chosen categories (defaults to false, which means auto categorization).


Note: The article is automatically categorized under Category:Articles without an image if no filename was specified, or Category:Articles with a missing image if the specified filename doesn't exist. The nocat parameter will also suppress these.

Syntax

Copy and paste the following for quick use:

{{Infobox Enemy
 |image=
 |race=
 |gender=
 |size=
 |lba1=
 |lba2=
 |alignment=
 |occupation=
 |requires=
 |melee=
 |ranged=
 |magic=
 |explosive=
 |range=
 |speed=
 |damage=
 |rate=
 |reaction=
 |recovery=
}}

Example

On a page called "Franco Pike Guard":

{{Infobox Enemy
 |image=Franco Pike Guard.jpg
 |race=franco
 |gender=male
 |size=average
 |lba1=
 |lba2=yes
 |alignment=emperor
 |occupation=Guard
 |requires=green
 |melee=yes
 |ranged=
 |magic=
 |explosive=
 |range=none
 |speed=medium
 |damage=little
 |rate=Fast
 |reaction=Moves sideways
 |recovery=fast
}}
Franco Pike Guard
Enemy Portrait of Franco Pike Guard
Race

Franco [list all]

Gender

Male [list all]

Size

Average [list all]

Adventure

Twinsen's Odyssey [list all]

Enemy
Alignment

Emperor of Zeelich [list all]

Occupation

Guard

Requires

Magic Level Green [list all]

Combat
Style

Melee [list all]

Speed

Medium [list all]

Damage

Little [list all]

Rate

Fast

Reaction

Moves sideways

Recovery

Fast [list all]

example paragraph: Description text about the enemy, in this case Franco Pike Guard. Description text about the enemy, in this case Franco Pike Guard. Description text about the enemy, in this case Franco Pike Guard. Description text about the enemy, in this case Franco Pike Guard. Description text about the enemy, in this case Franco Pike Guard. Description text about the enemy, in this case Franco Pike Guard. Description text about the enemy, in this case Franco Pike Guard. Description text about the enemy, in this case Franco Pike Guard. Description text about the enemy, in this case Franco Pike Guard. Description text about the enemy, in this case Franco Pike Guard.