Difference between revisions of "Template:ComponentBox"

From GMOD
Jump to: navigation, search
(Call me a layout fascist...)
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>The ComponentBox template is used for...
+
<noinclude>The ComponentBox template is small box floated right on the page, suitable for a short list of links.
  
 
== Template code ==
 
== Template code ==
</noinclude><div
+
<pre>
  class="plainlinks"
+
<div class="componentBox">
   style="
+
   {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}
    float: right;
+
</div>
    margin-left: 1em;
+
</pre>
    margin-bottom: 1em;
+
</noinclude><div class="componentBox">{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}</div>
    padding-left: 0.5em;
+
    padding-right: 0.5em;
+
    border: 1px solid #888888;
+
    background-color: #fafafa;
+
    line-height: 100%
+
  "><center>{{{1}}}{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}</center></div>
+

Latest revision as of 18:34, 26 July 2012

The ComponentBox template is small box floated right on the page, suitable for a short list of links.

Template code

<div class="componentBox">
  {{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}
</div>