Difference between revisions of "Template:Databox"

From Grid Sage Wiki
Jump to navigation Jump to search
(example)
(width: 20em)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
  
<div style="float:right; background: black; color: green; padding: 1em; min-width: 25em;">
+
<div style="float:right; background: black; color: green; padding: 1em; width: 20em;">
 
<div style="padding: 1em 2em; border: 2px solid green;">
 
<div style="padding: 1em 2em; border: 2px solid green;">
 
<div style="text-align: center; margin-top: -1.8em;"><div style="display:inline-block; background: black;">/ {{{header|Data}}} /</div></div>
 
<div style="text-align: center; margin-top: -1.8em;"><div style="display:inline-block; background: black;">/ {{{header|Data}}} /</div></div>

Revision as of 05:37, 3 June 2015


Utility template for making Cogmind-style data boxes.

Usage

{{Databox|content=
  {{Dataheader|Overview}}
  {{Datum|Rating|6}}
}}

Example

/ Data /
Overview
Rating
6
X