<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://zh.enter-politics.com/index.php?action=history&amp;feed=atom&amp;title=User%3ADrTompkins%2FTemplate%3AImage-clip</id>
	<title>User:DrTompkins/Template:Image-clip - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://zh.enter-politics.com/index.php?action=history&amp;feed=atom&amp;title=User%3ADrTompkins%2FTemplate%3AImage-clip"/>
	<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Image-clip&amp;action=history"/>
	<updated>2026-06-22T01:31:17Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Image-clip&amp;diff=11767&amp;oldid=prev</id>
		<title>DrTompkins：导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Image-clip&amp;diff=11767&amp;oldid=prev"/>
		<updated>2023-04-12T04:44:17Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2023年4月12日 (三) 04:44的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;zh&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>DrTompkins</name></author>
	</entry>
	<entry>
		<id>https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Image-clip&amp;diff=11766&amp;oldid=prev</id>
		<title>zhmoe&gt;Lihb：搬运/同步自萌娘百科的同名条目</title>
		<link rel="alternate" type="text/html" href="https://zh.enter-politics.com/index.php?title=User:DrTompkins/Template:Image-clip&amp;diff=11766&amp;oldid=prev"/>
		<updated>2022-12-21T15:39:57Z</updated>

		<summary type="html">&lt;p&gt;搬运/同步自萌娘百科的同名条目&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#ifeq:{{#var:Image-clipCSS|0}}|0|&amp;lt;templatestyles src=&amp;quot;Image-clip/styles.css&amp;quot;/&amp;gt;{{#vardefine:Image-clipCSS|1}}}}&amp;lt;div style=&amp;quot;display:none!important;&amp;quot;&amp;gt;[[File:{{{img|}}}|{{{宽|{{{width|}}}}}}px]]&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;image-clip&amp;quot; style=&amp;quot;width:{{{wd|}}}px;height:{{{ht|}}}px;{{{img-css|}}}&amp;quot;&amp;gt;{{#if:{{{link|}}}&lt;br /&gt;
  |[[{{{link|}}}|&amp;lt;div style=&amp;quot;{{#if:{{{x|}}}|margin-left:{{#expr:-{{{x}}}}}px;}}{{#if:{{{y|}}}|margin-top:{{#expr:-{{{y}}}}}px;}}&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;{{filepath:{{{img|}}}|{{{宽|{{{width|}}}}}}}}&amp;quot; srcset=&amp;quot;{{filepath:{{{img|}}}|{{#expr:2*0{{{宽|{{{width|}}}}}}}}}} 2x&amp;quot; style=&amp;quot;width:{{{width|}}}px&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;]]&lt;br /&gt;
  |&amp;lt;div style=&amp;quot;{{#if:{{{x|}}}|margin-left:{{#expr:-{{{x}}}}}px;}}{{#if:{{{y|}}}|margin-top:{{#expr:-{{{y}}}}}px;}}&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;{{filepath:{{{img|}}}|{{{宽|{{{width|}}}}}}}}&amp;quot; srcset=&amp;quot;{{filepath:{{{img|}}}|{{#expr:2*0{{{宽|{{{width|}}}}}}}}}} 2x&amp;quot; style=&amp;quot;width:{{{width|}}}px&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
}}&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{doc|content=这个模板在功能上等效为{{tl|Image}}的简化版本，主要用于解决以下几个问题：&lt;br /&gt;
#Popup预览出现的位置不合理；&lt;br /&gt;
#读者需要下载的图片过大；&lt;br /&gt;
#多次调用且在模板中嵌套调用（常见于各大家族模板）时展开长度过大。&lt;br /&gt;
&lt;br /&gt;
本模板会自动确保图片被引用&lt;br /&gt;
==参数==&lt;br /&gt;
{{(!}}class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!参数!!说明&lt;br /&gt;
{{!-}}&lt;br /&gt;
{{!}}img{{!!}}站内图片文件名，必需&lt;br /&gt;
{{!-}}&lt;br /&gt;
{{!}}width{{!!}}显示的图片宽度（不含单位，默认px），最终效果可能因裁剪而比这个宽度小&lt;br /&gt;
{{!-}}&lt;br /&gt;
{{!}}宽{{!!}}下载的图片宽度（不含单位，默认px），省略时使用width参数，值为空时下载原图（建议仅当避免缩略图水印时下载原图）&lt;br /&gt;
{{!-}}&lt;br /&gt;
{{!}}link{{!!}}内部链接&lt;br /&gt;
{{!-}}&lt;br /&gt;
{{!}}wd{{!!}}裁剪后的宽度（不含单位，默认px）&lt;br /&gt;
{{!-}}&lt;br /&gt;
{{!}}ht{{!!}}裁剪后的高度（不含单位，默认px）&lt;br /&gt;
{{!-}}&lt;br /&gt;
{{!}}img-css{{!!}}其他所有图片样式，常见的如border、border-radius、box-shadow等&lt;br /&gt;
{{!-}}&lt;br /&gt;
{{!}}x{{!!}}左侧裁剪距离（不含单位，默认px）&lt;br /&gt;
{{!-}}&lt;br /&gt;
{{!}}y{{!!}}上部裁剪距离（不含单位，默认px）&lt;br /&gt;
{{!)}}&lt;br /&gt;
==示例==&lt;br /&gt;
===作为内部链接===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{image-clip|img=星空列车与白的旅行 face all.png|width=700|wd=100|ht=114|img-css=border-radius:0 0 50px 50px|y=1|link=诺瓦(星空列车与白的旅行)}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{image-clip|img=星空列车与白的旅行 face all.png|width=700|wd=100|ht=114|img-css=border-radius:0 0 50px 50px|y=1|link=诺瓦(星空列车与白的旅行)}}&lt;br /&gt;
===不作为内部链接===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{image-clip|img=星空列车与白的旅行 face all.png|width=700|wd=100|ht=114|img-css=border-radius:0 0 50px 50px|y=1}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{image-clip|img=星空列车与白的旅行 face all.png|width=700|wd=100|ht=114|img-css=border-radius:0 0 50px 50px|y=1}}&lt;br /&gt;
{{图像模板}}&lt;br /&gt;
}}[[category:图像模板]][[Category:使用模板样式的模板]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>zhmoe&gt;Lihb</name></author>
	</entry>
</feed>