Template:Box: Difference between revisions

From Chabadpedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 5: Line 5:
|-
|-
| 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:1px 3px 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>}}
| {{#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.