Template:MetaInfoBox: Difference between revisions

Jump to navigation Jump to search
1,148 bytes removed ,  10:27, 23 August 2014
m
Cut down some unnecessary code
mNo edit summary
m (Cut down some unnecessary code)
Line 1: Line 1:
__NOTOC__<table class="infobox" cellpadding="2" style="width: 22em;  font-size: 90%; float:right; border: 1px solid #AAAAAA;  margin-left:0.5em; position:relative;">
__NOTOC__<table class="infobox" cellpadding="2" style="width: 22em;  font-size: 90%; float:right; border: 1px solid #AAAAAA;  margin-left:0.5em; position:relative;">
<tr>
<tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2">
<td bgcolor="#{{{headerbgcolor|bbbbbb}}}" align="center" colspan="2">
<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''{{#ifeq:{{Data|{{PAGENAME}}|category|}}||Unknown Category|{{Data|{{PAGENAME}}|category|unknown category}}}}'''</font>
<font color="#{{{headerfontcolor|000000}}}">'''{{#ifeq:{{Data|{{PAGENAME}}|category|}}||Unknown Category|{{Data|{{PAGENAME}}|category|unknown category}}}}'''</font>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|imagebgcolor|}}||cccccc|{{Data|{{PAGENAME}}|imagebgcolor|cccccc}}}}" align="center" colspan="2">
<td bgcolor="#{{{imagebgcolor|cccccc}}}" align="center" colspan="2">
{{databar|Data:{{PAGENAME}}|style=position:absolute;top:0;right:0;margin:10px;|mini=1|brackets=1}}{{#ifexist:Data:{{PAGENAME}}|{{#ifeq:{{Data|{{PAGENAME}}|img|}}|false||[[File:{{Data|{{PAGENAME}}|img|Empty.png}}]]}}<br />'''{{Data|{{PAGENAME}}|name|Unknown name}}'''|No Data}}
{{databar|Data:{{PAGENAME}}|style=position:absolute;top:0;right:0;margin:10px;|mini=1|brackets=1}}{{#ifexist:Data:{{PAGENAME}}|{{#ifeq:{{Data|{{PAGENAME}}|img|}}|false||[[File:{{Data|{{PAGENAME}}|img|Empty.png}}]]}}<br />'''{{Data|{{PAGENAME}}|name|Unknown name}}'''|No Data}}
</td>
</td>
</tr>{{#ifexist:Data:{{PAGENAME}}|{{#if:{{Data|{{PAGENAME}}|category|}}|{{MetaInfobox/{{Data|{{PAGENAME}}|category|}}}}}}}}{{#if:{{Data|{{PAGENAME}}|brute|}}|
</tr>{{#ifexist:Data:{{PAGENAME}}|{{#if:{{Data|{{PAGENAME}}|category|}}|{{MetaInfobox/{{Data|{{PAGENAME}}|category|}}}}}}}}{{#if:{{Data|{{PAGENAME}}|brute|}}|
<tr>
<tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center">
<td bgcolor="#{{{headerbgcolor|bbbbbb}}}}" align="center">
<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Brute damage'''</font>
<font color="#{{{headerfontcolor|000000}}}">'''Brute damage'''</font>
</td>
</td>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|imagebgcolor|}}||cccccc|{{Data|{{PAGENAME}}|imagebgcolor|cccccc}}}}" align="left" width="55%">
<td align="left" width="55%">
{{Data|{{PAGENAME}}|brute|None}}
{{Data|{{PAGENAME}}|brute|None}}
</td>
</td>
</tr>|}}{{#if:{{Data|{{PAGENAME}}|burn|}}|
</tr>|}}{{#if:{{Data|{{PAGENAME}}|burn|}}|
<tr>
<tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center">
<td bgcolor="#{{{headerbgcolor|bbbbbb}}}" align="center">
<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Burn damage'''</font>
<font color="#{{{headerfontcolor|000000}}}">'''Burn damage'''</font>
</td>
</td>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|imagebgcolor|}}||cccccc|{{Data|{{PAGENAME}}|imagebgcolor|cccccc}}}}" align="left" width="55%">
<td align="left" width="55%">
{{Data|{{PAGENAME}}|burn|No}}
{{Data|{{PAGENAME}}|burn|No}}
</td>
</td>
</tr>|}}
</tr>|}}
<tr>
<tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2">
<td bgcolor="{{{headerbgcolor|bbbbbb}}}" align="center" colspan="2">
<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Found in'''</font>
<font color="#{{{headerfontcolor|000000}}}">'''Found in'''</font>
</td>
</td>
</tr>
</tr>
Line 37: Line 37:
</tr>
</tr>
<tr>
<tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2">
<td bgcolor="#{{{headerbgcolor|bbbbbb}}}" align="center" colspan="2">
<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Used for'''</font>
<font color="#{{{headerfontcolor|000000}}}">'''Used for'''</font>
</td>
</td>
</tr>
</tr>
Line 47: Line 47:
</tr>
</tr>
<tr>
<tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2">
<td bgcolor="#{{{headerbgcolor|bbbbbb}}}" align="center" colspan="2">
<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Examine'''</font>
<font color="#{{{headerfontcolor|000000}}}">'''Examine'''</font>
</td>
</td>
</tr>
</tr>
Anonymous user

Navigation menu