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 |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
display:{{{display|block}}}; | display:{{{display|block}}}; | ||
float:{{{float|none}}}; | float:{{{float|none}}}; | ||
overflow:{{{overflow|hidden}}}; | |||
width:{{{width|50%}}}; | width:{{{width|50%}}}; | ||
height:{{{height|auto}}}; | |||
margin:{{{margin|5px auto}}}; | margin:{{{margin|5px auto}}}; | ||
padding:{{{padding| | padding:{{{padding|4px}}}; | ||
clear:{{{clear|both}}}; | clear:{{{clear|both}}}; | ||
background-color:{{{bg-color|#FFF}}}; | background-color:{{{bg-color|#FFF}}}; | ||
Line 16: | Line 18: | ||
border-radius:{{{border-radius|6px}}};">{{{1}}} | border-radius:{{{border-radius|6px}}};">{{{1}}} | ||
<div style="text-align:{{{txt-align|left}}}; | <div style="text-align:{{{txt-align|left}}}; | ||
padding:{{{pad|1px}}}; | |||
font-size:{{{txt-size|14px}}};">{{{2|}}}</div></div> | font-size:{{{txt-size|14px}}};">{{{2|}}}</div></div> | ||
<noinclude><br><br><br> | |||
---- | ---- | ||
---- | |||
<br><br> | |||
{{SmallBox|This is a small box using default parameters}} | {{SmallBox|This is a small box using default parameters}} | ||
Line 29: | Line 33: | ||
{{SmallBox|This is a small box using default parameters}} | {{SmallBox|This is a small box using default parameters}} | ||
</pre> | </pre> | ||
<pre><nowiki> | <pre><nowiki> | ||
default parameters: | |||
{{SmallBox|display=block | {{SmallBox|display=block | ||
|float=none | |float=none | ||
Line 51: | Line 52: | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
<br> | <br> | ||
---- | ---- | ||
<br> | ---- | ||
<br><br> | |||
{{SmallBox|display=block | {{SmallBox|display=block | ||
Line 64: | Line 64: | ||
|width=80% | |width=80% | ||
|margin=5px auto | |margin=5px auto | ||
|padding= | |padding=8px | ||
|bg-color=#efa94c | |bg-color=#efa94c | ||
|font=Arial | |font=Arial | ||
Line 73: | Line 73: | ||
|border-color=#4bedca | |border-color=#4bedca | ||
|border-radius=6px | |border-radius=6px | ||
| | |NOTICE: THIS TITLE TEXT IS INSIDE ITS OWN DIV CONTAINER | ||
|txt-align=left | |txt-align=left | ||
|txt-size= | |txt-size=14px | ||
|This paragraph text | |This paragraph text has a separate div container. | ||
This container only has two properties: | |||
* txt-align | * txt-align | ||
* txt-size | * txt-size | ||
Which is perfectly sufficient for creating message boxes with a title header. | |||
}} | }} | ||
<pre> | |||
{{SmallBox|display=block | |||
|float=none | |||
|clear=both | |||
|width=80% | |||
|margin=5px auto | |||
|padding=8px | |||
|bg-color=#efa94c | |||
|font=Arial | |||
|font-size=18px | |||
|text-align=center | |||
|border-style=groove double inset ridge | |||
|border-width=6px | |||
|border-color=#4bedca | |||
|border-radius=6px | |||
|NOTICE: THIS TITLE TEXT IS INSIDE ITS OWN DIV CONTAINER | |||
|txt-align=left | |||
|txt-size=14px | |||
|This paragraph text has a separate div container. | |||
This container only has two properties: | |||
* txt-align | |||
* txt-size | |||
Which is perfectly sufficient for creating message boxes with a title header. | |||
}} | |||
</pre> | |||
Latest revision as of 00:21, 8 February 2018
{{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 }}
{{SmallBox|display=block |float=none |clear=both |width=80% |margin=5px auto |padding=8px |bg-color=#efa94c |font=Arial |font-size=18px |text-align=center |border-style=groove double inset ridge |border-width=6px |border-color=#4bedca |border-radius=6px |NOTICE: THIS TITLE TEXT IS INSIDE ITS OWN DIV CONTAINER |txt-align=left |txt-size=14px |This paragraph text has a separate div container. This container only has two properties: * txt-align * txt-size Which is perfectly sufficient for creating message boxes with a title header. }}