Difference between revisions of "Template:Databox"

From Grid Sage Wiki
Jump to navigation Jump to search
(width: 25em)
(add margin)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
+
<div style="float:right; background: black; color: green; margin: 0.5em; padding: 1em; width: 25em;">
<div style="float:right; background: black; color: green; padding: 1em; width: 25em;">
 
 
<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>
Line 8: Line 7:
 
<div style="float: right; margin: 0.3em 0.5em 0 0;"><div style="position:absolute; background: black; padding: 0 0.25em;"> X </div></div>
 
<div style="float: right; margin: 0.3em 0.5em 0 0;"><div style="position:absolute; background: black; padding: 0 0.25em;"> X </div></div>
 
</div>
 
</div>
</div></includeonly>
+
</div></includeonly><noinclude>
<noinclude>
 
 
Utility template for making Cogmind-style data boxes.
 
Utility template for making Cogmind-style data boxes.
 
== Usage ==
 
== Usage ==

Revision as of 08:55, 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