编辑“︁
Template:Overlay/doc
”︁(章节)
跳转到导航
跳转到搜索
这是
Overlay
模板的
文档页面
。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
===Purpose=== ====Image overlay==== Allows image numbered, textual number, or colour tag overlays to be positioned over an image to indicate particular features in the image. Up to 30 overlays can be positioned over the image. Any overlay can be placed over the image up to 3 times, to indicate multiple locations of the same feature in the image. The overlays can be coloured red, blue, or green, for example [[File:1 white, red rounded rectangle.svg|50x13px]], [[File:1 white, blue rounded rectangle.svg|50x13px]], [[File:1 white, green rounded rectangle.svg|50x13px]]. The default colour is red. The colour of each overlay can be individually set. Each overlay inherits its colour from the previous overlay, so only the first of any colour grouped overlays needs to have its colour set. Each overlay is configurably wikilinkable by the template. The overlays can be turned off by setting overlay to 'no', which will result in the only the image and legend being displayed. This is particularly useful when the image itself already includes the overlays and-or colour tagging. See [[#Spider's main organs (pre labelled image)|Spider's main organs]] below for example. ====Overlay legend==== A legend of the text for each overlay is displayed by default, in 3 columns, under the image. The legend can be turned off by setting the number of columns to '0'. The legend can be grouped into groups of overlays, explicitly up to 6 groups. Each explicit legend grouping can optionally be given a title. The number of overlay legend text items in each column is automatically balanced by the template across the columns within each legend grouping. If the start overlay item for the first explicit grouping is after the first overlay item then the overlay text items from the first overlay up to but not including the first explicitly grouped overly item are displayed as an untitled grouping before the first explicit group. If an end overlay item is specified for any explicit grouping and there is no following explicit grouping, then the remainder of the overlay items are displayed as an untitled grouping after the last explicit group. By setting the start of the first explicit grouping after the first overlay item and the end of the sixth explicit grouping before the last overlay item, effectively 8 groupings can be configured, the first and eighth being untitled.
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息