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}...)
 
m (oops)
 
(14 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
!align="left" colspan="2" |[[{{{name}}}]]
 
!align="left" colspan="2" |[[{{{name}}}]]
 
|-
 
|-
||<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}]]</td></table>
+
|<table cellpadding="3"><td style="background-color: black;">[[image:{{{image}}}|200px|link={{{name}}}]]</td></table>
 
|
 
|
*'''Item Drops''': {{{items}}}
+
{{#if:{{{items|}}}|'''Item Drops:''' {{{items}}}}}
*'''Chip Drops''': {{{chips}}}
 
*'''Level''': {{{level}}}
 
*'''Experience''': {{{exp}}}
 
*'''HP''': {{{hp}}}
 
|}</includeonly>
 
  
<noinclude>
+
{{#if:{{{chips|}}}|'''Chip Drops:''' {{{chips}}}}}
=Template=
 
'''<nowiki>{{combat</nowiki><br><nowiki>
 
|name=</nowiki><br><nowiki>
 
|image=</nowiki><br><nowiki>
 
|items=</nowiki><br><nowiki>
 
|chips=</nowiki><br><nowiki>
 
|level=</nowiki><br><nowiki>
 
|exp=</nowiki><br><nowiki>
 
|hp=}}</nowiki>'''
 
=Usage=
 
'''Adding...'''
 
  
<nowiki>
+
{{#if:{{{exp|}}}|'''Experience Gained:''' {{{exp}}}}}
{{combat</nowiki><br><nowiki>
 
|name=astral shredder</nowiki><br><nowiki>
 
|image=shredder.jpg</nowiki><br><nowiki>
 
|items=[[astral spline]], [[cosmic crystals]]</nowiki><br><nowiki>
 
|chips=0</nowiki><br><nowiki>
 
|level=unknown</nowiki><br><nowiki>
 
|exp=98</nowiki><br><nowiki>
 
|hp=unknown}}</nowiki>
 
  
'''Results in...'''
+
{{#if:{{{HP|}}}|'''Health:''' {{{HP}}}}}
{|
+
 
!align="left" colspan="2" |[[astral shredder]]
+
 
|-
+
{{#if:{{{notes|}}}|'''Notes:''' {{{notes}}}}}
|||<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
 
 
|}
 
|}
 +
<br clear="all"></includeonly><noinclude>
 +
==Usage==
 +
<pre>{{combat
 +
|name=
 +
|image=
 +
|items=
 +
|chips=
 +
|exp=
 +
|HP=
 +
|notes=}}</pre>
 +
 +
==Examples==
 +
<pre>{{combat
 +
|name=thug
 +
|image=thug.jpg
 +
|items=[[baseball bat]], [[hammer]]
 +
|chips=4-11
 +
|exp=5
 +
|HP=5}}</pre>
  
 +
''Results in...''<br>
 +
{{combat|name=thug|image=thug.jpg|items=[[baseball bat]], [[hammer]]|chips=4-11|exp=5|HP=5}}
 
[[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