Template:Box: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{| cellspacing="0" style="width:75%;background:{{{background|#FBFBFB}}}; border:{{{borderColor|#1E90FF}}} 1px solid; {{Border-radius|1em 1em 1em 0}};margin:0 auto 4px auto;" | rowspan="2" style="width:10px;background:{{{borderColor|#1E90FF}}};{{Border-radius|0 1em 1em 0}};background-clip:padding-box;direction:ltr;"| | rowspan="2" style="{{Border-radius|0 0.9em 0.9em 0}};width:46px;vertical-align:middle;padding:0 7px;" | {{#if:{{{image|}}}|File:{{{image|}}}...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| cellspacing="0" style="width:75%;background:{{{background|#FBFBFB}}}; border:{{{borderColor|#1E90FF}}} 1px solid; {{Border-radius|1em 1em 1em | <includeonly>{| cellspacing="0" style="width:75%;background:{{{background|#FBFBFB}}}; border:{{{borderColor|#1E90FF}}} 1px solid; {{Border-radius|1em 1em 1em 1em}};margin:0 auto 4px auto;" | ||
| rowspan="2" style="width:10px;background:{{{borderColor|#1E90FF}}};{{Border-radius|0 1em | | rowspan="2" style="width:10px;background:{{{borderColor|#1E90FF}}};{{Border-radius|1em 0 0 1em}};background-clip:padding-box;direction:ltr;"| | ||
| rowspan="2" style="{{Border-radius|0 0.9em 0.9em 0}};width:46px;vertical-align:middle;padding:0 7px;" | {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{size|45px}}}|link={{{imageLink|}}}]]}} | | rowspan="2" style="{{Border-radius|0 0.9em 0.9em 0}};width:46px;vertical-align:middle;padding:0 7px;" | {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{size|45px}}}|link={{{imageLink|}}}]]}} | ||
| colspan="2" style="border-bottom:1px solid {{{separatorColor|{{{borderColor|#1E90FF}}}}}};" | {{{title|}}} | | colspan="2" style="border-bottom:1px solid {{{separatorColor|{{{borderColor|#1E90FF}}}}}};" | {{{title|}}} | ||
|- | |- | ||
| style="font-size:90%;" | {{{description|}}} | | style="font-size:90%;" | {{{description|}}} | ||
| {{#if:{{{buttons|}}}|style="vertical-align:bottom;white-space:nowrap;width:60px;border-color:{{{borderColor|#1E90FF}}};border-width: | | {{#if:{{{buttons|}}}|style="vertical-align:bottom;white-space:nowrap;width:60px;border-color:{{{borderColor|#1E90FF}}};border-width:0px 0px 0px 0px;border-style:solid;border-top-left-radius: 30px 30px;border-bottom-left-radius: 1px 1px;" {{!}} <div class="plainlinks" style="text-align:center;font-size:90%;padding:2px 10px;white-space:no-wrap;">{{{buttons|}}}</div>}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
{{Box/Documentation}} | {{Box/Documentation}} |
Latest revision as of 04:40, 2 March 2025
Template for message templates.
For example, the following code:
{{Box | color = #9ACD32 | separatorColor = | image = Ambox important.jpg | imageLink = | size = 45px | title = The article is in the work stages: To prevent edit conflicts and duplicated work, you are requested not to edit this article until this message is removed, unless you have verified it with the template's contributors. | explanation = Attention! If the page has not been edited for a week, you may remove the template and edit it, but it is recommended to first leave a reminder on the talk page. | buttons = [[{{TALKPAGENAME}}{{!}}Talk page]] }}
Will yield:
![]() |
The article is in the work stages: To prevent edit conflicts and duplicated work, you are requested not to edit this article until this message is removed, unless you have verified it with the template's contributors. | ||
- Note - Please do not insert empty parameters unless intentional. An empty parameter like
|background=
will not display a background and will remain the default page color instead of the desired color.