Template:Robelbox: Difference between revisions
Appearance
wikademia>Darklama maybe this will make the icon fit a bit better inside the heading... |
wikademia>McCormack |
||
| Line 1: | Line 1: | ||
{| cellspacing="2" cellpadding="0" style="margin:0em 0em 0em 0em; width:{{{width|100%}}}" | |||
| colspan="1" style="width:100%; vertical-align:top; border:1px solid {{Robelbox/C2|{{{theme|1}}}}}; background-color:{{Robelbox/C1|{{{theme|1}}}}};" | | |||
[[Image:{{{icon|Namespace Wikipedia.svg}}}|{{{iconwidth| | [[Image:{{{icon|Namespace Wikipedia.svg}}}|{{{iconwidth|32px}}}|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.2em 0.9em 0.2em 0.5em; font-size:120%; font-weight:bold;">{{{title|Title}}}</div> | ||
<noinclude><div style="padding:0.75em 1.5em 0em 0.75em;"> | |||
<div style=" | |||
''Parameters:'' | ''Parameters:'' | ||
* ''theme'': Values 1 to 6; gives colour scheme. | * ''theme'': Values 1 to 6; gives colour scheme. | ||
| Line 10: | Line 9: | ||
* ''width'': Box width; default is 100%. | * ''width'': Box width; default is 100%. | ||
* ''icon'': Image name for icon. | * ''icon'': Image name for icon. | ||
* ''iconwidth'': | * ''iconwidth'': Pixel width of icon; default is 56. Include "px". | ||
''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> | ||
|} | |||
[[Category:Design templates]]</noinclude> | [[Category:Design templates]]</noinclude> | ||