Template:MetaInfoBox: Difference between revisions
Jump to navigation
Jump to search
m
adding more font colours and double sizing the image
mNo edit summary |
m (adding more font colours and double sizing the image) |
||
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;|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;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}} | ||
</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}}}}}}}}} |