Template:Robelbox: Difference between revisions
Appearance
wikademia>McCormack No edit summary |
wikademia>Darklama maybe this will make the icon fit a bit better inside the heading... |
||
| Line 1: | Line 1: | ||
<div style="margin:0px; width:{{{width|100%}}}; border:1px solid {{Robelbox/C2|{{{theme|1}}}}};"> | |||
<div style="width:{{{width|100%}}}; vertical-align:top; background-color:{{Robelbox/C1|{{{theme|1}}}}}; margin:0px; padding:0px;"> | |||
[[Image:{{{icon|Namespace Wikipedia.svg}}}|{{{iconwidth| | [[Image:{{{icon|Namespace Wikipedia.svg}}}|{{{iconwidth|32}}}x{{{iconheight|{{{iconwidth|32}}}}}}px|right]] | ||
<div style="border-bottom:1px solid {{Robelbox/C2|{{{theme|1}}}}}; background-color:{{Robelbox/C3|{{{theme|1}}}}}; padding:0. | <div style="border-bottom:1px solid {{Robelbox/C2|{{{theme|1}}}}}; background-color:{{Robelbox/C3|{{{theme|1}}}}}; padding:0.25em 0.9em 0.25em 0.5em; font-size:120%; font-weight:bold;">{{{title|Title}}}</div> | ||
<noinclude><div style="padding:0. | </div><noinclude> | ||
<div style="margin:0px; padding:0.25em 1.5em 0em 0.75em;"> | |||
''Parameters:'' | ''Parameters:'' | ||
* ''theme'': Values 1 to 6; gives colour scheme. | * ''theme'': Values 1 to 6; gives colour scheme. | ||
| Line 9: | Line 10: | ||
* ''width'': Box width; default is 100%. | * ''width'': Box width; default is 100%. | ||
* ''icon'': Image name for icon. | * ''icon'': Image name for icon. | ||
* ''iconwidth'': | * ''iconwidth'': Width of icon in pixels; default is 32. | ||
* ''iconheight'': Height of icon in pixels; default is iconwidth or 32 if not provided. | |||
''Don't forget to use the <nowiki>{{Robelbox-close}}</nowiki> template after your content!'' | ''Don't forget to use the <nowiki>{{Robelbox-close}}</nowiki> template after your content!'' | ||
</div> | </div> | ||
</div> | |||
[[Category:Design templates]]</noinclude> | [[Category:Design templates]]</noinclude> | ||
Revision as of 15:00, 23 March 2008
Parameters:
- theme: Values 1 to 6; gives colour scheme.
- title: Box title.
- width: Box width; default is 100%.
- icon: Image name for icon.
- iconwidth: Width of icon in pixels; default is 32.
- iconheight: Height of icon in pixels; default is iconwidth or 32 if not provided.
Don't forget to use the {{Robelbox-close}} template after your content!