From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(→‎Example: grammar)
(styles)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>''Documentation for {{t|Sidebar}}.''<br/></noinclude>
{{TemplateStyles|Template:Sidebar/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
|float=left, right, or none (default: right)
|float=left, right, or center (default: right)
|clear=left, right, or both (default: empty)
|styles=Guide-specific variant classes. (ex. eternal-sonata; default: empty)
|class=Variant class (ex. "banner"; default: empty)
|width=Box width (CSS syntax)
|width=Box width (CSS syntax)
|title=Box title
|title=Box title
Line 12: Line 15:
|float=right
|float=right
|width=250px
|width=250px
|title=Sidebar Example
|title=Sidebar example
|contents=You can put whatever you want here.  This is sort of like using really large parenthesis.
|contents=You can put whatever you want here.  This is sort of like using really large parentheses.
}}
}}
<pre>{{sidebar
<pre>{{sidebar
|float=right
|float=right
|width=250px
|width=250px
|title=Sidebar Example
|title=Sidebar example
|contents=You can put whatever you want here.  This is sort of like using really large parentheses.
|contents=You can put whatever you want here.  This is sort of like using really large parentheses.
}}</pre>
}}</pre>
{{-}}
{{sidebar
|float=right
|class=banner
|width=250px
|title=Banner class example
|contents=This is using the "banner" ''class''.
}}
<pre>{{sidebar
|float=right
|class=banner
|width=250px
|title=Banner class example
|contents=This is using the "banner" ''class''.
}}</pre>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 04:19, 23 June 2023

This template is used to provide additional information in a sidenote style. It is used as follows:

{{sidebar
|float=left, right, or center (default: right)
|clear=left, right, or both (default: empty)
|styles=Guide-specific variant classes. (ex. eternal-sonata; default: empty)
|class=Variant class (ex. "banner"; default: empty)
|width=Box width (CSS syntax)
|title=Box title
|contents=Box contents
}}

Example[edit]

Sidebar example
You can put whatever you want here. This is sort of like using really large parentheses.
{{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.
}}
Banner class example
This is using the "banner" class.
{{sidebar
|float=right
|class=banner
|width=250px
|title=Banner class example
|contents=This is using the "banner" ''class''.
}}