Difference between revisions of "Template:BattleInfo"

From NeoDex
Jump to: navigation, search
(TIME TO BREAK EVERYTHING! I recoded this template, 'cause the old one was getting crazy. This one has cleaner code, and looks better too! However, it will take me awhile to revise all the articles that use this template. I'll get it done. :))
m
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|style="width: 675px; margin: 0 auto; {{border-radius|15px}}; border: 5px solid #{{#switch: {{{Arena}}}|Central Arena= EADF32|Pango Palladium= 9AD69A|Frost Arena= B2E3FA|Neocola Centre= D47676|Dome of the Deep= 7BBAD5|Ugga Dome= CEBB7F|Rattling Cauldron= 8EA6B5 |Cosmic Dome= #B193D1 |#default= FFD200}}; background-color: #{{#switch: {{{Arena}}}|Central Arena= EADF32|Pango Palladium= 9AD69A|Frost Arena= B2E3FA|Neocola Centre= D47676|Dome of the Deep= 7BBAD5|Ugga Dome= CEBB7F|Rattling Cauldron= 8EA6B5 |Cosmic Dome= #B193D1 |#default= FFD200}};"
+
{| style="width:515px;margin:0 auto;"
|style="text-align:center;"|'''<big>{{{Name}}}</big>'''
+
|
 +
{| style="width: 100%; {{border-radius|15px}}; box-shadow:2px 2px 2px #888898; border: 0; background-color: #{{#switch: {{{Arena}}}|Central Arena= FFD200|Pango Palladium= 9AD69A|Frost Arena= B2E3FA|Neocola Centre= d44040|Dome of the Deep= 7BBAD5|Ugga Dome= CEBB7F|Rattling Cauldron= 5a92b5|Cosmic Dome= B193D1 |#default= FFD200}};padding:5px;"
 
|-
 
|-
||
+
!rowspan="2" style="vertical-align:center;width:95px;"|
{|style="width: 665px; background-color: white; margin: 0 auto;"
+
{| style="border: 5px solid white; border-radius: 20px; overflow:hidden; text-align:center;margin: 0 auto;" cellpadding="0" cellspacing="0"
 
|-
 
|-
|{{#if: {{{Description|}}} | style="text-align:center; font-style:italic;" colspan="5"| style="display: none;" }}|{{{Description}}}
+
|{{{Image}}}
 +
|}
 +
!<big>{{{Name}}}</big>
 +
!style="width:95px;"|
 
|-
 
|-
|style="text-align:center; width:120px; padding:0;" rowspan="8"|{{{Image}}}
+
|colspan="2"|
 +
{| style="text-align:center;margin:0 auto;width:100%;"
 
|-
 
|-
||'''Difficulty:'''
+
|'''Difficulty:'''
||{{{Difficulty}}}
+
|{{{Difficulty}}}
||'''Arena:'''
+
|'''Starting HP:'''
||{{{Arena}}}
+
|{{{StartingHP}}}
 
|-
 
|-
||'''Starting HP:'''
+
|'''Arena:'''
||{{{StartingHP}}}
+
|{{{Arena}}}
||'''Released:'''
+
|'''Released:'''
||{{{ReleaseDate}}}
+
|{{{ReleaseDate}}}
 
|-
 
|-
 
||'''Status:'''  
 
||'''Status:'''  
||{{#switch: {{{Status|}}}
+
||{{#switch: {{{Status}}}
| Retired = <font color="red"><b>Retired</b></font>
+
| Retired = <span style="color:#ff7777;font-weight:bold;">Retired</span>
| Active = <font color="green"><b>Active</b></font>
+
| Active = <span style="color:#77cc7a;font-weight:bold;">Active</span>
| #default = <font color="green">Please add status</font>}}
+
| #default = {{{Status|Unknown}}}}}
||'''Challenger ID:'''
+
|'''Challenger ID:'''
||{{{ID}}}
+
|{{{ID}}}
 
|-
 
|-
|style="text-align:center;" colspan="4"|'''Found by:'''  
+
|colspan="4"|'''Found by:''' {{{FoundBy}}}
 +
|}
 +
|}
 
|-
 
|-
|style="text-align:center;" colspan="4"|{{{FoundBy}}}
+
{|{{#if: {{{Description}}}| style="text-align:center; font-style:"| style="display: none;" }}|{{{Description}}}
 
|}
 
|}

Latest revision as of 14:41, 4 June 2017

{{{Image}}}
{{{Name}}}
Difficulty: {{{Difficulty}}} Starting HP: {{{StartingHP}}}
Arena: {{{Arena}}} Released: {{{ReleaseDate}}}
Status: Unknown Challenger ID: {{{ID}}}
Found by: {{{FoundBy}}}