Template:Sidebar: Difference between revisions
From BoyWiki
No edit summary |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{#if:{{{cellspacing|}}}|{{{cellspacing}}}|5}}" style="float: {{#if:{{{float|}}}|{{{float}}}|right}}; clear: {{#ifeq:{{{float|}}}|none|both|{{#if:{{{float|}}}|{{{float}}}|right}}}}; background-color: # | <table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{#if:{{{cellspacing|}}}|{{{cellspacing}}}|5}}" style="float: {{#if:{{{float|}}}|{{{float}}}|right}}; clear: {{#ifeq:{{{float|}}}|none|both|{{#if:{{{float|}}}|{{{float}}}|right}}}}; background-color: #f5faff; border: 1px solid #aaa; width:{{#if:{{{width|}}}|{{{width}}}|22em}}; {{#switch:{{{float|}}}|left = margin: 0 1em 1em 0;| none | right | #default = margin: 0 0 1em 1em;}} padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; {{{bodystyle|{{{style|}}}}}}" cellpadding="{{#if:{{{cellpadding|}}}|{{{cellpadding}}}|0}}">{{#if: {{{outertitle|}}}|<caption class="{{{outertitleclass|}}}" style="padding-bottom: 0.2em; font-size: 125%; line-height: 1.2em; font-weight: bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption> | ||
}}{{#if: {{{topimage|}}}| | }}{{#if: {{{topimage|}}}| | ||
<tr> | <tr> | ||
| Line 385: | Line 385: | ||
<td style="text-align: right; font-size: 115%; {{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar|{{{name|{{PAGENAME}}}}}|mini=1|fontstyle={{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}}}</td> | <td style="text-align: right; font-size: 115%; {{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar|{{{name|{{PAGENAME}}}}}|mini=1|fontstyle={{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}}}</td> | ||
</tr>}} | </tr>}} | ||
</table><noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of Template: Sidebar/doc, not here --></noinclude> | </table><noinclude>{{documentation}}[[Category:BoyWiki Subsidebar templates]]<!-- Please add categories and interwikis to the bottom of Template: Sidebar/doc, not here --></noinclude> | ||
Latest revision as of 18:36, 27 June 2022
Usage
{{Sidebar
| name = {{subst:PAGENAME}}
| pretitle =
| title =
| image =
| headingstyle =
| contentstyle =
| above =
| heading1 =
| content1 =
| heading2 =
| content2 =
| heading3 =
| content3 =
<!-- etc, to: -->
| heading35 =
| content35 =
| below =
}}
Visit Template:Sidebar/doc to edit this template's description!
Done making changes? Refresh Also see: Portal:Template index and Help:Templates
Done making changes? Refresh Also see: Portal:Template index and Help:Templates

