Шаблон:Hider: различия между версиями
Перейти к навигации
Перейти к поиску
| [непроверенная версия] | [непроверенная версия] |
Relax (обсуждение | вклад) (Новая страница: «<div class="NavFrame {{#if:{{{hidden|}}}|collapsed}}" style="{{{frame-style|}}}"> <div class="NavHead" style="{{{title-style|}}}">{{{title|}}} </div> <div...») |
Relax (обсуждение | вклад) |
||
| Строка 4: | Строка 4: | ||
{{{content}}} | {{{content}}} | ||
</div>{{#if: {{{footer|}}}|<div style="{{{footer-style|{{{title-style|}}}}}}">{{{footer}}}</div>}}</div> | </div>{{#if: {{{footer|}}}|<div style="{{{footer-style|{{{title-style|}}}}}}">{{{footer}}}</div>}}</div> | ||
| + | |||
| + | <noinclude> | ||
| + | '''Пример''' | ||
| + | <pre> | ||
| + | {{Hider | ||
| + | |title = Заголовок блока | ||
| + | |content = Содержимое <br /> <div style="text-align: right; font-style: italic;"> окончание </div> | ||
| + | |frame-style = border: 1px solid Plum; | ||
| + | |title-style = color: black; background-color: lavender; font-weight: bold; | ||
| + | |content-style = color: black; background-color: ghostwhite; text-align: left; | ||
| + | |footer = См. [[другую статью]] | ||
| + | |footer-style = background-color: lightgray; | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | {{Hider | ||
| + | |title = Заголовок блока | ||
| + | |content = Содержимое <br /> <div style="text-align: right; font-style: italic;"> окончание </div> | ||
| + | |frame-style = border: 1px solid Plum; | ||
| + | |title-style = color: black; background-color: lavender; font-weight: bold; | ||
| + | |content-style = color: black; background-color: ghostwhite; text-align: left; | ||
| + | |footer = См. [[другую статью]] | ||
| + | |footer-style = background-color: lightgray; | ||
| + | }} | ||
| + | </noinclude> | ||
Версия 12:49, 26 июля 2011
{{{content}}}
Пример
{{Hider
|title = Заголовок блока
|content = Содержимое <br /> <div style="text-align: right; font-style: italic;"> окончание </div>
|frame-style = border: 1px solid Plum;
|title-style = color: black; background-color: lavender; font-weight: bold;
|content-style = color: black; background-color: ghostwhite; text-align: left;
|footer = См. [[другую статью]]
|footer-style = background-color: lightgray;
}}