Jump to content

Template:Robelbox: Difference between revisions

From IdeaWazaWiki
wikademia>McCormack
No edit summary
wikademia>McCormack
No edit summary
Line 2: Line 2:
{| cellspacing="2" cellpadding="0" style="margin:0em 0em 0em 0em; width:{{{width|100%}}}; height:{{{height|100%}}};"
{| cellspacing="2" cellpadding="0" style="margin:0em 0em 0em 0em; width:{{{width|100%}}}; height:{{{height|100%}}};"
| colspan="1" style="width:100%; height:100%; vertical-align:top; border:1px solid {{Robelbox/C2|{{{theme|1}}}}}; background-color:{{Robelbox/C1|{{{theme|1}}}}};" |
| colspan="1" style="width:100%; height:100%; vertical-align:top; border:1px solid {{Robelbox/C2|{{{theme|1}}}}}; background-color:{{Robelbox/C1|{{{theme|1}}}}};" |
[[Image:{{{icon|Namespace Wikipedia.svg}}}|{{{iconwidth|32px}}}|right]]
{{#ifeq:{{{icon|default}}}|default||[[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.2em 0.9em 0.2em 0.5em; font-size:120%; font-weight:bold;">{{{title|Title}}}</div>
<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;">
<noinclude><div style="padding:0.75em 1.5em 0em 0.75em;">

Revision as of 10:57, 3 April 2008

This is a special kind of box with a hanging icon in the right hand top corner. The size of the icon can be increased indefinitely without the height of the title bar being affected. This is wiki art.

Title

Parameters:

  • theme: Values 1 to 6; gives colour scheme.
  • title: Box title.
  • width: Box width; default is 100%.
  • icon: Image name for icon.
  • iconwidth: Pixel width of icon; default is 56. Include "px".

Don't forget to use the {{Robelbox-close}} template after your content!