舰R百科是靠无数志愿编辑者持续地建设更新完善的。编辑非常简单,无需代码知识,请勇于更新页面!
编辑入门 | 资助百科 | 留言讨论页 | 微博@舰R百科 | 百科编辑讨论Q群:366818861

微件:ImgTag

舰R百科,玩家自由编辑的战舰少女R百科
Laoweek留言 | 贡献2024年11月9日 (六) 01:28的版本 (创建页面,内容为“<img {* Required attribute *} {if $src}src="{$src}"{/if} {* Core attributes *} {if $alt}alt="{$alt}"{/if} {if $width}width="{$width}"{/if} {if $height}height="{$height}"{/if} {* Loading behavior *} {if $loading}loading="{$loading}"{/if} {if $decoding}decoding="{$decoding}"{/if} {if $fetchpriority}fetchpriority="{$fetchpriority}"{/if} {* Responsive image attributes *} {if $sizes}sizes="{$sizes}"{/if} {if $sr…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

<img

   {* Required attribute *}
   {if $src}src="{$src}"{/if}
   {* Core attributes *}
   {if $alt}alt="{$alt}"{/if}
   {if $width}width="{$width}"{/if}
   {if $height}height="{$height}"{/if}
   {* Loading behavior *}
   {if $loading}loading="{$loading}"{/if}
   {if $decoding}decoding="{$decoding}"{/if}
   {if $fetchpriority}fetchpriority="{$fetchpriority}"{/if}
   {* Responsive image attributes *}
   {if $sizes}sizes="{$sizes}"{/if}
   {if $srcset}srcset="{$srcset}"{/if}
   {* Security and privacy *}
   {if $crossorigin}crossorigin="{$crossorigin}"{/if}
   {if $referrerpolicy}referrerpolicy="{$referrerpolicy}"{/if}
   
   {* Image maps *}
   {if $usemap}usemap="#{$usemap}"{/if}
   {if $ismap}ismap{/if}
   {* Performance monitoring *}
   {if $elementtiming}elementtiming="{$elementtiming}"{/if}
   {* Attribution reporting - Experimental *}
   {if $attributionsrc}attributionsrc="{$attributionsrc}"{/if}
   {* Standard HTML attributes *}
   {if $id}id="{$id}"{/if}
   {if $class}class="{$class}"{/if}
   {if $style}style="{$style}"{/if}
   {if $title}title="{$title}"{/if}
   {* Accessibility *}
   {if $role}role="{$role}"{/if}
   {if $aria}
       {foreach $aria as $key => $value}
           aria-{$key}="{$value}"
       {/foreach}
   {/if}
   {* Data attributes *}
   {if $data_attributes}
       {foreach $data_attributes as $key => $value}
           data-{$key}="{$value}"
       {/foreach}
   {/if}

/>