Difference between revisions of "Template:Combat"

From Twilight Heroes Wiki
Jump to: navigation, search
(Copied over Template:Enemy. Redundant templates and this one's named better.)
m (having a red link seems inelegant; I wonder if this will work...)
Line 45: Line 45:
  
  
If an enemy has a character in its name that the wiki can't parse, use this solution:<br>
+
If an enemy has a character in its name that the wiki can't parse, use a page name + anchor solution:<br>
  
<pre>'''[[big and tall shoreman|big & tall shoreman]]'''
+
<pre>
 
{{combat
 
{{combat
|name=&amp;nbsp;
+
|name=big and tall shoreman|big & tall shoreman
 
|image=longshoreman.jpg
 
|image=longshoreman.jpg
 
|items=[[big left hook]], [[docker's pants]]
 
|items=[[big left hook]], [[docker's pants]]
Line 57: Line 57:
 
|HP=}}</pre>
 
|HP=}}</pre>
  
''Results in...''<br>
+
{{combat|name=big and tall shoreman|big & tall shoreman|image=longshoreman.jpg|items=[[big left hook]], [[docker's pants]]|chips=54-87|EL=|exp=70|HP=}}
'''[[big and tall shoreman|big & tall shoreman]]'''
 
{{combat|name=&nbsp;|image=longshoreman.jpg|items=[[big left hook]], [[docker's pants]]|chips=54-87|EL=|exp=70|HP=}}
 
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 16:03, 13 March 2008


Usage

{{combat
|name=
|image=
|items=
|chips=
|EL=
|exp=
|HP=}}

Examples

{{combat
|name=thug
|image=thug.jpg
|items=[[baseball bat]], [[hammer]]
|chips=4-11
|EL=
|exp=5
|HP=5}}

Results in...

thug
Thug.jpg

Item Drops: baseball bat, hammer

Chip Drops: 4-11

Experience Gained: 5

Health: 5




If an enemy has a character in its name that the wiki can't parse, use a page name + anchor solution:

{{combat
|name=big and tall shoreman|big & tall shoreman
|image=longshoreman.jpg
|items=[[big left hook]], [[docker's pants]]
|chips=54-87
|EL=
|exp=70
|HP=}}
big and tall shoreman
Longshoreman.jpg

Item Drops: big left hook, docker's pants

Chip Drops: 54-87

Experience Gained: 70