Template:Pic:修订间差异

来自广州交通维基 - Canton Trans Wiki
跳到导航 跳到搜索
无编辑摘要
(已保护“Template:Pic”:​核心模板([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))[连锁保护])
 
(未显示2个用户的5个中间版本)
第1行: 第1行:
<includeonly>{|align="{{{对齐}}}"
<includeonly>{|align={{{对齐}}} style="text-align:center" width={{{大小|600px}}}
|-
|-
|align="center" |[{{#ifeq: {{{外链| |}}}||https://z1.ax1x.com/2023/06/17/pClPwo8.jp|{{{外链}}}}} <img width="{{{大小|600px}}}" style="pointer-events: none" src="{{#ifeq: {{{外链| |}}}||https://s1.ax1x.com/2023/06/17/pClPwo8.jpg|{{{外链}}}}} "/>]
|[{{#ifeq: {{{外链|}}}||https://ctwiki.top/images/7/73/Image_unavailable.jpg|{{{外链}}}}} <img width="{{{大小|600px}}}" style="pointer-events: none" src="{{#ifeq: {{{外链|}}}||https://ctwiki.top/images/7/73/Image_unavailable.jpg|{{{外链}}}}}"/>]
|-
|-
|align="center" |'''{{{描述| }}}'''
!{{{描述|}}}
|}</includeonly><noinclude>[[Category:功能模板]]{{模板:Pic/doc}}</noinclude>
|}</includeonly><noinclude>[[Category:功能模板]]{{模板:Pic/doc}}</noinclude>

2026年3月22日 (日) 15:58的最新版本

一个用于图库的功能模板

参数

  • 外链=http、https图片链接
  • 描述=文本描述
  • 大小=图片显示大小

源码

{{pic|外链=https://s1.ax1x.com/2023/06/17/pClCf8H.md.jpg|描述=黄沙总站全景|大小=500px}}

显示

正常显示

黄沙总站全景

缺图显示

  • 如果图片外链留空,就会进入缺图显示,具体如下:
这里没有图片。