Difference between revisions of "Template:Infobox/Enemy"

From Drawn to Life Wiki
(InfoboxGeneric)
(added classes)
 
Line 1: Line 1:
 
{|class="InfoboxGeneric" style="border:solid 3px {{{boxcolor|#A40000}}}; border-radius: 5px; background-color: rgba(255, 255, 255, 0.7); float:right; margin-left:10px; width: 35%; max-width: 40em; box-shadow: #0000003b 0 0px 7px;"
 
{|class="InfoboxGeneric" style="border:solid 3px {{{boxcolor|#A40000}}}; border-radius: 5px; background-color: rgba(255, 255, 255, 0.7); float:right; margin-left:10px; width: 35%; max-width: 40em; box-shadow: #0000003b 0 0px 7px;"
 
|-
 
|-
|colspan="2" style="text-align:center; color: white; background: {{{boxcolor|#A40000}}}; border-radius: 5px; font-family: ARCO; border-bottom: 4px solid rgb(0 0 0 / 43%); text-shadow: 1px 0 0 #00000085,0 -1px 0 #00000085,0 1px 0 #00000085,-1px 0 0 #00000085;"|<big>'''{{{name|{{PAGENAME}}}}}'''</big>
+
|colspan="2" class="InfoboxGeneric-Header" style="text-align:center; color: white; background: {{{boxcolor|#A40000}}}; border-radius: 5px; font-family: ARCO; border-bottom: 4px solid rgb(0 0 0 / 43%); text-shadow: 1px 0 0 #00000085,0 -1px 0 #00000085,0 1px 0 #00000085,-1px 0 0 #00000085;"|<big>'''{{{name|{{PAGENAME}}}}}'''</big>
 
|-
 
|-
 
| colspan="2" style="text-align:center"|<div style="width:99%; overflow: hidden; text-align: center; margin: 0 auto;">{{{image|[[File:ComingSoon.png]]}}}</div>{{#if:{{{caption|}}}|<br />''{{{caption| }}}''}}
 
| colspan="2" style="text-align:center"|<div style="width:99%; overflow: hidden; text-align: center; margin: 0 auto;">{{{image|[[File:ComingSoon.png]]}}}</div>{{#if:{{{caption|}}}|<br />''{{{caption| }}}''}}
 
|-
 
|-
! colspan="2" style="background-color:{{{boxcolor|#A40000}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Information'''
+
! colspan="2" class="InfoboxGeneric-Header" style="background-color:{{{boxcolor|#A40000}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Information'''
 
|-
 
|-
 
|width="44%"|'''Species'''
 
|width="44%"|'''Species'''
 
|{{{species|N/A}}}
 
|{{{species|N/A}}}
 
|-
 
|-
! colspan="2" style="background-color:#DBDBDB;" |  
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |  
 
|-
 
|-
 
|width="44%"|'''Variant'''
 
|width="44%"|'''Variant'''
 
|{{{variant|N/A}}}
 
|{{{variant|N/A}}}
 
|-
 
|-
! colspan="2" style="background-color:#DBDBDB;" |  
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |  
 
|-
 
|-
 
|width="44%"|'''Health'''
 
|width="44%"|'''Health'''
 
|{{{health|N/A}}}
 
|{{{health|N/A}}}
 
|-
 
|-
! colspan="2" style="background-color:#DBDBDB;" |  
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |  
 
|-
 
|-
 
|width="44%"|'''Attack Type'''
 
|width="44%"|'''Attack Type'''
 
|{{{attack|N/A}}}
 
|{{{attack|N/A}}}
 
|-
 
|-
! colspan="2" style="background-color:#DBDBDB;" |  
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |  
 
|-
 
|-
 
|width="44%"|'''Item Drops'''
 
|width="44%"|'''Item Drops'''
 
|{{{drops|N/A}}}
 
|{{{drops|N/A}}}
 
|-
 
|-
! colspan="2" style="background-color:#DBDBDB;" |  
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |  
 
|-
 
|-
 
|width="44%"|'''Games'''
 
|width="44%"|'''Games'''

Latest revision as of 20:15, 29 November 2022

Infobox/Enemy
ComingSoon.png
Information
Species N/A
Variant N/A
Health N/A
Attack Type N/A
Item Drops N/A
Games N/A


Use this template on the pages of characters

To input this template on a page, input the following coding on the top of the page.

{{Infobox/Enemy
|name=
|species=
|image=
|variant=
|health=
|attack=
|drops=
|games=
}}

As an example, this code:

{{Infobox/Enemy
|name=Pengoon
|image=[[File:Penguin.gif|center]]
|caption=An idle Pengoon
|species=Pengoon
|variant=Normal
|health=2
|attack=Sliding
|drops=Silver Coin
|games=[[Drawn to Life]]
}}

Will render as:

Pengoon
Penguin.gif

An idle Pengoon
Information
Species Pengoon
Variant Normal
Health 2
Attack Type Sliding
Item Drops Silver Coin
Games Drawn to Life