Difference between revisions of "Template:Combat"

From Twilight Heroes Wiki
Jump to: navigation, search
(looks)
m (oops)
 
(3 intermediate revisions by 2 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}}}}}
  
'''Encounter Level:''' {{{EL}}}
+
{{#if:{{{exp|}}}|'''Experience Gained:''' {{{exp}}}}}
  
'''Experience Gained:''' {{{exp}}}
+
{{#if:{{{HP|}}}|'''Health:''' {{{HP}}}}}
 
 
'''Health:''' {{{HP}}}
 
  
  
 
{{#if:{{{notes|}}}|'''Notes:''' {{{notes}}}}}
 
{{#if:{{{notes|}}}|'''Notes:''' {{{notes}}}}}
<br clear="all"></includeonly>
+
|}
 
+
<br clear="all"></includeonly><noinclude>
<noinclude>
 
 
==Usage==
 
==Usage==
 
<pre>{{combat
 
<pre>{{combat
 
|name=
 
|name=
|name2=
 
 
|image=
 
|image=
 
|items=
 
|items=
 
|chips=
 
|chips=
|EL=
 
|DMG=
 
 
|exp=
 
|exp=
 
|HP=
 
|HP=
Line 35: 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}}
 
 
 
 
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:Standardization Templates|{{PAGENAME}}]] </noinclude>
 
[[Category:Standardization Templates|{{PAGENAME}}]] </noinclude>

Latest revision as of 18: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