Difference between revisions of "Template:Box"

 
Line 24: Line 24:
 
{{Box|type=brown_dark|height=20px|text=content of popup}}
 
{{Box|type=brown_dark|height=20px|text=content of popup}}
 
</nowiki>
 
</nowiki>
 +
gives
 +
{{Box|type=brown_dark|height=20px|text=content of popup}}
 +
 
</noinclude>
 
</noinclude>
 
<div class="box {{{type|brown_light}}}">
 
<div class="box {{{type|brown_light}}}">

Latest revision as of 09:26, 19 September 2012

This is template for formatting content as popup with light background

Usage

types

  • brown_dark
  • brown_light
  • l_brown_dark
  • l_brown_light
  • green_dark
  • green_light
  • l_green_dark
  • l_green_light
  • blue_dark
  • blue_light
  • l_blue_dark
  • l_blue_light
  • red_dark
  • red_light
  • l_red_dark
  • l_red_light

height

  • may be specified or omitted (auto)

Example: {{Box|type=brown_dark|height=20px|text=content of popup}} gives

content of popup