Jump to content

ထႅမ်းပလဵတ်ႉ:ExampleRobox/doc

လုၵ်ႉတီႈ ဝီႇၶီႇပပ်ႉ မႃး

This is a special kind of box with a hanging icon in the right hand top corner. It's based on Template:Robox. 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. The box is usually used to hold a worked example.

Title

Parameters:

  • theme: Numerical value that determines theme (see below); default is 9.
  • 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!

တူဝ်ယၢင်ႇ

[မႄးထတ်း]

Theme 9: Green (default)

[မႄးထတ်း]

This code:

{{ExampleRobox|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

[မႄးထတ်း]

This code:

{{ExampleRobox|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

Theme 1

Content goes here.

Theme 2

Content goes here.

Theme 3

Content goes here.