Template:DottedFrameMessage

From Wikicarpedia
Jump to navigation Jump to search

Description

Frame message

Params

Parameter Type Default Value Description
text Required Text Text in box
align Optional center left
right
center
justify
Align of text in multiple line text
width Optional -empty- CSS Set width of frame message
background Optional -empty- CSS Set background
border Optional 1px dotted #000000 CSS Set border
padding Optional 10px CSS Set padding

Examples

Code Description
{{DottedFrameMessage|text=This is text|width=300px}} Centered text in frame with set width to 300px

This is text

{{DottedFrameMessage|text=This<br />over<br />multiple<br />lines|align=left}} Left aligned text in frame

This
over
multiple
lines

{{DottedFrameMessage|text=This is text|border=2px solid red}} Change border to 2px solid red

This is text

{{DottedFrameMessage|text=This is text|background=#ccc}} Change background to #ccc

This is text

{{DottedFrameMessage|text=This is {{ColorYellow|yellow text}}}} Use Color template in text when need change text color

This is yellow text

{{DottedFrameMessage|text=This is text|margin=0px 50px|padding=5px 10px 15px 20px}} Changed margin and padding of box

This is text