Template:Callout 2/doc: Difference between revisions
Jump to navigation
Jump to search
template>Tomoneill (add text) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 15:40, 27 August 2024
This template is a formatting variation from {{callout}} for text that doesn't have the implication it should not be changed. |
Usage is: {{Callout 2| title=box title | text=text to include in main box}}
Parameters
Parameter | Comments | Default |
---|---|---|
|text= |
This is the main text for the box | |
|title= |
Optional—This is the text for the box header | |
|align= |
Optional—Set to left, center, or right | right |
|width= |
Optional—Set a width for the box (such as 200px or 40%) | 30% |
|border= |
Optional—Set the width, style, and color for the border | 2px solid #CEC |
|background= |
Optional—Set the background color for the box | #DFD |
|title-background= |
Optional—Set the background color for the title text | #CEC |
|border-radius= |
Optional—Set the radius for rounding of the corners. See {{border-radius}} for details |
12px |
|title-radius= |
Optional—Set the radius for rounding of the corners of the box for title text. See {{border-radius}} for details |
12px 12px 0px 0px |
|padding= |
Optional—Set cell padding for the text | 5px |
|cellspace= |
Optional—Set cell spacing | 0 |
Examples
{{Callout 2| title=All right, Striker, you listen, and listen close | text= Flying a plane is no different from riding a bicycle; it's just a lot harder to put baseball cards in the spokes.}}
All right, Striker, you listen, and listen close |
---|
Flying a plane is no different from riding a bicycle; it's just a lot harder to put baseball cards in the spokes. |
{{Callout 2| align=center| width=75% | text=What's our vector, Victor?}}
What's our vector, Victor? |
{{Callout 2| width=250px | align=left | title=Surely you can't be serious? | text= I am serious. And don't call me Shirley}}
Surely you can't be serious? |
---|
I am serious. And don't call me Shirley |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
CellSpace | CellSpace | no description | Unknown | optional |
Width | Width | no description | Unknown | optional |
Background-color | Background-color | no description | Unknown | optional |
background | background | no description | Unknown | optional |
Border | Border | no description | Unknown | optional |
Border-Radius | Border-Radius | no description | Unknown | optional |
Align | Align | no description | Unknown | optional |
Title | Title | no description | Unknown | optional |
Title-Background | Title-Background | no description | Unknown | optional |
Title-Radius | Title-Radius | no description | Unknown | optional |
Padding | Padding | no description | Unknown | optional |
Text | Text | no description | Unknown | suggested |