Difference between revisions of "Template:Box/FV"

From blackwiki
Jump to navigation Jump to search
imported>Flameviper
m (moved User:Flameviper/sandbox to Template:Box/FV: Moving to template namespace, it seems to be fully functional and ready for action.)
imported>Flameviper
(This should work fine.)
Line 1: Line 1:
<noinclude>{{User:Flameviper/Userspace}}</noinclude>
 
 
<center><div class="boilerplate metadata" id="{{{id|Info-box}}}" width={{{width|100}}}%>
 
<center><div class="boilerplate metadata" id="{{{id|Info-box}}}" width={{{width|100}}}%>
{| CELLPADDING={{{padding|5}}} CELLSPACING={{{spacing|5}}} style="background-color: #{{{1|FFFFFF}}}; border: solid {{{line|1}}}px #{{{2|000000}}}"
+
{| CELLPADDING={{{padding|5}}} CELLSPACING={{{spacing|5}}} style="background-color: #{{{2|FFFFFF}}}; border: solid {{{line|1}}}px #{{{3|000000}}}"
| {{{3}}}
+
| {{{1}}}
 
|}</div></center>
 
|}</div></center>
 +
<noinclude>This is a standard boilerplate for any purpose. It eliminates all the difficulty of creating a box yourself, providing easy-to-set parameters. The variables are as follows.
 +
*Contents of box
 +
*Background colour<nowiki>*</nowiki>
 +
*Border colour<nowiki>*</nowiki>
 +
*ID<nowiki>*</nowiki>
 +
*Width<nowiki>*</nowiki>
 +
*Cellpadding<nowiki>*</nowiki>
 +
*Cellspacing<nowiki>*</nowiki>
 +
*Border thickness<nowiki>*</nowiki>
 +
All parameters marked with a<nowiki>*</nowiki> can be left undefined. The template will function properly without them (the variables will be set to default).
 +
 +
[[Category:Meta-templates]]
 +
</noinclude>

Revision as of 17:29, 26 October 2006

This is a standard boilerplate for any purpose. It eliminates all the difficulty of creating a box yourself, providing easy-to-set parameters. The variables are as follows.

  • Contents of box
  • Background colour*
  • Border colour*
  • ID*
  • Width*
  • Cellpadding*
  • Cellspacing*
  • Border thickness*

All parameters marked with a* can be left undefined. The template will function properly without them (the variables will be set to default).