Template:Box

From Stm32World Wiki
Jump to navigation Jump to search

Template for creating a box:

Usage:

{{Box
|theme=1                Set theme (see below)
|edit=                  Include an edit icon next to the box title
|title=Box title        The box title
|function=              Functions included in the title bar
|float=
|height=
|width=
|link=                  Make the whole box a link
}}
...Box contents goes here
{{Box/End}}

Examples:

Empty.png
Demo Box Click to Edit
{{Box
|theme=1
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=2
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=3
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=4
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=5
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=6
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=7
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=8
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=9
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=10
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=11
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=12
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=13
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=14
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|theme=15
|title=Demo Box
}}
...
{{Box/End}}
Empty.png
Demo Box
{{Box
|title=Demo Box
|detached=3px
}}
...
{{Box/End}}