站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
▼
建站程序
开发
服务器
办公软件
开发教程
▼
服务器教程
软件使用教程
运营教程
热门电子书
▼
CSS教程
WordPress教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
热点词条
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Codex:Styles
”(章节)
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
==在Codex内使用图像== Images related to WordPress and WordPress articles are welcome in the Codex. We do have some "rules" about the images. Codex中欢迎与WordPress和WordPress文章相关的图像。我们为图像设定一些"规则"。 * DO NOT use spaces in the file names. Dashes are acceptable. *不要在文件名内使用空格。可以接受破折号。 * Name it what it is, not its usage or description. For example, <tt>this-is-a-screen-shot-of-link-manager.png</tt> is not clear. Use <tt>link-manager-panel.png</tt>. *是什么,就将其命名为什么,而不是命名为其用法或者描述。如,<tt>this-is-a-screen-shot-of-link-manager.png</tt>不清楚。请使用<tt>link-manager-panel.png</tt>。 * Keep image width no larger than 600 pixels, if possible. *如果可能的话,将图像的宽度设置在600像素范围之内。 * Keep files sizes small, preferably below 60K when possible. *可能的话,尽量将文件大小设置地小一些,最好在60K以下。 * The file types preferred are <tt>jpg</tt> and <tt>png</tt>. The <tt>png</tt> files tend to be best. *偏爱的文件类型有<tt>jpg</tt> 和 <tt>png</tt>。<tt>png</tt>文件是最好的。 * If you resize an image to make it much smaller, be sure and sharpen it before saving and uploading. *如果你重新调整图像的大小,使得图像更小,确定保存上传图像之前,已经调整了图像大小。 * If you have uploaded an image incorrectly, upload a new version and let one of the [[WordPress:Documentation team]] know to delete the old image. *如果你没有适当地上传图像,上传一个新的版本,使得[[WordPress:Documentation team|文件小组]]中的一员删除旧的图像。 You can use images within the Codex as full-sized or thumbnails. 你可以在Codex中使用完整的图像或者图像的缩略图。 To use images within the Codex: 在Codex内使用图像: <nowiki>[[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress Default Theme]]</nowiki> <nowiki>[[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress 默认主题]]</nowiki> [[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress Default Theme - Single Post Look]]Will create the image floated to the right in a thumbnail with a caption. [[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress 默认主题 – 单篇文章外观]]会创建带有标题的图像缩略图,悬浮在右边。 To put an image floated to the right or left that is not a thumbnail: 将不是缩略图的图像悬浮在右边或者左边: <nowiki>[[WordPress:Image:leaf.gif|left]]</nowiki> <nowiki>[[WordPress:Image:leaf.gif|左边]]</nowiki> <div style="border:1px solid blue; width:50%; margin: 20px; padding:20px">[[WordPress:Image:leaf.gif|left]]The image of the leaf will float to the left without a link or a border around it. It is simply a graphic used to set an example of floating an image to the left (or right) of text, as exemplified in the article [[WordPress:Wrapping Text Around Images]].</div> <div style="border:1px solid blue; width:50%; margin: 20px; padding:20px">[[WordPress:Image:leaf.gif|叶子]]叶子的图像悬浮在左边,不带有链接或者边框。只是个图像,作为在文本的左边(或者右边)悬浮图像的例子,在文章[[WordPress:Wrapping Text Around Images|在图像周围包裹文本]]中得到说明。</div> To put an image floated to the right (or left) with a caption that is not a thumbnail use: 将图像悬浮在右边(或者左边),标题并不简短,请使用: <nowiki>[[WordPress:Image:leaf.gif|right|frame|Image of a leaf]]</nowiki> <nowiki>[[WordPress:Image:leaf.gif|right|frame|叶子的图像]]</nowiki> <div style="border:1px solid blue; width:50%; margin: 20px; padding:32px">[[WordPress:Image:leaf.gif|right|frame|Image of a leaf]]This examples puts a frame around a non-thumbnail image so the text will wrap around the image. The image will sit in a bordered container with a caption but with no link signaling a larger version of the image. Though the picture itself is still a link to view it separately, it is not an enlarged version. This is useful for small images that require a caption.</div> <div style="border:1px solid blue; width:50%; margin: 20px; padding:32px">[[WordPress:Image:leaf.gif|right|frame|叶子的图像]]这个例子将框架设置在非缩略图图像的周围,这样文本就会包围图像。这个图像会位于有边框的container中,带有标题,但是没有链接到更大版本的图像的链接。虽然图像本身仍然是个链接,点击可以单独地查看图像,但是图像不是个可扩展的版本。对于需要标题的小图像,这很有用。</div>
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)