Difference between revisions of "Template:Combat"

From Twilight Heroes Wiki
Jump to: navigation, search
m
m (oops)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>'''{{#if:{{{name2|}}}|[[{{{name}}}{{!}}{{{name2}}}]]|[[{{{name}}}]]}}'''<br>
+
<includeonly>{|
[[Image:{{{image}}}|left]]
+
!align="left" colspan="2" |[[{{{name}}}]]
'''Item Drops:''' {{{items}}}
+
|-
+
|<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}|200px|link={{{name}}}]]</td></table>
 +
|
 +
{{#if:{{{items|}}}|'''Item Drops:''' {{{items}}}}}
  
'''Chip Drops:''' {{{chips}}}
+
{{#if:{{{chips|}}}|'''Chip Drops:''' {{{chips}}}}}
  
 +
{{#if:{{{exp|}}}|'''Experience Gained:''' {{{exp}}}}}
  
'''Encounter Level:''' {{{EL}}}
+
{{#if:{{{HP|}}}|'''Health:''' {{{HP}}}}}
  
  
'''Damage:''' {{{DMG}}}
+
{{#if:{{{notes|}}}|'''Notes:''' {{{notes}}}}}
 
+
|}
 
+
<br clear="all"></includeonly><noinclude>
'''Experience Gained:''' {{{exp}}}
 
 
 
 
 
'''Health:''' {{{HP}}}
 
<br clear="all"></includeonly>
 
 
 
<noinclude>
 
 
==Usage==
 
==Usage==
 
<pre>{{combat
 
<pre>{{combat
 
|name=
 
|name=
|name2=
 
 
|image=
 
|image=
 
|items=
 
|items=
 
|chips=
 
|chips=
|EL=
 
|DMG=
 
 
|exp=
 
|exp=
|HP=}}</pre>
+
|HP=
 +
|notes=}}</pre>
  
 
==Examples==
 
==Examples==
Line 38: Line 32:
 
|items=[[baseball bat]], [[hammer]]
 
|items=[[baseball bat]], [[hammer]]
 
|chips=4-11
 
|chips=4-11
|EL=
 
|DMG=
 
 
|exp=5
 
|exp=5
 
|HP=5}}</pre>
 
|HP=5}}</pre>
  
 
''Results in...''<br>
 
''Results in...''<br>
{{combat|name=thug|image=thug.jpg|items=[[baseball bat]], [[hammer]]|chips=4-11|EL=|DMG=|exp=5|HP=5}}
+
{{combat|name=thug|image=thug.jpg|items=[[baseball bat]], [[hammer]]|chips=4-11|exp=5|HP=5}}
 
+
[[Category:Standardization Templates|{{PAGENAME}}]] </noinclude>
 
 
If an enemy has a character in its name that the wiki can't parse, use name= to list the page name, and the name2= parameter to give the display name.
 
<pre>{{combat
 
|name=big and tall shoreman
 
|name2=big & tall shoreman
 
|image=longshoreman.jpg
 
|items=[[big left hook]], [[docker's pants]]
 
|chips=54-87
 
|EL=
 
|DMG=
 
|exp=70
 
|HP=}}</pre>
 
 
 
''Results in...''<br>
 
{{combat|name=big and tall shoreman|name2=big & tall shoreman|image=longshoreman.jpg|items=[[big left hook]], [[docker's pants]]|chips=54-87|EL=|DMG=|exp=70|HP=}}
 
 
 
[[Category:Templates]]</noinclude>
 

Latest revision as of 19:40, 18 July 2011

Usage

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

Examples

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

Results in...

thug
Thug.jpg

Item Drops: baseball bat, hammer

Chip Drops: 4-11

Experience Gained: 5

Health: 5