编辑“︁
Template:Overlay/doc
”︁(章节)
跳转到导航
跳转到搜索
这是
Overlay
模板的
文档页面
。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
==Template parameters== {| class="wikitable" style="background-color:white" | style="background-color:whitesmoke" | '''Parameter Name''' | style="background-color:whitesmoke" | '''Required''' | style="background-color:whitesmoke" | '''Description''' | style="background-color:whitesmoke" | '''Values''' |- | image || no || The image. If not set then only the legend is presented. || Image file name. |- | width || no || Width of the image in pixels. Defaults to 500. || Number. |- | height || no || Height of the image in pixels. Defaults to 500. || Number. |- | columns || no || The number of columns to display the legend in. Defaults to 3. Set to 0 to not display any legend. || Number == 0, 1, 2, 3, . . . |- | grid || no || Set to 'yes' to turn on the coordinate grid to allow easier determination of overlay coorindates while editting. Defaults to 'no'. All values other than 'yes' are equivalent to 'no'. || Text == yes. |- | link || no || Set to 'yes' to turn on default linking of overlay and legend entry. Defaults to 'no'. All values other than 'yes' are equivalent to 'no'. || Text == yes. |- | legendbox || no || Set to 'no' to turn off a box / border around each legend group set of overlays. Defaults to 'yes'. All other values other than 'no' are equivalent to 'yes'. || Text == no. |- | float || no || Floats the image and legend. Defaults to centering the image and legend on the page. || Text == right, left. |- | overlay || no || Determines whether or not the overlays are presented when an image is available. Defaults to 'yes'. All values other than 'no' are equivalent to 'yes'. || Text == no. |- | border || no || Determines whether or not a border is placed around the whole presentation. Defaults to 'yes'. All values other than 'no' are equivalent to 'yes'. || Text == no. |- | legend1title || no || Text for legend1 title. || Optionally linked text. |- | legend1start || no || The number of the first overlay to appear in legend1. Defaults to the first overlay set, otherwise to the previous legend end plus 1 if there is a previous legend. || Number == 1, . ., 30. |- | legend1end || no || The number of the last overlay to appear in legend1. Defaults to the next legend start less 1 if there is a next legend, otherwise to the last set overlay. || Number == 1, . ., 30. |- | || colspan="2" | Both legend starts and legend ends do not need to be provided. Legend starts only, or, legend ends only, for each legend may be provided. || |- | overlay1form || no || The form of the overlays. The default form is an image number, for example, [[File:1 white, red rounded rectangle.svg|50x13px]]. Other settings allow textual numbers, for example, <span style="color:red">1</span>, or coloured tags, for example, <span style="background-color:red"> </span>. Defaults to the previous overlay form, or to 'image' if no previous overlay form. || Text == image, text, colour/color. |- | overlay1 || no || Text for overlay1 for the legend. Defaults to overlay1tip if any. || Text. Do not link. The template will link. |- | overlay1colour || no || Colour of overlay1. Defaults to the previous overlay colour, or to 'red' if no previous overlay colour. || Text == red, green, blue. |- | overlay1tip || no || Pop up tool tip text to appear when the screen pointer is over overlay1. Defaults to overlay1. || Text. |- | overlay1left || no || Distance in pixels of the left edge of overlay1 from the left side of the image. || Number. |- | overlay1top || no || Distance in pixels of the top edge of overlay1 from the top side of the image. || Number. |- | overlay1link || no || Text to be used as a link for the overlay legend text. Defaults to overlay1 if link is not set to no. || Text. Do not link. |- | overlay1left1 || no || The same as overlay1left. || As per overlay1left. |- | overlay1top1 || no || The same as overlay1top. || As per overlay1top. |- | overlay1left2 || no || The left ordinate for a second position of overlay1. || As per overlay1left. |- | overlay1top2 || no || The top ordinate for a second position of overlay1. || As per overlay1top. |- | overlay1left3 || no || The left ordinate for a third position of overlay1. || As per overlay1left. |- | overlay1top3 || no || The top ordinate for a third position of overlay1. || As per overlay1top. |} <includeonly> <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> [[Category:Graphic templates|Overlay]] </includeonly>
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息