Template:Box3

From JRiverWiki
Jump to: navigation, search
"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
Template documentation (for the above template, sometimes hidden or invisible)[Edit] [Refresh]
Description
This template is used to encapsulate something in a box.
Options
  • text = This is defaults the the first parameter and should contain the contents of the box.
  • align = if sent to center it will center the box. It defaults to the second parameter.
  • padleft = change left side padding between box edge and text. It defaults to 0.5em.
  • padright = change right side padding between box edge and text. It defaults to 0.5em.
  • text-align = Will govern the alignment of text. Will default to what align is set to or the second parameter.
  • width = set the width of the box. It defaults to 100% or the third parameter.
  • corner = if set to round will round the corners of the box. It will default to the fourth parameter.
  • rad = set the radius of the corners, defaults to 10px
  • image = will assign an image to the left side of the box. Example.jpg
  • iSize = will set the width of the image. 112px
The color is set be the theme's class="accent"
Syntax
Type {{Box3}} somewhere.
Sample output
{{Box3|foo}} gives...
foo
{{Box3|foo|corner=round}} gives...
foo
{{Box3|foo|center}} gives...
foo
{{Box3|foo|center|80%}} gives...
foo
{{Box3|foo|center|80%|round}} gives...
foo
{{Box3
| text = foo
| align= center
| width = 80%
}}
gives...
foo
{{Box3
| text = foo
| align= center
| text-align = left
| width = 80%
| corner = round
| rad = 5px
}}
gives...
foo
{{Box3
| text = The design of the dress was understated,
but with bold accents.
One could accuse it of too much color blocking,
but in the current mood of the economy, this style might be
just what is needed for the season.
| padleft = 4em
| padright = 4em
| width = 150px
| corner = round
}}
gives...
The design of the dress was understated, but with bold accents. One could accuse it of too much color blocking, but in the current mood of the economy, this style might be just what is needed for the season.
{{Box3|
|image=Example.jpg
|iSize=112px
| align= center
| text = Rose are red
| padleft=0px
| width = 43%
}}
gives...
Example.jpg Rose are red
Visit Template:Box3/doc to change this text! (How does this work?)
Done making changes? Refresh this text! (Why?)