Difference between revisions of "Template:Box"

From Stm32World Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> Template for creating a box: Usage: <pre><nowiki> {{Box |theme=1 Set theme (see below) |edit= Include an edit icon next to the bo...")
 
 
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
 
{|
 
{|
 
|-
 
|-
|{{Box|theme=1|title=Demo Box}}
+
|{{Box|theme=1|title=Demo Box|edit=File:Document Edit.png}}
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Box
 
{{Box

Latest revision as of 04:26, 5 June 2021

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}}