Шаблон:Annotated image 4: відмінності між версіями
Перейти до навігації
Перейти до пошуку
[перевірена версія] | [перевірена версія] |
Вилучено вміст Додано вміст
Tohaomg (обговорення | внесок) мНемає опису редагування |
актуалізовано запозичення en:Template:Annotated image 4 |
||
Рядок 1: | Рядок 1: | ||
<includeonly><div class="thumb {{#switch: {{{align|}}} | left = tleft|center = center|centre = center| right|#default = tright}}" {{#ifeq: {{{align|}}}|center|style="margin: 1em auto;"}}> |
<includeonly><div class="thumb {{#switch: {{{align|}}} | left = tleft|center = center|centre = center| right|#default = tright}}" {{#ifeq: {{{align|}}}|center|style="margin: 1em auto;"}}> |
||
<div class="thumbinner" style="width:{{#expr:{{{width|300}}}+2}}px;"> |
|||
{{#if:{{{header|}}}| |
{{#if:{{{header|}}}| |
||
<div style="clear: both; font-weight: bold; font-size: 106.4%; text-align: {{{header_align|center}}}; background-color: {{{header_background|transparent}}};margin-bottom:3px"> |
<div style="clear: both; font-weight: bold; font-size: 106.4%; text-align: {{{header_align|center}}}; background-color: {{{header_background|transparent}}};margin-bottom:3px">{{{header}}}</div> |
||
{{{header}}}</div> |
|||
}} |
}} |
||
<!--Start image wrapper--> |
<!--Start image wrapper--> |
||
<div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; overflow:hidden; background-color:{{{image-bg-color|white}}};"> |
<div style="position:relative; width:{{{width|300}}}px; height:{{{height}}}px; overflow:hidden; border:solid #ccc 1px; background-color:{{{image-bg-color|white}}};"> |
||
<!--Start annotated image--> |
<!--Start annotated image--> |
||
<div style="left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute"> [[ |
<div style="left:{{{image-left|0}}}px; top:{{{image-top|0}}}px; width:{{{image-width|300}}}px; position:absolute"> [[Image:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|{{#ifeq:{{{nolink|}}}|yes|link=|link={{{link|COMMONS:File:{{{image}}}}}}}}]] |
||
</div> <!-- end image --> |
</div> <!-- end image --> |
||
<!--Start annotations--> |
<!--Start annotations--> |
||
Рядок 15: | Рядок 15: | ||
</div><!-- end annotations --> |
</div><!-- end annotations --> |
||
</div><!-- end image wrapper --> |
</div><!-- end image wrapper --> |
||
{{#if:{{{caption|}}}|<div class="thumbcaption" style="clear:left">{{{caption}}}{{#ifeq:{{{nolink|}}}|yes| [[Image:Desc-20.png|15px|link=COMMONS:File:{{{image}}}]]}}</div>}} |
{{#if:{{{caption|}}}|<div class="thumbcaption" style="clear:left">{{#ifeq:{{{icon|}}}|none||{{{icon|[[File:interactive icon.svg|left|18px|link=|Зображення вище містить посилання, які можна натискати|alt=Зображення вище містить посилання, які можна натискати]]}}}}}{{{caption}}}{{#ifeq:{{{nolink|}}}|yes| [[Image:Desc-20.png|15px|link=COMMONS:File:{{{image}}}]]}}</div>}} |
||
</div><!-- end |
</div><!-- end thumbinner --> |
||
</div><!-- end thumb --></includeonly><noinclude> |
|||
{{документація}} |
|||
</noinclude> |
Версія за 18:49, 28 червня 2016
Документація шаблону[перегляд] [редагувати] [історія] [очистити кеш]
В іншому мовному розділі є повніша стаття Template:Annotated image 4/doc(англ.). Ви можете допомогти, розширивши поточну статтю за допомогою перекладу з англійської.
|
Документація вище включена з Шаблон:Annotated image 4/документація. (ред. | історія) Дописувачі можуть експериментувати на підсторінках пісочниця (створити | дзеркало) та тести (створити) цього шаблону. Будь ласка, додавайте категорії до підсторінки /документація. Підсторінки цього шаблону. |