Template:Dbox/doc

This is a title - This is a definition which goes with it.





Usage
'Dbox' is meant primarily as a set-off box for DEFINITIONS in instructional text, or to emphasize a point. It generates a enhanced text title followed by an 'ndash' then the second parameter given.
example: {{Dbox|title|Expository text}} {{Dbox| {{{1}}} | {{{2}}}}}


Options, alphabetically ordered
any styling parameter (AS=)
may be specified using '|AS=HTML in-line text', — this is free of formatting, and the last thing in the format string.
border
A option: color may be changed from a default lightgreen (seen above) by specifying either 'color=' or 'colour=' with any legally allowable internet color name, RGB values, or hex HTML color codes.
B option: color and style may be changed by specifying 'width style color' form like B= 15px groove orange which forms the style formatted border: 15px groove orange;
background
may be changed from its default of transparent to any web color as specified in 'B' above.
margin
default of '1.5em 0em -1.0em 0em' may be overrode by 'M=...'
max-width
default of inherited, may be set (overridden) by 'MW=...'
padding
default of '0.2em 0.5em 0.5em' may be overrode by 'P=...'
width
default of inherited, may be set (overridden) by 'W=...'


Examples of Variant options


default
Graphs-1 - diagrams modelling relationships between objects of a certain collection, consisting of edges (lines) and vertices (dots)



Comparative Example to the unbounded ones following

next and below inside the next boundary box, show '|M=.2em 15% 1em 15%:'

Graphs-2 - diagrams modelling relationships between objects of a certain collection, consisting of edges (lines) and vertices (dots)


 

|M=.2em 15% 1em 15%
and this one behaves more usefully... than the next one following, note the vertical space generation in it...
Graphs-3 - diagrams modelling relationships between objects of a certain collection, consisting of edges (lines) and vertices (dots)
|M=20%
Note this mode affects spacing on all four sides...

Graphs-4 - diagrams modelling relationships between objects of a certain collection, consisting of edges (lines) and vertices (dots)

In comparison
to the box width of this default mode line...
Main memory - data store that can be directly addressed by the CPU




|B=3px solid green|BG=tan
makes a border that is a horse of a different color
RAM - Random Access Memory in a computer which can be read from and written to. RAM Data is 'volitile' it is randomized when the power goes off, so must be reinitialized (written to) before use again to be read.


|BG=yellow...
ROM - Read Only Memory can only be read from, but is a form of non-volitle memory, so data is maintained when the power is off and can be relied upon again when power is restored.