Difference between revisions of "Template:Databox/sandbox"
Jump to navigation
Jump to search
Sideriver81 (talk | contribs) |
Sideriver81 (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | <div class="databox" style="background: black; color: #00b200; margin: 0 0 0.5em 0.5em; padding: 1em; width: 25em;"> | + | <div class="databox" style="float:{{{float|right}}}; background: black; color: #00b200; margin: 0 0 0.5em 0.5em; padding: 1em; width: 25em;"> |
<div style="padding: 1em 2em; border: 2px solid #008c00;"> | <div style="padding: 1em 2em; border: 2px solid #008c00;"> | ||
<div style="text-align: center; margin-top: -1.8em;"><div style="display:inline-block; background: black; text-transform: uppercase; letter-spacing: 0.5em;; padding-left: 0.5em;">/{{{title|Data}}}/</div></div> | <div style="text-align: center; margin-top: -1.8em;"><div style="display:inline-block; background: black; text-transform: uppercase; letter-spacing: 0.5em;; padding-left: 0.5em;">/{{{title|Data}}}/</div></div> | ||
− | + | {{{content|}}} | |
− | {{{content| | ||
<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 10: | Line 9: | ||
Utility template for making Cogmind-style data boxes. | Utility template for making Cogmind-style data boxes. | ||
== Example == | == Example == | ||
− | |||
− | |||
{{Databox/sandbox|content= | {{Databox/sandbox|content= | ||
{{Dataheader/sandbox|Overview}} | {{Dataheader/sandbox|Overview}} | ||
{{Datum/sandbox|Rating|6}} | {{Datum/sandbox|Rating|6}} | ||
}} | }} | ||
− | < | + | <pre> |
− | |||
− | |||
{{Databox/sandbox|content= | {{Databox/sandbox|content= | ||
{{Dataheader/sandbox|Overview}} | {{Dataheader/sandbox|Overview}} | ||
{{Datum/sandbox|Rating|6}} | {{Datum/sandbox|Rating|6}} | ||
}} | }} | ||
− | </ | + | </pre> |
+ | |||
+ | {{Databox/sandbox|float=left|content= | ||
+ | {{Dataheader/sandbox|Overview}} | ||
+ | {{Datum/sandbox|Rating|6}} | ||
+ | }} | ||
+ | <pre> | ||
+ | {{Databox/sandbox|float=left|content= | ||
+ | {{Dataheader/sandbox|Overview}} | ||
+ | {{Datum/sandbox|Rating|6}} | ||
+ | }} | ||
+ | </pre> | ||
[[Category:Template sandboxes]] | [[Category:Template sandboxes]] | ||
</noinclude> | </noinclude> |
Revision as of 01:07, 3 January 2020
Utility template for making Cogmind-style data boxes.
Example
/Data/
Overview
Rating
6
X
{{Databox/sandbox|content= {{Dataheader/sandbox|Overview}} {{Datum/sandbox|Rating|6}} }}
/Data/
Overview
Rating
6
X
{{Databox/sandbox|float=left|content= {{Dataheader/sandbox|Overview}} {{Datum/sandbox|Rating|6}} }}