Template:SmallBox: Difference between revisions
Jump to navigation
Jump to search
Bradley Monk (talk | contribs) No edit summary |
Bradley Monk (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<div style=" | <div style=" | ||
display:{{{display|block}}}; | display:{{{display|block}}}; | ||
float:{{{float| | float:{{{float|none}}}; | ||
width:{{{width|50%}}}; | width:{{{width|50%}}}; | ||
margin:{{{margin| | margin:{{{margin|5px auto}}}; | ||
padding:{{{padding|5px auto}}}; | padding:{{{padding|5px auto}}}; | ||
clear:{{{clear|both}}}; | |||
background-color:{{{bg-color|#FFF}}}; | background-color:{{{bg-color|#FFF}}}; | ||
font-family:{{{font|Arial}}}; | font-family:{{{font|Arial}}}; | ||
Line 13: | Line 14: | ||
border-width:{{{border-width|2px}}}; | border-width:{{{border-width|2px}}}; | ||
border-color:{{{border-color|#8c9091}}}; | border-color:{{{border-color|#8c9091}}}; | ||
border-radius:{{{border-radius|6px}}};">{{{1}}}</div>{{Clear}}<noinclude> | border-radius:{{{border-radius|6px}}};">{{{1}}} | ||
<div style="text-align:{{{txt-align|left}}}; | |||
font-size:{{{txt-size|14px}}};">{{{2|}}}</div></div> | |||
{{Clear}}<noinclude> | |||
<br><br><br><br><br> | <br><br><br><br><br> | ||
---- | ---- | ||
Line 27: | Line 31: | ||
< | <big>Default Parameters:</big> | ||
< | |||
<pre><nowiki> | <pre><nowiki> | ||
{{SmallBox|display=block | |||
|float=none | |||
|clear=both | |||
|width=50% | |||
|margin=5px auto | |||
|padding=5px auto | |||
|bg-color=#FFF | |||
|font=Arial | |||
|font-size=18px | |||
|text-align=center | |||
|border-style=groove | |||
|border-width=2px | |||
|border-color=#8c9091 | |||
|border-radius=6px | |||
|This is a small box showing all parameters | |||
}} | |||
</nowiki></pre> | </nowiki></pre> | ||
Line 61: | Line 59: | ||
{{SmallBox|display=block | |||
|float=none | |||
|clear=both | |||
|width=80% | |||
|margin=5px auto | |||
|padding=25px auto | |||
|bg-color=#efa94c | |||
|font=Arial | |||
{{SmallBox|display=block | |font-size=18px | ||
| | |text-align=center | ||
|padding= | |border-style=groove double inset ridge | ||
|border-width=6px | |||
|border-color=#4bedca | |||
|border-radius=6px | |||
|NOTE THIS TITLE HAS ITS OWN DIV CONTAINER | |||
|txt-align=left | |||
|txt-size=12px | |||
|This paragraph text is inside its own div container, with just two properties: | |||
* txt-align | |||
* txt-size | |||
This is sufficient to make small message boxes with a title header. | |||
- | |||
}} | }} | ||
Revision as of 00:28, 21 January 2018
{{{1}}}
This is a small box using default parameters
{{SmallBox|This is a small box using default parameters}}
Default Parameters:
{{SmallBox|display=block |float=none |clear=both |width=50% |margin=5px auto |padding=5px auto |bg-color=#FFF |font=Arial |font-size=18px |text-align=center |border-style=groove |border-width=2px |border-color=#8c9091 |border-radius=6px |This is a small box showing all parameters }}
NOTE THIS TITLE HAS ITS OWN DIV CONTAINER
This paragraph text is inside its own div container, with just two properties:
- txt-align
- txt-size
This is sufficient to make small message boxes with a title header.