Template:MetaInfoBox: Difference between revisions
m
Testing out some new stuff
m (adding more font colours and double sizing the image) |
m (Testing out some new stuff) |
||
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: {{{width|22em}}}; font-size: 90%; float:right; border: 1px solid #AAAAAA; margin-left:0.5em; position:relative;"> | ||
<tr> | <tr> | ||
<td bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan="2"> | <td bgcolor="{{{headerbgcolor|#bbbbbb}}}" align="center" colspan="2"> | ||
Line 7: | Line 7: | ||
<tr> | <tr> | ||
<td bgcolor="{{{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;color:{{{headerfontcolor|#000000}}};|mini=1|brackets=1}}{{#ifexist:Data:{{PAGENAME}}|{{#ifeq:{{Data|{{PAGENAME}}|img|}}|false||[[File:{{Data|{{PAGENAME}}|img|Empty.png}}|64px]]}}<br />'''{{Data|{{PAGENAME}}|name|Unknown name}}'''|No Data}} | {{databar|Data:{{PAGENAME}}|style=position:absolute;top:0;right:0;margin:10px;color:{{{headerfontcolor|#000000}}};|mini=1|brackets=1}}{{#ifexist:Data:{{PAGENAME}}|{{#ifeq:{{Data|{{PAGENAME}}|img|}}|false||[[File:{{Data|{{PAGENAME}}|img|Empty.png}}|{{{imgsize|64px}}}]]}}<br />'''{{Data|{{PAGENAME}}|name|Unknown name}}'''|No Data}} | ||
</td> | </td> | ||
</tr>{{#ifexist:Data:{{PAGENAME}}|{{#if:{{Data|{{PAGENAME}}|category|}}|{{MetaInfobox/{{Data|{{PAGENAME}}|category|}}|headerbgcolor={{{headerbgcolor|#bbbbbb}}}|headerfontcolor={{{headerfontcolor|#000000}}}}}}}}} | </tr>{{#ifexist:Data:{{PAGENAME}}|{{#if:{{Data|{{PAGENAME}}|category|}}|{{MetaInfobox/{{Data|{{PAGENAME}}|category|}}|headerbgcolor={{{headerbgcolor|#bbbbbb}}}|headerfontcolor={{{headerfontcolor|#000000}}}}}}}}} |