Template:MetaInfoBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{|class="wikitable" style="width: 250px; float:right;" | {|class="wikitable" style="width: 250px; float:right;" | ||
|bgcolor="{{Data|{{PAGENAME}}|headerbgcolor| | |bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2"|{{databar|Data:{{PAGENAME}}|mini=1|brackets=1}}<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''{{#ifeq:{{Data|{{PAGENAME}}|category|}}||Unknown Category|{{Data|{{PAGENAME}}|category|unknown category}}}}''' | ||
|- | |- | ||
|bgcolor="{{Data|{{PAGENAME}}|imagebgcolor| | |bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|imagebgcolor|}}||cccccc|{{Data|{{PAGENAME}}|imagebgcolor|cccccc}}}}" align="center" colspan="2"|{{#ifexist:Data:{{PAGENAME}}|{{#ifeq:{{Data|{{PAGENAME}}|img|}}|false||[[File:{{Data|{{PAGENAME}}|img|Empty.png}}|top]]}}<br />'''{{Data|{{PAGENAME}}|name|Unknown name}}'''|No Data}} | ||
|- | |- | ||
|bgcolor="{{Data|{{PAGENAME}}|headerbgcolor| | |bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2"|<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Found in''' | ||
|- | |- | ||
|align="center" colspan="2"|{{Data|{{PAGENAME}}|found| | |align="center" colspan="2"|{{#ifeq:{{Data|{{PAGENAME}}|found|}}||unknown location|{{Data|{{PAGENAME}}|found|unknown location}}}} | ||
|- | |- | ||
|bgcolor="{{Data|{{PAGENAME}}|headerbgcolor| | |bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2"|<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Used for''' | ||
|- | |- | ||
|align="center" colspan="2"|{{Data|{{PAGENAME}}|used| | |align="center" colspan="2"|{{#ifeq:{{Data|{{PAGENAME}}|used|}}||unknown purpose|{{Data|{{PAGENAME}}|used|unknown purpose}}}} | ||
|- | |- | ||
|bgcolor="{{Data|{{PAGENAME}}|headerbgcolor| | |bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2"|<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Examine''' | ||
|- | |- | ||
|align="center" colspan="2"|{{Data|{{PAGENAME}}|examine| | |align="center" colspan="2"|{{#ifeq:{{Data|{{PAGENAME}}|examine|}}||''unknown examine text''|''{{Data|{{PAGENAME}}|examine|unknown examine text}}''}} | ||
|- | |- | ||
|bgcolor="{{Data|{{PAGENAME}}|headerbgcolor| | |bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2"|<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Brute damage''' | ||
|- | |- | ||
|align="center" colspan="2"|{{Data|{{PAGENAME}}|brute|Unknown brute damage}} | |align="center" colspan="2"|{{Data|{{PAGENAME}}|brute|Unknown brute damage}} | ||
|- | |- | ||
|bgcolor="{{Data|{{PAGENAME}}|headerbgcolor| | |bgcolor="#{{#ifeq:{{Data|{{PAGENAME}}|headerbgcolor|}}||bbbbbb|{{Data|{{PAGENAME}}|headerbgcolor|bbbbbb}}}}" align="center" colspan="2"|<font color="#{{#ifeq:{{Data|{{PAGENAME}}|headerfontcolor|}}||000000|{{Data|{{PAGENAME}}|headerfontcolor|000000}}}}">'''Burn damage''' | ||
|- | |- | ||
|align="center" colspan="2"|{{Data|{{PAGENAME}}|burn|Unknown burn damage}} | |align="center" colspan="2"|{{Data|{{PAGENAME}}|burn|Unknown burn damage}} |
Revision as of 09:28, 21 August 2014
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.