Template:MetaInfoBox: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
mNo 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>{{#ifexist:Data:{{PAGENAME}}|{{#if:{{Data|{{PAGENAME}}|category|}}|{{MetaInfobox/{{Data|{{PAGENAME}}|category|}}}}}}}}
</tr>
}} <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}}
</td>
</td>
</tr>{{#if:{{Data|{{PAGENAME}}|wearable|}}|
</tr>{{#ifexist:Data:{{PAGENAME}}|{{#if:{{Data|{{PAGENAME}}|category|}}|{{MetaInfobox/{{Data|{{PAGENAME}}|category|}}}}}}}}{{#if:{{Data|{{PAGENAME}}|brute|}}|
<tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center">
<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Wearable?'''</font>
</td>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|imagebgcolor|}}||cccccc|{{Data|{{PAGENAME}}|imagebgcolor|cccccc}}}}" align="left" width="55%">
{{Data|{{PAGENAME}}|wearable|No}}
</td>
</tr>|}}{{#if:{{Data|{{PAGENAME}}|brute|}}|
<tr>
<tr>
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center">
<td bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center">

Revision as of 10:07, 23 August 2014

Clothing and Accessories

[v·e]Jensenshades.png
Jensen Shades

Wearable?

Eyes

Found in

On JC Denton's eyes.

Used for

Augmenting your vision to see baddies better.

Examine

A set of implantable lenses designed to augment your vision.

Found in

On JC Denton's eyes.

Used for

Augmenting your vision to see baddies better.

Examine

A set of implantable lenses designed to augment your vision.

This is to be used on pages dedicated to one item only. Excuse the amount of information on the template, it's all temporary and will be refined!!

Meaning of parameters

headerbgcolor is the background color of the titles.
headerfontcolor is the font color of the same part as headerbgcolor
imagebgcolor is the background color of the space behind the image and the item name. this should be a light color as the name is always black.
img is the sprite image, without the "File:" or "Image:" prefix. Eg. "Assistant.png"
found, examine, burn, brute, used and category, etc etc are self-explanatory.