Template:User new message large/sandbox
This is the template sandbox page for Template:User new message large (diff). See also the companion subpage for test cases. |
A large colored box for User Talk pages inviting visitors to leave a message by clicking the box text. It is best placed at the top of a User Talk page.
The template uses the CSS command "clear: both" to prevent any objects from overlapping or underlapping it.
For a list of easy-to-use color names, please have a look at the Web colors article.
Usage examples:
- {{User new message large}}
- is equal to: {{User new message large|textcolor=White|color1=#008000|start1=0%|color2=#007500|start2=50%|color3=#007000|start3=75%|bordersize=1px|bordercolor=#007000|radius=10px|textsize=200%|rotation=135deg|icon-left=|icon-right=[[File:Face-smile.svg|32px|link=|alt=]]|text=Please click here to add a new message!}}
- {{User new message large|textcolor=Black|color1=LightCyan|start1=0%|color2=Aqua|start2=20%|color3=DodgerBlue|start3=90%|bordersize=2px|bordercolor=DodgerBlue|radius=10px|textsize=200%|rotation=135deg|icon-left=|icon-right=[[File:Face-smile.svg|32px|link=|alt=]]|text=Please click here to add a new message!}}
- {{User new message large|textcolor=Maroon|color1=Gold|start1=0%|color2=Yellow|start2=50%|color3=LightYellow|start3=100%|bordersize=2px|bordercolor=Gold|radius=0px|textsize=150%|rotation=180deg|icon-left=|icon-right=[[File:Face-smile.svg|28px|link=|alt=]]|text=Welcome to my talk page! Please click here to add a new message!}}
- {{User new message large|textcolor=White|color1=Violet|start1=0%|color2=Fuchsia|start2=20%|color3=Purple|start3=90%|bordersize=2px|bordercolor=Purple|radius=10px|textsize=200%|rotation=135deg|icon-left=[[File:Cat_silhouette_white.svg|32px|link=|alt=]]|icon-right=[[File:Mail-message-new.svg|32px|link=|alt=]]|text=Please click here to add a new message!}}
- {{User new message large|textcolor=Black|color1=Wheat|start1=0%|color2=Wheat|start2=20%|color3=Wheat|start3=90%|bordersize=2px|bordercolor=Wheat|radius=10px|textsize=150%|rotation=135deg|icon-left=|icon-right=|text={{big|♕}}{{spaces|2}}<u>PLEASE CLICK HERE TO ADD A NEW MESSAGE</u>{{spaces|2}}{{big|♕}}}}
A large colored box for User Talk pages inviting visitors to leave a message by clicking the box text. It is best placed at the top of a User Talk page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text color | textcolor | Color of the text inside the box
| String | suggested |
Color 1 | color1 | First color of the gradient
| String | suggested |
Start 1 | start1 | Starting point of the first gradient color
| Number | suggested |
Color 2 | color2 | Second color of the gradient
| Number | suggested |
Start 2 | start2 | Starting point of the second gradient color
| Number | suggested |
Color 3 | color3 | Third color of the gradient
| String | suggested |
Start 3 | start3 | Starting point of the third gradient color
| Number | suggested |
Border Size | bordersize | Size of the border
| String | suggested |
Border Color | bordercolor | Color of the border. This could be the darkest color of the gradient, or any other color.
| String | suggested |
Radius | radius | Radius of the border. Use 0px for a rectangular box.
| String | suggested |
Text size | textsize | Height (font size) of the text displayed inside the box. This can be a relative value compared to the "default" text size of article text.
| Number | suggested |
Rotation | rotation | Rotation of the gradient. This can be a degree value ending with "deg", for example.
| String | suggested |
Icon Left | icon-left | The icon on the left side. May be left blank.
| String | optional |
Icon Right | icon-right | The icon on the right side. May be left blank.
| String | suggested |
Text | text | The text to appear inside the box, between the icons
| String | optional |
URL | url | Link behind the text. This will be automatically determined when placed on your talk page, but can be overridden using this setting.
| String | optional |
noclear | noclear | Disable the CSS command "clear: both"
| Boolean | optional |