Шаблон:Annotated image 4: відмінності між версіями

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку
[перевірена версія][перевірена версія]
Вилучено вміст Додано вміст
мНемає опису редагування
актуалізовано запозичення 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"> [[File:{{{image}}}|{{{image-width|300}}}px|alt={{{alt|}}}|{{#ifeq:{{{nolink|}}}|yes|link=|link={{{link|COMMONS:File:{{{image}}}}}}}}]]
<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|&nbsp;[[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|&nbsp;[[Image:Desc-20.png|15px|link=COMMONS:File:{{{image}}}]]}}</div>}}
</div><!-- end thumb --></includeonly>
</div><!-- end thumbinner -->
</div><!-- end thumb --></includeonly><noinclude>
{{документація}}
</noinclude>

Версія за 18:49, 28 червня 2016

{{i}} Документація шаблону[перегляд] [редагувати] [історія] [очистити кеш]