User:Johan G/Messagebox: Difference between revisions

Jump to navigation Jump to search
Finally getting to this
(Moving off some material to "/box content"; etc)
(Finally getting to this)
Line 1: Line 1:
{| class="wikitable" <!-- Begin box -->  
{| class="wikitable" <!-- Begin box -->  
|
|
{{#switch: {{lc: {{{box|top}}} }} <!-- What type of box? -->
| box =
box
| section =
section
| top
| #default =
top
}};<!--
-->{{#switch: {{lc: {{{style|notice}}} }} <!-- Which colours to use? -->
| immediate =
immediate
| danger    =
danger
| caution  =
caution
| tip      =
tip
| protected =
protected
| notice
| #default  =
notice
}};<!--
-->{{#if: {{{image|}}} <!-- Is there an image? -->
|
image
|
no image
}};<!--
-->{{#ifeq: {{lc: {{{oneliner|}}} }} | true | <!-- Oneliner or not? (For image size) -->
  oneliner (image)
| <!-- Not a oneliner -->
  not a oneliner (image)
}};<!--
-->{{#ifeq: {{lc: {{{oneliner|}}} }} | true | <!-- Oneliner or not? (For text padding) -->
  oneliner (text)
| <!-- Not a oneliner -->
  not a oneliner (text)
}};<!--
-->{{{title|title}}};<!--
-->{{{text|text}}}
|}
|}
<!-- End box
<!-- End box

Navigation menu