Материал из Колесо Времени
Use
The template has one parameter: Content; unformatted text for the box. The default state produces a pale blue band across the page for a centered Courier text entry; it is useful to emphasise a single code line.
The options can be used in a more elaborate way to assemble a page with contiguous coloured background sections; see the example, which includes an image. The code to call the template into use and the result of doing so is seen below:
{{block|ta=left|ff=Arial|background=Lightyellow|color=blue|[[image:rose.jpg|left|150px]]This is a block of fictitious text {{lorem ipsum}}}}{{block|background=papayawhip|{{lorem ipsum}}}}{{block|ta=left|fs=12pt|ff=serif|background=mistyrose|{{lorem ipsum}}}}
Options
- background
- background color, pale blue
- color
- font color, black
- ff
- font family or face, Courier
- fs
- font size, 10pt
- ta
- text alignment, center
- lh
- line height, 1.4em
The defaults produce a pale blue band in the page for a centered text entry.