模板:ExampleRobox
外觀
標題 內容
|
{{ExampleRobox|title=标题}}内容{{Robox/Close}}
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:
Don't forget to use the {{Robox/Close}} template after your content! |
Examples
[編輯]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 |
Themes
[編輯]
|
|
|
上述文檔嵌入自Template:ExampleRobox/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (創建 | 鏡像)和測試樣例 (創建)頁面進行實驗。 請在/doc子頁面中添加分類。 本模板的子頁面。 |