Шаблон:Цитата: различия между версиями

Материал из Янтарной ноосферы, свободной интернет-энциклопедии
м (энтеры?)
(а вот в энВики шаблон гораздо проще)
Строка 1: Строка 1:
{| width={{#if:{{{4|}}}|{{{4}}}|}} style="background:transparent;" {{#if:{{{5|}}}|align="{{{5}}}"|}}
{| class="cquote" role="presentation" style="{{#switch:{{{обтекание|}}}
  | left = float:left
  | right = float:right
  | #default = margin:auto
  }}; border-collapse: collapse; border: none; background-color: {{{цветфона|transparent}}}; width: {{{width|auto}}}; {{#if: {{{цветфона|}}} | border: 1px solid #AAAAAA;}}"
| style="width: 20px; vertical-align: top; border: none; color: {{{цветкавычек|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{2|20px}}}}}}}}}}}}
|10px=20px
|30px=60px
|40px=80px
|50px=100px
|60px=120px
|#default=40px}}; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" | «
| style="vertical-align: top; border: none; padding: {{#if:{{{small|}}}|4px 2px|4px 10px}};" | {{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}
| style="width: 20px; vertical-align: bottom; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: 40px; font-weight: bold; line-height: .6em; text-align: right; padding: 10px 10px}};" | »
|-
|-
| style="vertical-align:top;" align="left" width=35px| [[Файл:Aquote1.png|30px|link=]]
{{#if:{{{автор}}}|{{#if:{{NAMESPACE}}||[[Категория:Статьи с оформленными цитатами]]}}
| style="vertical-align:top;"| {{{1}}} {{#if:{{{6|}}}|<div style="text-align:right;">{{ref-lang/{{{6}}}}}</div>|}}
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; text-align: right;" {{!}} <cite>—&thinsp;{{{автор}}}</cite>}}
| width=15px|
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
| style="vertical-align:top;"| {{{2}}} {{#if:{{{7|}}}|<div style="text-align:right;">{{ref-lang/{{{7}}}}}</div>|}}
{{documentation}}
| style="vertical-align:bottom;" align="right" width=35px| [[Файл:Aquote2.png|30px|link=]]
</noinclude>
|-
| {{#if:{{{3|-}}}|colspan="5"{{!}} {{конец цитаты|{{{3}}}}}|}}
|}<noinclude>
{{doc}}</noinclude>

Версия от 13:10, 7 сентября 2016

Документация
(для шаблона, который находится выше, иногда он невидим)
Посетите Шаблон:Цитата/doc, чтобы править этот текст. (Как это работает?)