Template:Box: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="border: solid {{{thickness|2}}}px {{{border|black}}}; background-color: {{{background|white}}}; padding: 5px; width: {{{width|70}}}%; margin: auto; float: {{{align|center}}}">
<div style="border: solid {{{thickness|2}}}px {{{border|black}}}; background-color: {{{background|white}}}; padding: 5px; width: {{{width|70}}}%; margin: auto; float: {{{align|center}}}; --darkcolor:#fff; --darkbg:#333; --darkborder:#666">
<center>'''{{{title|<tt>title</tt> goes here}}}'''<br>
<center>'''{{{title|<tt>title</tt> goes here}}}'''<br>
{{{text|<tt>text</tt> goes here}}}</center></div><noinclude>
{{{text|<tt>text</tt> goes here}}}</center></div><noinclude>
==HowTo==
==How to==
  {{[[Template:Box|box]]
  {{[[Template:Box|box]]
  | thickness  =  
  | thickness  =  
Line 11: Line 11:
  | text      =  
  | text      =  
  }}
  }}
* Thickness - Border thickness (in pixles)
* Thickness - Border thickness (in pixels)
* Border - Border colour (American or hex format)
* Border - Border colour (American or hex format)
* Background - Main background colour (American or hex format)
* Background - Main background colour (American or hex format)