Difference between revisions of "Template:Combat"

From Twilight Heroes Wiki
Jump to: navigation, search
(New page: <includeonly>{| !align="left" colspan="2" |[[{{{name}}}]] |- ||<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}]]</td></table> | *'''Item Drops''': {{{items}...)
 
(Copied over Template:Enemy. Redundant templates and this one's named better.)
Line 1: Line 1:
<includeonly>{|
+
<includeonly>'''[[{{{name}}}]]'''<br>
!align="left" colspan="2" |[[{{{name}}}]]
+
[[Image:{{{image}}}|left]]
|-
+
'''Item Drops:''' {{{items}}}
||<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}]]</td></table>
+
|
+
 
*'''Item Drops''': {{{items}}}
+
 
*'''Chip Drops''': {{{chips}}}
+
'''Chip Drops:''' {{{chips}}}
*'''Level''': {{{level}}}
+
 
*'''Experience''': {{{exp}}}
+
 
*'''HP''': {{{hp}}}
+
 
|}</includeonly>
+
'''Encounter Level:''' {{{EL}}}
 +
 
 +
 
 +
 
 +
'''Experience Gained:''' {{{exp}}}
 +
 
 +
 
 +
 
 +
'''Health:''' {{{HP}}}
 +
<br clear="all"></includeonly>
  
 
<noinclude>
 
<noinclude>
=Template=
+
==Usage==
'''<nowiki>{{combat</nowiki><br><nowiki>
+
<pre>{{combat
|name=</nowiki><br><nowiki>
+
|name=
|image=</nowiki><br><nowiki>
+
|image=
|items=</nowiki><br><nowiki>
+
|items=
|chips=</nowiki><br><nowiki>
+
|chips=
|level=</nowiki><br><nowiki>
+
|EL=
|exp=</nowiki><br><nowiki>
+
|exp=
|hp=}}</nowiki>'''
+
|HP=}}</pre>
=Usage=
+
 
'''Adding...'''
+
==Examples==
 +
<pre>{{combat
 +
|name=thug
 +
|image=thug.jpg
 +
|items=[[baseball bat]], [[hammer]]
 +
|chips=4-11
 +
|EL=
 +
|exp=5
 +
|HP=5}}</pre>
 +
 
 +
''Results in...''<br>
 +
{{combat|name=thug|image=thug.jpg|items=[[baseball bat]], [[hammer]]|chips=4-11|EL=|exp=5|HP=5}}
 +
 
 +
 
 +
If an enemy has a character in its name that the wiki can't parse, use this solution:<br>
  
<nowiki>
+
<pre>'''[[big and tall shoreman|big & tall shoreman]]'''
{{combat</nowiki><br><nowiki>
+
{{combat
|name=astral shredder</nowiki><br><nowiki>
+
|name=&amp;nbsp;
|image=shredder.jpg</nowiki><br><nowiki>
+
|image=longshoreman.jpg
|items=[[astral spline]], [[cosmic crystals]]</nowiki><br><nowiki>
+
|items=[[big left hook]], [[docker's pants]]
|chips=0</nowiki><br><nowiki>
+
|chips=54-87
|level=unknown</nowiki><br><nowiki>
+
|EL=
|exp=98</nowiki><br><nowiki>
+
|exp=70
|hp=unknown}}</nowiki>
+
|HP=}}</pre>
  
'''Results in...'''
+
''Results in...''<br>
{|
+
'''[[big and tall shoreman|big & tall shoreman]]'''
!align="left" colspan="2" |[[astral shredder]]
+
{{combat|name=&nbsp;|image=longshoreman.jpg|items=[[big left hook]], [[docker's pants]]|chips=54-87|EL=|exp=70|HP=}}
|-
 
|||<table cellpadding="3"><td style="background-color: black;">[[image:shredder.jpg]]</td></table>
 
|
 
*'''Item Drops''': [[astral spline]], [[cosmic crystals]]
 
*'''Chip Drops''': 0
 
*'''Level''': unknown
 
*'''Experience''': 98
 
*'''HP''': unknown
 
|}
 
  
[[Category:Standardization Templates|{{PAGENAME}}]] </noinclude>
+
[[Category:Templates]]</noinclude>

Revision as of 14:48, 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 this solution:

'''[[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=}}

Results in...
big & tall shoreman

[[ ]]
link= 

Item Drops: big left hook, docker's pants

Chip Drops: 54-87

Experience Gained: 70