Template:User new message large/doc

From MOASSpedia
Jump to navigation Jump to search

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text colortextcolor

Color of the text inside the box

Default
White
Example
#223344, rgba(100, 50, 42, 1), or any named [[Web color]] such as "CornflowerBlue".
Stringsuggested
Color 1color1

First color of the gradient

Default
#008000
Example
LightCyan
Stringsuggested
Start 1start1

Starting point of the first gradient color

Default
0%
Example
0%
Numbersuggested
Color 2color2

Second color of the gradient

Default
#007500
Example
Aqua
Numbersuggested
Start 2start2

Starting point of the second gradient color

Default
50%
Example
20%
Numbersuggested
Color 3color3

Third color of the gradient

Default
#007000
Example
DodgerBlue
Stringsuggested
Start 3start3

Starting point of the third gradient color

Default
75%
Example
100%
Numbersuggested
Border Sizebordersize

Size of the border

Default
1px
Example
2px
Stringsuggested
Border Colorbordercolor

Color of the border. This could be the darkest color of the gradient, or any other color.

Default
#007000
Example
DodgerBlue
Stringsuggested
Radiusradius

Radius of the border. Use 0px for a rectangular box.

Default
10px
Example
10px
Stringsuggested
Text sizetextsize

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.

Default
200%
Example
200%
Numbersuggested
Rotationrotation

Rotation of the gradient. This can be a degree value ending with "deg", for example.

Default
135deg
Example
135deg
Stringsuggested
Icon Lefticon-left

The icon on the left side. May be left blank.

Default
(empty, no value)
Example
[[File:Cat_silhouette_white.svg|32px|link=|alt=]]
Stringoptional
Icon Righticon-right

The icon on the right side. May be left blank.

Default
[[File:Face-smile.svg|32px|link=|alt=]]
Example
[[File:Oxygen480-status-mail-unread-new.svg|32px|link=|alt=]]
Auto value
Stringsuggested
Texttext

The text to appear inside the box, between the icons

Default
Please click here to add a new message!
Example
Welcome to my talk page! Please click here to add a new message!
Auto value
Stringoptional
URLurl

Link behind the text. This will be automatically determined when placed on your talk page, but can be overridden using this setting.

Default
{{fullurl:User_talk:{{PAGENAME}}|action=edit&section=new}}
Example
https://en.wikipedia.org/wiki/User:Your%20Username?action=edit&section=new
Stringoptional
noclearnoclear

Disable the CSS command "clear: both"

Default
If the "noclear" parameter contains any text, the template will not use the CSS command "clear: both". This will allow objects to overlap or underlap it.
Booleanoptional