Difference between revisions of "Template:Databox"

From Grid Sage Wiki
Jump to navigation Jump to search
(support unnamed parameter)
Line 3: Line 3:
 
<div style="float:right; background: black; color: green; padding: 1em; min-width: 25em;">
 
<div style="float:right; background: black; color: green; padding: 1em; min-width: 25em;">
 
<div style="padding: 1em; border: 2px solid green;">
 
<div style="padding: 1em; border: 2px solid green;">
<div style="text-align: center; margin-top: -1.8em;"><div style="display:inline-block; background: black;">/ Data /</div></div>
+
<div style="text-align: center; margin-top: -1.8em;"><div style="display:inline-block; background: black;">/ {{{header|Data}}} /</div></div>
  
{{{content}}}
+
{{{content|{{{1}}}}}}
 
<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>
Line 13: Line 13:
 
== Usage ==
 
== Usage ==
 
  <nowiki>
 
  <nowiki>
{{Databox|content=content goes here}}
+
{{Databox|content goes here}}
 
</nowiki>
 
</nowiki>
 
== Example ==
 
== Example ==
{{Databox|content=content goes here}}
+
{{Databox|content goes here}}
 
</noinclude>
 
</noinclude>

Revision as of 01:32, 3 June 2015


Utility template for making Cogmind-style data boxes.

Usage

{{Databox|content goes here}}

Example

/ Data /

content goes here

X