微件:ImgTag:修订间差异
舰R百科,玩家自由编辑的战舰少女R百科
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第2行: | 第2行: | ||
<img | <img | ||
<!--{* Required attribute *}--> | <!--{* Required attribute *}--> | ||
<!--{if !empty($src)}-->src="<!--{$src}-->"<!--{/if}--> | <!--{if !empty($src)}-->src="<!--{$src|escape:'html'}-->"<!--{/if}--> | ||
<!--{* Core attributes *}--> | <!--{* Core attributes *}--> | ||
<!--{if !empty($alt)}-->alt="<!--{$alt}-->"<!--{/if}--> | <!--{if !empty($alt)}-->alt="<!--{$alt|escape:'html'}-->"<!--{/if}--> | ||
<!--{if !empty($width)}-->width="<!--{$width}-->"<!--{/if}--> | <!--{if !empty($width)}-->width="<!--{$width|escape:'html'}-->"<!--{/if}--> | ||
<!--{if !empty($height)}-->height="<!--{$height}-->"<!--{/if}--> | <!--{if !empty($height)}-->height="<!--{$height|escape:'html'}-->"<!--{/if}--> | ||
<!--{* Loading behavior *}--> | |||
<!--{if !empty($loading)}-->loading="<!--{$loading|escape:'html'}-->"<!--{/if}--> | |||
<!--{if !empty($decoding)}-->decoding="<!--{$decoding|escape:'html'}-->"<!--{/if}--> | |||
<!--{if !empty($fetchpriority)}-->fetchpriority="<!--{$fetchpriority|escape:'html'}-->"<!--{/if}--> | |||
<!--{* Responsive image attributes *}--> | |||
<!--{if !empty($sizes)}-->sizes="<!--{$sizes|escape:'html'}-->"<!--{/if}--> | |||
<!--{if !empty($srcset)}-->srcset="<!--{$srcset|escape:'html'}-->"<!--{/if}--> | |||
<!--{* Security and privacy *}--> | |||
<!--{if !empty($crossorigin)}-->crossorigin="<!--{$crossorigin|escape:'html'}-->"<!--{/if}--> | |||
<!--{if !empty($referrerpolicy)}-->referrerpolicy="<!--{$referrerpolicy|escape:'html'}-->"<!--{/if}--> | |||
/> | /> | ||
</includeonly> | </includeonly> | ||