Template:Playlist/doc
This template is used to add a small box. When the content exceeds the specified height, there will be a scroll bar on the right.
Usage
{{Playlist|width=|height=|color=|<Content>}}
w
orwidth
- Optional. Set the width of the box, which sets the CSS property
width
of the box,auto
as default, which means full width of the window. h
orheight
- Optional. Set the maximum height of the box,
300px
as default. color
- Optional. Set the border color of the box,
lightblue
as default. Refer to Help:List of colors for format. border
- Optional. Set the border size of the box,
medium
as default. 1
orcontent
- Required. Show the content in the box. The
1
means the first anonymous parameter of the template.
Examples
Code | Outcome |
---|---|
{{Playlist|border=1px|height=4.4em|width=100px| * List 1 * List 2 * List 3 }} |
|
{{Playlist|Test 3}} |
Test 3 |
{{Playlist|width=100px|color=#E36BB6|Test 4}} |
Test 4 |