Jump to content

Template:Wb/lad/Robox/doc

From Wikimedia Incubator

Lua error in package.lua at line 80: module 'Module:Wb/lad/Arguments' not found.

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. If an empty title is specified, the title bar shrinks to a small band.

Title

Parameters:

  • theme: Numerical value that determines theme (see below); defaults is 1.
  • title: Box title.
  • width: Box width; default is 100%.
  • height: Box height; default is 100%.
  • icon: Image name for icon.
  • iconwidth: Pixel width of icon; default is 32. Include "px".

Don't forget to use the {{Robox/Close}} template after your content!

Examples

[edit source]

Theme 1: Tan (default)

[edit source]

This code:

{{robox|title=Test title}}
Test content using a default box
{{Robox/Close}}

produces this box:

Test title

Test content using a default box

Theme 2: Mid green

[edit source]

This code:

{{Robox|theme=2|title=Test title}}
Test content using a default box with Theme=2
{{Robox/Close}}

produces this box:

Test title

Test content using a default box with Theme=2

Themes

[edit source]
Theme 1

Content goes here.

Theme 2

Content goes here.

Theme 3

Content goes here.

Theme 4

Content goes here.

Theme 5

Content goes here.

Theme 6

Content goes here.

Theme 7

Content goes here.

Theme 8

Content goes here.

Theme 9

Content goes here.

Theme 10

Content goes here.

Theme 11

Content goes here.

Theme 12

Content goes here.

Theme 13

Content goes here.

Theme 14

Content goes here.

Theme 15

Content goes here.