Template:MetaInfoBox: Difference between revisions

120 bytes added ,  10:02, 23 August 2014
m
no edit summary
No edit summary
mNo edit summary
Line 4: Line 4:
<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="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''{{#ifeq:{{Data|{{PAGENAME}}|category|}}||Unknown Category|{{Data|{{PAGENAME}}|category|unknown category}}}}'''</font>
</td>
</td>
</tr>
</tr>{{#ifexist:Data:{{PAGENAME}}|{{#if:{{Data|{{PAGENAME}}|category|}}|{{MetaInfobox/{{Data|{{PAGENAME}}|category|}}}}}}}}
<tr>
}} <tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|imagebgcolor|}}||cccccc|{{Data|{{PAGENAME}}|imagebgcolor|cccccc}}}}" align="center" colspan="2">
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|imagebgcolor|}}||cccccc|{{Data|{{PAGENAME}}|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}}
Anonymous user