站长百科 | 数字化技能提升教程 数字化时代生存宝典
首页
数字化百科
电子书
建站程序
开发
服务器
办公软件
开发教程
服务器教程
软件使用教程
运营教程
热门电子书
WordPress教程
宝塔面板教程
CSS教程
Shopify教程
导航
程序频道
推广频道
网赚频道
人物频道
网站程序
网页制作
云计算
服务器
CMS
论坛
网店
虚拟主机
cPanel
网址导航
WIKI使用导航
WIKI首页
最新资讯
网站程序
站长人物
页面分类
使用帮助
编辑测试
创建条目
网站地图
站长百科导航
站长百科
主机侦探
IDCtalk云说
跨境电商导航
WordPress啦
站长专题
网站推广
网站程序
网站赚钱
虚拟主机
cPanel
网址导航专题
云计算
微博营销
虚拟主机管理系统
开放平台
WIKI程序与应用
美国十大主机
编辑“
WordPress:Sandbox
”
人物百科
|
营销百科
|
网赚百科
|
站长工具
|
网站程序
|
域名主机
|
互联网公司
|
分类索引
跳转至:
导航
、
搜索
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
=Demo Sandbox= =Demo Sandbox= <!-- comment here Used to leave comments in a page for future editors --> <!—在这里发表评论,用来在网页上发表评论,便于以后编辑--> If you are a new user, please take note of the 6 "Codex tools" links in the top right corner of this page. On your left and right are WordPress navigation links. The middle column is where your changes will show. Enjoy! 如果你是个新用户,请注意这个页面的有顶拐角的6 "Codex 工具"。在你的左边和右边是WordPress导航链接。你在中间的栏中显示更改。玩的开心! The "Sandbox" is used to [http://codex.wordpress.org/Help:Editing Help Leave Examples] in a page for future editors. Also check out [[WordPress:Codex:Styles|Codex Styles, Formatting, and Layout]] for more tips on the structure and presentation of the Codex. "Sandbox"是用来[http://codex.wordpress.org/帮助:Editing Help Leave Examples] in a page for future editors。同时查看[[WordPress:Codex:Styles|Codex 样式,格式和布局]]查找更多关于Codex结构和样式的小贴士。 '''ANNOUNCEMENT: Guidelines Updated as of March 7'''{{Newpage}} '''声明: 从3月7日开始,就更新了指南'''{{Newpage}} {{Preview}} {{预览}} TEST TEST TEST------------ 测试 测试 测试------------ <!-- New section --> Viva La Sasau <!—新的部分 --> Viva La Sasau == AFHAM == == AFHAM == <h3><span style="color:red;">food supplier</span> fabulous</h3> ''feel the taste and feel good'' <br> <h3><span style="color:red;">食品供应商</span>难以置信的</h3> ''品尝感觉一下'' <br> '''try the best food and feel the revelations of tremendous recipe spiced and hardened. ''' <br> '''品尝最好的美食,探查优异的食谱怎样调出美食的。 ''' <br> '''place order now and get 20 % discount today...... ''' <br> '''现在订购,今天能够得到20%的折扣...... ''' <br> <small> feel the spices and get rid of your stress through the taste.. </small> <br> <small> 品尝美食,缓解工作生活压力。.. </small> <br> <h3><span style="color:blue;"> choice is yours and order now </span><tt> <br> <h3><span style="color:blue;"> 由你决定,现在订购吧</span><tt> <br> <!-- CATERING --> <!—公共饮食业 --> ==Subsection 1.1.2.A== == New section == hello ==子部分1.1.2.A== == 新部分== 你好 == Headline text == ===bar foo=== == 大字标题文本== ===bar foo=== * Donec non orci eleifend enim luctus sagittis. * Donec venenatis adipiscing odio. * Maecenas placerat. * Curabitur bibendum tristique sem. # Etiam lobortis posuere risus. # Nunc interdum tortor sit amet elit. # Integer nec lectus nec ante sagittis accumsan. # Praesent convallis. [[WordPress:Glossary#Apache|Apache]] [[WordPress:Glossary#Apache]] [[WordPress:Glossary#Apache|Apache]] [[WordPress:Glossary#Apache| Glossary#Apache]] <!-- New Subsection --> <!—新的子部分 --> [[WordPress:User:IsaacSchlueter|IsaacSchlueter]] 16:11, 13 Sep 2005 (GMT) [[WordPress:User:IsaacSchlueter|IsaacSchlueter]] 2005年9月13日,16:11 (格林尼治标准时间) ==Subsection 1.1.3== <!-- Feel free to play around with this text --> ==子部分 1.1.3== <!—自由地处理这个文本--> ===Aenean ultricies=== Aenean ultricies neque. Quisque sapien. Pellentesque nulla metus, aliquam id, viverra a, ultricies in, risus. In hac habitasse platea dictumst. Donec eget turpis. Aenean ut lectus. Nam sed enim sit amet lacus sodales sagittis. Morbi nec sem. Mauris elit. Curabitur ullamcorper, ligula in luctus blandit, elit mi posuere nisl, et tincidunt ligula lorem nec ante. Vivamus accumsan justo a risus. Aliquam ac orci ut quam luctus dictum. Nunc neque nibh, dapibus at, accumsan vitae, consectetuer eu, justo. Integer dignissim tempor diam. Cras nibh wisi, commodo sit amet, scelerisque sed, aliquet quis, neque. Curabitur blandit lacus vitae purus pellentesque blandit. Proin quis pede. Phasellus vestibulum. Integer fermentum, lacus vitae dictum sollicitudin, urna leo eleifend leo, ut congue enim tellus sed arcu. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed lorem. Aliquam sem urna, tincidunt nec, molestie quis, viverra vel, leo. Nam eleifend. Fusce volutpat venenatis neque. Sed sodales, arcu eu sodales viverra, ligula turpis consequat sem, et gravida risus lorem id dui. Duis pede. In vulputate magna vel eros. Ut dictum leo et tellus. Praesent volutpat. Sed quam. Sed luctus lacinia dolor. Pellentesque vel urna id est ullamcorper venenatis. Sed posuere vestibulum libero. Vestibulum tincidunt elementum nunc. Integer scelerisque mattis lacus. Suspendisse auctor elit id felis. Curabitur placerat magna quis elit. Donec auctor nonummy arcu. Vivamus porttitor tincidunt mauris. Ut at massa eget libero bibendum nonummy. [[WordPress:Wikipedia:Lorem ipsum|Lorem ipsum]] text generated at http://www.lipsum.com/feed/html ===Aenean ultricies=== Aenean ultricies neque. Quisque sapien. Pellentesque nulla metus, aliquam id, viverra a, ultricies in, risus. In hac habitasse platea dictumst. Donec eget turpis. Aenean ut lectus. Nam sed enim sit amet lacus sodales sagittis. Morbi nec sem. Mauris elit. Curabitur ullamcorper, ligula in luctus blandit, elit mi posuere nisl, et tincidunt ligula lorem nec ante. Vivamus accumsan justo a risus. Aliquam ac orci ut quam luctus dictum. Nunc neque nibh, dapibus at, accumsan vitae, consectetuer eu, justo. Integer dignissim tempor diam. Cras nibh wisi, commodo sit amet, scelerisque sed, aliquet quis, neque. Curabitur blandit lacus vitae purus pellentesque blandit. Proin quis pede. Phasellus vestibulum. Integer fermentum, lacus vitae dictum sollicitudin, urna leo eleifend leo, ut congue enim tellus sed arcu. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed lorem. Aliquam sem urna, tincidunt nec, molestie quis, viverra vel, leo. Nam eleifend. Fusce volutpat venenatis neque. Sed sodales, arcu eu sodales viverra, ligula turpis consequat sem, et gravida risus lorem id dui. Duis pede. In vulputate magna vel eros. Ut dictum leo et tellus. Praesent volutpat. Sed quam. Sed luctus lacinia dolor. Pellentesque vel urna id est ullamcorper venenatis. Sed posuere vestibulum libero. Vestibulum tincidunt elementum nunc. Integer scelerisque mattis lacus. Suspendisse auctor elit id felis. Curabitur placerat magna quis elit. Donec auctor nonummy arcu. Vivamus porttitor tincidunt mauris. Ut at massa eget libero bibendum nonummy. [[WordPress:Wikipedia:Lorem ipsum|Lorem ipsum]] 文本在http://www.lipsum.com/feed/html创建 <!-- New Subsection --> <!—新的子部分--> I need to test the signature ~~ [[WordPress:User:Jim Westergren|Jim Westergren]] 11:26, 28 Oct 2006 (GMT) Correct? 我需要测试署名~~ [[WordPress:User:Jim Westergren|Jim Westergren]]2006年10月28日, 11:26 (格林尼治标准时间) 正确吗? ==Subsection 1.1.4== ==子部分1.1.4== <!-- Feel free to play around with this text --> <!—自由处理这个文本 --> ===Code Example=== ===代码例子=== This is what it looks like when using <tt>pre</tt> tags: 这是使用<tt>pre</tt>标签的时候,代码的样式: <pre><?php echo "Hello, world!\n";?></pre> <pre><?php echo "你好, 世界!\n";?></pre> This is what it looks like when using a space before a line of code to autoformat the <tt><pre></tt> tag: 在一行代码之前使用空格为<tt><pre></tt>标签自动设置格式的时候,这个标签的形式: <?php echo "Hello, world!\n";?> <?php echo "你好, 世界!\n";?> This is what it looks like in <tt>code</tt> tags: 这是代码在<tt>code</tt>标签中的形式: <code> <?php echo "Hello, world!\n";?> </code> <code> <?php echo "你好, 世界!\n";?> </code> Notice that the use of <code><code></code> does not put the code example in its own box but continues the sentence, even if there are single line breaks. The Codex requires a double line break to signify a "space" line break. 注意,使用code><code></code>并不能将代码例子放入框中,即使有单个的行分隔符,句子仍然会继续。Codex需要两个行分隔符来表示用"空格" 行分隔符。 When using code in text like <tt>index.php</tt>, if you use the <code><code></code> tag, it makes a <code>blue background behind the text that gives it a cluttered look and makes the code a little harder to see.</code> If you put the code in a <tt><tt></tt> tag, <tt>the blue background is gone and the type is monospaced and "code-like" and much easier to read and cleaner.</tt> Documentation in the WordPress Codex tends to use a lot of code within the text, so we prefer the use of <tt><tt></tt> over <code><code></code> for a cleaner look. 在文本,如<tt>index.php</tt>中使用代码的时候,如果你使用<code><code></code>标签,这个标签会使得文本出现<code>蓝色背景,使得文本看起来混乱,更不容易看到代码。</code> 如果你将代码放入<tt><tt></tt>标签,<tt>蓝色背景消失了,而且类型是monospaced 和"类似代码"的,更容易阅读,也更清晰。</tt>WordPress Codex中的文件似乎在文本内使用了许多代码,因此比起<code><code></code>,我们更想要使用<tt><tt></tt>,以得到更清晰的外观。 ===Another section=== ===另一个部分=== Ah, so this is how sections work! (by adding ='s) 啊,这就是这个部分的运行方式!(通过添加='s) System.err.prinln("Fatal error!"); System.err.prinln("致命错误!"); <!-- New section --> <!—新部分 --> ===Stan's section=== ===Stan的部分=== ''' here's yet another section... ..how about a format nullifier between sections? ''' 下面是另一个部分... ..how about a format nullifier between sections? =Other Design Elements to Test= =需要测试的其它设计元素= ==Link Examples== ==链接例子== To '''NOT''' show a link in an example which uses a link use <nowiki>: '''不要'''显示例子中的链接,例子使用链接用法<nowiki>: <a title="example" href="<nowiki><nowiki>http://example.com/</nowiki></nowiki>"> <a 标题="例子" href="<nowiki><nowiki>http://example.com/</nowiki></nowiki>"> To create an example link, link to the heading in which that example is being used. If you are in an article called "Using WordPress" and showing an example under the heading "Link Examples", then the example links to the categories would be: 要创建例子链接,链接到使用例子的标头。如果你正在阅读"使用 WordPress",而且显示标头"链接例子"下面的例子,那么类别的例子链接是: <pre>* <nowiki>[[WordPress:#Link_Examples|My Life Stories]]</nowiki> * <nowiki>[[WordPress:#Link_Examples|My Family]]</nowiki> * <nowiki>[[WordPress:#Link_Examples|Sharing]]</nowiki> * <nowiki>[[WordPress:#Link_Examples|Facts and Fiction]]</nowiki></pre> <pre>* <nowiki>[[WordPress:#Link_Examples|我的生活故事]]</nowiki> * <nowiki>[[WordPress:#Link_Examples|我的家庭]]</nowiki> * <nowiki>[[WordPress:#Link_Examples|分享]]</nowiki> * <nowiki>[[WordPress:#Link_Examples|现实和虚幻]]</nowiki></pre> And the results would look like this, using the demonstration code from above (click it and see the effect): 使用上述的示范代码(点击代码,查看结果),结果看起来像: <div style="border:1px solid blue; width:50%; margin: 20px; padding:20px"> * [[WordPress:#Link_Examples|My Life Stories]] * [[WordPress:#Link_Examples|My Family]] * [[WordPress:#Link_Examples|Sharing]] * [[WordPress:#Link_Examples|Facts and Fiction]] </div> <div style="border:1px solid blue; width:50%; margin: 20px; padding:20px"> * [[WordPress:#Link_Examples|我的生活故事]] * [[WordPress:#Link_Examples|我的家庭]] * [[WordPress:#Link_Examples|分享]] * [[WordPress:#Link_Examples|事实和虚幻]] </div> To create the look of an example link, without having it actually behave like a link, you can use the <tt>span</tt> tag combined with underline to style a fake link: 要设置例子链接的外观,使得其不显示为链接,你可以将<tt>span</tt>标签与下划线用在一起,创建伪链接: <pre>See <span style="color:blue"><u>this article</u></span> for more information</pre> <pre>See <span style="color:blue"><u>这篇文章</u></span> 更多信息</pre> <div style="border:1px solid blue; width:50%; margin: 20px; padding:20px"> See <span style="color:blue"><u>this article</u></span> for more information.</div> <div style="border:1px solid blue; width:50%; margin: 20px; padding:20px"> See <span style="color:blue"><u>这篇文章</u></span>更多信息。</div> ==Images Within the Codex== To use images within the Codex: == Codex内的图像== 使用Codex内的图像: <nowiki>[[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress Default Theme]]</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. <nowiki>[[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress 默认主题]]</nowiki> [[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress 默认主题 – 单篇文章外观]]会创建带有标题的缩略图,悬浮在右边。 ==Realistic CSS== ==Realistic CSS== When a realistic example is required to show what the usage would look like in a post, use the following as an example - modifying it as needed to change the padding, width, and colors. In general, avoid using font-family references, relying on the default fonts with the Codex in order to avoid font issues with various browsers and computer systems. 当需要真正的例子显示这个用法在文章中产生的效果的时候,将下面的内容作为例子使用-更改这个例子,因为需要更改padding,宽度,和颜色。一般来说,避免使用字体集,要使用Codex中的默认字体,这样可以避免不同的浏览器和电脑系统产生的字体问题。 <div style="border:1px solid blue; width:50%; margin: 20px; padding:20px">Box in which to provide demonstration of what a code looks like when used in the "real world". I can use <span style="color:red; font-weight:bold">spans to style sections</span> and other CSS inline styles to customize the look like for this list: <div style="border:1px solid blue; width:50%; margin: 20px; padding:20px">框中显示了"现实生活"中代码看起来像是怎样的。我可以使用<span style="color:red; font-weight:bold"> spans设计部分和其它的CSS内联样式来自定义这个列表的外观: <ul><li style="color:green; font-variant:small-caps">A List Item in Small Caps</li> <ul><li style="color:green; font-variant:small-caps">用小型大写字母所写的列表内容</li> <li style="color:blue; font-style:italic; font-weight: bold">List Item in Italic and Bold</li> <li style="color:blue; font-style:italic; font-weight: bold">使用斜体和粗体列出内容</li> <li style="color:maroon; font-weight:bold; font-size: 120%">Change Size and Color</li></ul> <li style="color:maroon; font-weight:bold; font-size: 120%">更改大小和颜色</li></ul> There are limits, like you can't recreate a hover, but for the most part, all inline CSS styles can be used on the Codex to recreate a realistic example of what the usage will generate. 这些是限制,就如你不能够重新创建个hover,但是从整体来看,可以在Codex上使用所有的内联CSS样式,重新创建现实例子中的用法。 </div> And the code is this: </div> 代码是: <pre><div style="border:1px solid blue; width:50%; margin: 20px; padding:20px"> <pre><div style="border:1px solid blue; width:50%; margin: 20px; padding:20px"> Box in which to provide demonstration of what a code looks like when used in the "real world". I can use <span style="color:red; font-weight:bold">spans to style sections</span> and other CSS inline styles to customize the look like for this list: <ul> 框内显示了代码在"现实世界"中的外观。我可以使用<span style="color:red; font-weight:bold">spans设计部分</span> 使用其它的CSS inline 样式 自定义这个列表的外观: <ul> <li style="color:green; font-variant:small-caps">A List Item in Small Caps</li> <li style="color:green; font-variant:small-caps">用小型大写字母列出的列表</li> <li style="color:blue; font-style:italic; font-weight: bold">List Item in Italic and Bold</li> <li style="color:blue; font-style:italic; font-weight: bold">用斜体和粗体列出的列表</li> <li style="color:maroon; font-weight:bold; font-size: 120%">Change Size and Color</li></ul> <li style="color:maroon; font-weight:bold; font-size: 120%">更改大小和颜色</li></ul> There are limits, like you can't recreate a hover, but for the most part, all inline CSS styles can be used on the Codex to recreate a realistic example of what the usage will generate.</div></pre> 有一些限制 ,就如你不能够创建hover,但是总体而言,可以在Codex上使用所有的inline CSS样式,重新创建用法在现实生活中使用的例子。</div></pre>
摘要:
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅
Wordpress-mediawiki:版权
的细节)。
未经许可,请勿提交受版权保护的作品!
取消
编辑帮助
(在新窗口中打开)
本页使用的模板:
模板:Newpage
(
编辑
)
模板:Preview
(
编辑
)
模板:预览
(
编辑
)