“File:大娃再次挑战.png”与“Template:Related pages”:页面之间的差异
(页面间差异)
跳到导航
跳到搜索
imported>Func 无编辑摘要 |
imported>=海豚= 小 (文本替换 - 替换“url1”为“article1”) |
||
第1行: | 第1行: | ||
<includeonly><templatestyles src="Related pages/Related pages.css" /><h2><center>相关页面</center></h2> | |||
<div class="Related pages" style="display: flex; flex-wrap: wrap; column-gap: 5rem;transform: translateY(5%);margin-bottom: -15px;justify-content: center;"> | |||
{{hovers}} | |||
<div class="hovers-fade-shallow"> | |||
[[{{{article1}}}| | |||
<div style="height: 100px;width: 310px;background-color: #ffffffcc;border-radius: 6px;box-shadow: #00000021 0px 0px 10px;z-index: 100;position:relative;overflow: hidden;cursor: pointer;"> | |||
<div id="picture-box"> | |||
<img src="{{#if:{{{picture1}}}|{{{picture1}}}|https://img.moegirl.org.cn/common/b/b7/Transparent_Akkarin.jpg}}" width="100%"> | |||
</div> | |||
<div id="text-box"> | |||
<div style="line-height:17px;font-size: 1em;position: absolute;top: {{#if:{{{text1}}}|22|38}}px;left: {{#if:{{{text1}}}|13|24}}px;color:black;width:190px;{{#if:{{{text1}}}|transform: scale(0.93,0.93)|transform: scale(1,1)}}">{{#if:{{{title1}}}|{{{title1}}}|{{#if:{{{text1}}}||{{{article1}}}}}}}</div> | |||
<div style="overflow: hidden;word-break:break-al;line-height: 14px;position: absolute;top:{{#if:{{{title1}}}|44|33}}px;left: 20px;font-size: 0.76em;width: 168px;opacity: 0.6;color:black">{{{text1}}}</div> | |||
</div> | |||
</div> | |||
]]</div> | |||
<div class="hovers-fade-shallow"> | |||
[[{{{url2}}}| | |||
<div style="height: 100px;width: 310px;background-color: #ffffffcc;border-radius: 6px;box-shadow: #00000021 0px 0px 10px;z-index: 100;position:relative;overflow: hidden;cursor: pointer;"> | |||
<div id="picture-box"> | |||
<img src="{{#if:{{{picture2}}}|{{{picture2}}}|https://img.moegirl.org.cn/common/b/b7/Transparent_Akkarin.jpg}}" width="100%"> | |||
</div> | |||
<div id="text-box"> | |||
<div style="line-height:17px;font-size: 1em;position: absolute;top: {{#if:{{{text2}}}|22|38}}px;left: {{#if:{{{text2}}}|13|24}}px;color:black;width:190px;{{#if:{{{text2}}}|transform: scale(0.93,0.93)|transform: scale(1,1)}}">{{#if:{{{title2}}}|{{{title2}}}|{{#if:{{{text2}}}||{{{url2}}}}}}}</div> | |||
<div style="overflow: hidden;word-break:break-al;line-height: 14px;position: absolute;top:{{#if:{{{title2}}}|44|33}}px;left: 20px;font-size: 0.76em;width: 168px;opacity: 0.6;color:black">{{{text2}}}</div> | |||
</div> | |||
</div> | |||
]]</div> | |||
<div class="hovers-fade-shallow"> | |||
[[{{{url3}}}| | |||
<div style="height: 100px;width: 310px;background-color: #ffffffcc;border-radius: 6px;box-shadow: #00000021 0px 0px 10px;z-index: 100;position:relative;overflow: hidden;cursor: pointer;"> | |||
<div id="picture-box"> | |||
<img src="{{#if:{{{picture3}}}|{{{picture3}}}|https://img.moegirl.org.cn/common/b/b7/Transparent_Akkarin.jpg}}" width="100%"> | |||
</div> | |||
<div id="text-box"> | |||
<div style="line-height:17px;font-size: 1em;position: absolute;top: {{#if:{{{text3}}}|22|38}}px;left: {{#if:{{{text3}}}|13|24}}px;color:black;width:190px;{{#if:{{{text3}}}|transform: scale(0.93,0.93)|transform: scale(1,1)}}">{{#if:{{{title3}}}|{{{title3}}}|{{#if:{{{text3}}}||{{{url3}}}}}}}</div> | |||
<div style="overflow: hidden;word-break:break-al;line-height: 14px;position: absolute;top:{{#if:{{{title3}}}|44|33}}px;left: 20px;font-size: 0.76em;width: 168px;opacity: 0.6;color:black">{{{text3}}}</div> | |||
</div> | |||
</div> | |||
]]</div> | |||
</div> | |||
</includeonly> | |||
<noinclude> | |||
代码: | |||
<pre> | |||
{{相关页面 | |||
|article1= 萌百:心形眼 | |||
|picture1= https://commons.moegirl.org.cn/thumb.php?f=60e25f705c2305fec80ae8dbccef701e.jpg&width=125 | |||
|title1= 心形眼 | |||
|text1= | |||
|url2= 萌百:心形瞳孔 | |||
|picture2= https://commons.moegirl.org.cn/thumb.php?f=%E5%BF%83%E5%BD%A2%E7%9E%B3%E5%AD%94.jpg&width=125 | |||
|title2= 心形瞳孔 | |||
|text2= | |||
|url3= 萌百:十字瞳孔 | |||
|picture3= https://commons.moegirl.org.cn/thumb.php?f=Nia_Teppelin.jpg&width=125 | |||
|title3= 十字瞳孔 | |||
|text3= | |||
}} | |||
</pre> | |||
效果: | |||
{{相关页面 | |||
|article1= 萌百:心形眼 | |||
|picture1= https://commons.moegirl.org.cn/thumb.php?f=60e25f705c2305fec80ae8dbccef701e.jpg&width=125 | |||
|title1= 心形眼 | |||
|text1= | |||
|url2= 萌百:心形瞳孔 | |||
|picture2= https://commons.moegirl.org.cn/thumb.php?f=%E5%BF%83%E5%BD%A2%E7%9E%B3%E5%AD%94.jpg&width=125 | |||
|title2= 心形瞳孔 | |||
|text2= | |||
|url3= 萌百:十字瞳孔 | |||
|picture3= https://commons.moegirl.org.cn/thumb.php?f=Nia_Teppelin.jpg&width=125 | |||
|title3= 十字瞳孔 | |||
|text3= | |||
}} | |||
</noinclude> |
2021年7月22日 (四) 10:53的版本
代码:
{{相关页面 |article1= 萌百:心形眼 |picture1= https://commons.moegirl.org.cn/thumb.php?f=60e25f705c2305fec80ae8dbccef701e.jpg&width=125 |title1= 心形眼 |text1= |url2= 萌百:心形瞳孔 |picture2= https://commons.moegirl.org.cn/thumb.php?f=%E5%BF%83%E5%BD%A2%E7%9E%B3%E5%AD%94.jpg&width=125 |title2= 心形瞳孔 |text2= |url3= 萌百:十字瞳孔 |picture3= https://commons.moegirl.org.cn/thumb.php?f=Nia_Teppelin.jpg&width=125 |title3= 十字瞳孔 |text3= }}
效果:
相关页面
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2022年11月20日 (日) 09:12 | 559 × 938(92 KB) | Maintenance script(讨论 | 贡献) | == 摘要 == Importing file |
您不可以覆盖此文件。
文件用途
以下页面使用本文件: