w:c:strategywiki>Zuke m (→Example: sp) |
w:c:strategywiki>Prod (templatestyles) |
||
| Line 1: | Line 1: | ||
{{TemplateStyles|Template:PartnerBox/styles.css}} | |||
This template is used to provide additional information in a sidenote style. It is used as follows: | This template is used to provide additional information in a sidenote style. It is used as follows: | ||
<pre>{{sidebar | <pre>{{sidebar | ||
| Line 38: | Line 38: | ||
}}</pre> | }}</pre> | ||
<noinclude>[[Category:Template documentation | <noinclude>[[Category:Template documentation]]</noinclude> | ||
Revision as of 18:41, 20 May 2022
| This template uses TemplateStyles: |
This template is used to provide additional information in a sidenote style. It is used as follows:
{{sidebar
|float=left, right, or none (default: right)
|class=Variant class (e.g. "banner"; default: empty)
|width=Box width (CSS syntax)
|title=Box title
|contents=Box contents
}}
Example
Page Template:Sidebar/styles.css has no content.
{{sidebar
|float=right
|width=250px
|title=Sidebar example
|contents=You can put whatever you want here. This is sort of like using really large parentheses.
}}
Page Template:Sidebar/styles.css has no content.
{{sidebar
|float=right
|class=banner
|width=250px
|title=Banner class example
|contents=This is using the "banner" ''class''.
}}