Шаблон:Sidebar: различия между версиями
Перейти к навигации
Перейти к поиску
en>Uzume м (minor logic issue with template view) |
en>Frietjes (moved example to documentation page) |
||
| Строка 1: | Строка 1: | ||
<table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{#if:{{{cellspacing|}}}|{{{cellspacing}}}|5}}" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width:{{#if:{{{width|}}}|{{{width}}}|22em}}; margin: 0 0 1.0em 1.0em; 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 | <table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{#if:{{{cellspacing|}}}|{{{cellspacing}}}|5}}" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width:{{#if:{{{width|}}}|{{{width}}}|22em}}; margin: 0 0 1.0em 1.0em; 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> | ||
<td class="{{{topimageclass|}}}" style="padding: 0.4em 0; {{{topimagestyle|}}}">{{{topimage}}}{{#if: {{{topcaption | <td class="{{{topimageclass|}}}" style="padding: 0.4em 0; {{{topimagestyle|}}}">{{{topimage}}}{{#if: {{{topcaption|}}}| | ||
<div style="padding-top: 0.2em; line-height: 1.2em; {{{topcaptionstyle|}}}">{{{topcaption}}}</div>}}</td> | <div style="padding-top: 0.2em; line-height: 1.2em; {{{topcaptionstyle|}}}">{{{topcaption}}}</div>}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{pretitle | }}{{#if: {{{pretitle|}}}| | ||
<tr> | <tr> | ||
<td class="{{{pretitleclass|}}}" style="{{#if: {{{topimage | <td class="{{{pretitleclass|}}}" style="{{#if: {{{topimage|}}}|padding-top: 0.2em; |padding-top: 0.4em;}} line-height: 1.2em; {{{pretitlestyle|}}}">{{{pretitle}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{title | }}{{#if: {{{title|}}}| | ||
<tr> | <tr> | ||
<th class="{{{titleclass|}}}" style="padding: 0.2em 0.4em 0.2em; {{#if: {{{pretitle | <th class="{{{titleclass|}}}" style="padding: 0.2em 0.4em 0.2em; {{#if: {{{pretitle|}}}|padding-top: 0;}} font-size: 145%; line-height: 1.2em; {{{titlestyle|}}}">{{{title}}}</th> | ||
</tr> | </tr> | ||
}}{{#if: {{{image | }}{{#if: {{{image|}}}| | ||
<tr> | <tr> | ||
<td class="{{{imageclass|}}}" style="padding: 0.2em 0 0.4em; {{{imagestyle|}}}">{{{image}}}{{#if: {{{caption | <td class="{{{imageclass|}}}" style="padding: 0.2em 0 0.4em; {{{imagestyle|}}}">{{{image}}}{{#if: {{{caption|}}}| | ||
<div style="padding-top: 0.2em; line-height: 1.2em; {{{captionstyle|}}}">{{{caption}}}</div>}}</td> | <div style="padding-top: 0.2em; line-height: 1.2em; {{{captionstyle|}}}">{{{caption}}}</div>}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{above | }}{{#if: {{{above|}}}| | ||
<tr> | <tr> | ||
<td class="{{{aboveclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{abovestyle|}}}"><!-- newline required for bullets to work --> | <td class="{{{aboveclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{abovestyle|}}}"><!-- newline required for bullets to work --> | ||
{{{above}}}</td> | {{{above}}}</td> | ||
}}{{#if: {{{heading1 | }}{{#if: {{{heading1|}}}| | ||
<tr> | <tr> | ||
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{#if: {{{image | <th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{#if: {{{image|}}}|padding-top: 0.4em;}} {{{headingstyle|}}};{{{heading1style|}}}">{{{heading1}}}</th> | ||
</tr> | </tr> | ||
}}{{#if: | }}{{#if: | ||
{{{content1 | {{{content1|}}}| | ||
<tr> | <tr> | ||
<td class="{{{contentclass|}}}" style="{{#if: {{{heading1|{{{heading | <td class="{{{contentclass|}}}" style="{{#if: {{{heading1|{{{heading|}}}}}}||padding-top: 0.2em;}} padding-bottom: 0.2em; {{{contentstyle|}}};{{{content1style|}}}"><!-- newline required before contents# for bullets to work --> | ||
{{{content1}}}</td> | {{{content1}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{heading2 | }}{{#if: {{{heading2|}}}| | ||
<tr> | <tr> | ||
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading2style|}}}">{{{heading2}}}</th> | <th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading2style|}}}">{{{heading2}}}</th> | ||
</tr> | </tr> | ||
}}{{#if: | }}{{#if: | ||
{{{content2 | {{{content2|}}}| | ||
<tr> | <tr> | ||
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content2style|}}}"> | <td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content2style|}}}"> | ||
{{{content2}}}</td> | {{{content2}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{heading3 | }}{{#if: {{{heading3|}}}| | ||
<tr> | <tr> | ||
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading3style|}}}">{{{heading3}}}</th> | <th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading3style|}}}">{{{heading3}}}</th> | ||
</tr> | </tr> | ||
}}{{#if: | }}{{#if: | ||
{{{content3 | {{{content3|}}}| | ||
<tr> | <tr> | ||
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content3style|}}}"> | <td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content3style|}}}"> | ||
| Строка 57: | Строка 57: | ||
</tr> | </tr> | ||
}}{{#if: | }}{{#if: | ||
{{{content4 | {{{content4|}}}| | ||
<tr> | <tr> | ||
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content4style|}}}"> | <td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content4style|}}}"> | ||
{{{content4| | {{{content4|}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{heading5|}}}| | }}{{#if: {{{heading5|}}}| | ||
| Строка 362: | Строка 362: | ||
{{{content34}}}</td> | {{{content34}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{heading35 | }}{{#if: {{{heading35|}}}| | ||
<tr> | <tr> | ||
<th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading35style|}}}">{{{heading35}}}</th> | <th class="{{{headingclass|}}}" style="padding-top: 0.2em; {{{headingstyle|}}};{{{heading35style|}}}">{{{heading35}}}</th> | ||
</tr> | </tr> | ||
}}{{#if: | }}{{#if: | ||
{{{content35 | {{{content35|}}}| | ||
<tr> | <tr> | ||
<td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content35style|}}}"> | <td class="{{{contentclass|}}}" style="padding-bottom: 0.2em; {{{contentstyle|}}};{{{content35style|}}}"> | ||
{{{content35}}}</td> | {{{content35}}}</td> | ||
</tr> | </tr> | ||
}}{{#if: {{{below | }}{{#if: {{{below|}}}| | ||
<tr> | <tr> | ||
<td class="{{{belowclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{belowstyle|}}}"> | <td class="{{{belowclass|}}}" style="padding: 0.3em 0.4em 0.3em; font-weight: bold; {{{belowstyle|}}}"> | ||
{{{below}}}</td> | {{{below}}}</td> | ||
</tr> | </tr> | ||
}}{{#switch: {{{navbar|{{{tnavbar< | }}{{#switch: {{{navbar|{{{tnavbar|<noinclude>off</noinclude>}}}}}} | ||
|none |off= | |none |off= | ||
|#default=<tr> | |#default=<tr> | ||
Версия 13:00, 2 марта 2012
{{#if: |
}}{{#if: |
}}{{#if: |
}}{{#if: |
}}{{#if: |
}}{{#if: |
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#if:
|
}}{{#if: |
}}{{#switch: off
|none |off=
|#default=}}
| {{{topimage}}}{{#if: |
{{{topcaption}}} }} |
| {{{pretitle}}} |
| {{{title}}} |
|---|
| {{{image}}}{{#if: |
{{{caption}}} }} |
| {{{above}}} |
| {{{heading1}}} |
| {{{content1}}} |
| {{{heading2}}} |
| {{{content2}}} |
| {{{heading3}}} |
| {{{content3}}} |
| {{{heading4}}} |
| {{{heading5}}} |
| {{{content5}}} |
| {{{heading6}}} |
| {{{content6}}} |
| {{{heading7}}} |
| {{{content7}}} |
| {{{heading8}}} |
| {{{content8}}} |
| {{{heading9}}} |
| {{{content9}}} |
| {{{heading10}}} |
| {{{content10}}} |
| {{{heading11}}} |
| {{{content11}}} |
| {{{heading12}}} |
| {{{content12}}} |
| {{{heading13}}} |
| {{{content13}}} |
| {{{heading14}}} |
| {{{content14}}} |
| {{{heading15}}} |
| {{{content15}}} |
| {{{heading16}}} |
| {{{content16}}} |
| {{{heading17}}} |
| {{{content17}}} |
| {{{heading18}}} |
| {{{content18}}} |
| {{{heading19}}} |
| {{{content19}}} |
| {{{heading20}}} |
| {{{content20}}} |
| {{{heading21}}} |
| {{{content21}}} |
| {{{heading22}}} |
| {{{content22}}} |
| {{{heading23}}} |
| {{{content23}}} |
| {{{heading24}}} |
| {{{content24}}} |
| {{{heading25}}} |
| {{{content25}}} |
| {{{heading26}}} |
| {{{content26}}} |
| {{{heading27}}} |
| {{{content27}}} |
| {{{heading28}}} |
| {{{content28}}} |
| {{{heading29}}} |
| {{{content29}}} |
| {{{heading30}}} |
| {{{content30}}} |
| {{{heading31}}} |
| {{{content31}}} |
| {{{heading32}}} |
| {{{content32}}} |
| {{{heading33}}} |
| {{{content33}}} |
| {{{heading34}}} |
| {{{content34}}} |
| {{{heading35}}} |
| {{{content35}}} |
| {{{below}}} |
| Шаблон:Navbar |
Ошибка Lua: Внутренняя ошибка: Интерпретатор завершил работу со статусом 1.