Template:KeyParagraph

From Wikibooks, open books for an open world
Jump to navigation Jump to search
{{{content}}}

Adds a well formatted box to a paragraph to highlight it

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
contentcontent

Paragraph that you want to highlight

Stringrequired
text alignmentalign text

Text position. The possible values are "left" (per defecte), "center" and "right".

Default
left
Stringsuggested
Box alignmentalign box

Text position . The possible values are "left" (by default), "center" and "right".

Default
center
Stringsuggested
widthwidth

Horizontal extension of the box in %. By default is 95%.

Default
95%
Stringsuggested
background colorbackground color

Channge background color of the box.

Default
#fdf6c6
Auto value
#fdf6c6
Stringsuggested
text colortext color

Changes the font color

Default
#454A4F
Auto value
#454A4F
Stringsuggested