WordPress: 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 t...)
 
无编辑摘要
 
第1行: 第1行:
=Demo Sandbox=
=Demo Sandbox=
=Demo Sandbox=


<!-- comment here Used to leave comments in a page for future editors -->
<!-- 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!
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.
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}}
'''ANNOUNCEMENT: Guidelines Updated as of March 7'''{{Newpage}}


'''声明: 从3月7日开始,就更新了指南'''{{Newpage}}


{{Preview}}


{{Preview}}
{{预览}}


TEST TEST TEST------------
TEST TEST TEST------------
测试 测试 测试------------


<!-- New section -->
<!-- New section -->
Viva La Sasau
<!—新的部分 -->
Viva La Sasau
Viva La Sasau
== AFHAM ==


== AFHAM ==
== AFHAM ==
第21行: 第40行:
<h3><span style="color:red;">food supplier</span> fabulous</h3>
<h3><span style="color:red;">food supplier</span> fabulous</h3>
''feel the taste and feel good'' <br>
''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>
'''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>
'''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> 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;"> choice is yours and order now </span><tt> <br>


<h3><span style="color:blue;"> 由你决定,现在订购吧</span><tt> <br>


<!-- CATERING -->
<!-- CATERING -->
<!—公共饮食业 -->


==Subsection 1.1.2.A==
==Subsection 1.1.2.A==
第33行: 第68行:
== New section ==
== New section ==
hello
hello
==子部分1.1.2.A==
== 新部分==
你好




== Headline text ==
== Headline text ==
===bar foo===
== 大字标题文本==
===bar foo===
===bar foo===


第50行: 第94行:


[[WordPress:Glossary#Apache]]
[[WordPress:Glossary#Apache]]
[[WordPress:Glossary#Apache|Apache]]
[[WordPress:Glossary#Apache| Glossary#Apache]]


<!-- New Subsection -->
<!-- New Subsection -->
<!—新的子部分 -->


[[WordPress:User:IsaacSchlueter|IsaacSchlueter]] 16:11, 13 Sep 2005 (GMT)
[[WordPress:User:IsaacSchlueter|IsaacSchlueter]] 16:11, 13 Sep 2005 (GMT)
[[WordPress:User:IsaacSchlueter|IsaacSchlueter]] 2005年9月13日,16:11 (格林尼治标准时间)


==Subsection 1.1.3==
==Subsection 1.1.3==
<!-- Feel free to play around with this text -->
<!-- Feel free to play around with this text -->
==子部分 1.1.3==
<!—自由地处理这个文本-->
===Aenean ultricies===
===Aenean ultricies===


第66行: 第120行:


[[WordPress:Wikipedia:Lorem ipsum|Lorem ipsum]] text generated at http://www.lipsum.com/feed/html
[[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 -->
<!-- New Subsection -->


<!—新的子部分-->


I need to test the signature ~~ [[WordPress:User:Jim Westergren|Jim Westergren]] 11:26, 28 Oct 2006 (GMT) Correct?
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==
==Subsection 1.1.4==
==子部分1.1.4==
<!-- Feel free to play around with this text -->
<!-- Feel free to play around with this text -->
<!—自由处理这个文本 -->
===Code Example===
===Code Example===
===代码例子===
This is what it looks like when using <tt>pre</tt> tags:
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 "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>&lt;pre&gt;</tt> tag:
This is what it looks like when using a space before a line of code to autoformat the <tt>&lt;pre&gt;</tt> tag:


<?php echo "Hello, world!\n";?>
在一行代码之前使用空格为<tt>&lt;pre&gt;</tt>标签自动设置格式的时候,这个标签的形式:
 
<?php echo "Hello, world!\n";?>
 
<?php echo "你好, 世界!\n";?>


This is what it looks like in <tt>code</tt> tags:
This is what it looks like in <tt>code</tt> tags:
这是代码在<tt>code</tt>标签中的形式:
<code>
<code>
<?php echo "Hello, world!\n";?>
<?php echo "Hello, world!\n";?>
</code>
<code>
<?php echo "你好, 世界!\n";?>
</code>
</code>


Notice that the use of <code>&lt;code&gt;</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.
Notice that the use of <code>&lt;code&gt;</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>&lt;code&gt;</code>并不能将代码例子放入框中,即使有单个的行分隔符,句子仍然会继续。Codex需要两个行分隔符来表示用"空格" 行分隔符。


When using code in text like <tt>index.php</tt>, if you use the <code>&lt;code&gt;</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>&lt;tt&gt;</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>&lt;tt&gt;</tt> over <code>&lt;code&gt;</code> for a cleaner look.
When using code in text like <tt>index.php</tt>, if you use the <code>&lt;code&gt;</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>&lt;tt&gt;</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>&lt;tt&gt;</tt> over <code>&lt;code&gt;</code> for a cleaner look.
在文本,如<tt>index.php</tt>中使用代码的时候,如果你使用<code>&lt;code&gt;</code>标签,这个标签会使得文本出现<code>蓝色背景,使得文本看起来混乱,更不容易看到代码。</code> 如果你将代码放入<tt>&lt;tt&gt;</tt>标签,<tt>蓝色背景消失了,而且类型是monospaced 和"类似代码"的,更容易阅读,也更清晰。</tt>WordPress Codex中的文件似乎在文本内使用了许多代码,因此比起<code>&lt;code&gt;</code>,我们更想要使用<tt>&lt;tt&gt;</tt>,以得到更清晰的外观。


===Another section===
===Another section===
===另一个部分===


Ah, so this is how sections work! (by adding ='s)
Ah, so this is how sections work! (by adding ='s)
啊,这就是这个部分的运行方式!(通过添加='s)


   System.err.prinln("Fatal error!");
   System.err.prinln("Fatal error!");
  System.err.prinln("致命错误!");


<!-- New section -->
<!-- New section -->
<!—新部分 -->
===Stan's section===
===Stan's section===
===Stan的部分===
'''
'''
here's yet another section...
here's yet another section...
..how about a format nullifier between sections?
'''
下面是另一个部分...


..how about a format nullifier between sections?
..how about a format nullifier between sections?


=Other Design Elements to Test=
=Other Design Elements to Test=
=需要测试的其它设计元素=
==Link Examples==
==Link Examples==
==链接例子==


To '''NOT''' show a link in an example which uses a link use &lt;nowiki&gt;:
To '''NOT''' show a link in an example which uses a link use &lt;nowiki&gt;:
'''不要'''显示例子中的链接,例子使用链接用法&lt;nowiki&gt;:


  &lt;a title="example" href="&lt;nowiki&gt;<nowiki>http://example.com/</nowiki>&lt;/nowiki&gt;"&gt;
  &lt;a title="example" href="&lt;nowiki&gt;<nowiki>http://example.com/</nowiki>&lt;/nowiki&gt;"&gt;
&lt;a 标题="例子" href="&lt;nowiki&gt;<nowiki>http://example.com/</nowiki>&lt;/nowiki&gt;"&gt;


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:
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>
<pre>* <nowiki>[[WordPress:#Link_Examples|My Life Stories]]</nowiki>
第117行: 第235行:
* <nowiki>[[WordPress:#Link_Examples|Sharing]]</nowiki>
* <nowiki>[[WordPress:#Link_Examples|Sharing]]</nowiki>
* <nowiki>[[WordPress:#Link_Examples|Facts and Fiction]]</nowiki></pre>
* <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):
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">
<div style="border:1px solid blue; width:50%; margin: 20px; padding:20px">
第125行: 第250行:
* [[WordPress:#Link_Examples|Sharing]]
* [[WordPress:#Link_Examples|Sharing]]
* [[WordPress:#Link_Examples|Facts and Fiction]]
* [[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>
</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:
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 &lt;span style="color:blue"&gt;&lt;u&gt;this article&lt;/u&gt;&lt;/span&gt; for more information</pre>
<pre>See &lt;span style="color:blue"&gt;&lt;u&gt;this article&lt;/u&gt;&lt;/span&gt; for more information</pre>
<pre>See &lt;span style="color:blue"&gt;&lt;u&gt;这篇文章&lt;/u&gt;&lt;/span&gt; 更多信息</pre>


<div style="border:1px solid blue; width:50%; margin: 20px; padding:20px">
<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>
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==
==Images Within the Codex==
To use images within the Codex:
To use images within the Codex:


  <nowiki>[[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress Default Theme]]</nowiki>
== 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.
[[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==
==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.
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">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">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">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%">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.
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>
</div>


And the code is this:
And the code is this:
</div>
代码是:
<pre>&lt;div style="border:1px solid blue; width:50%; margin: 20px; padding:20px"&gt;


<pre>&lt;div style="border:1px solid blue; width:50%; margin: 20px; padding:20px"&gt;
<pre>&lt;div style="border:1px solid blue; width:50%; margin: 20px; padding:20px"&gt;
Box in which to provide demonstration of what a code  
Box in which to provide demonstration of what a code  
looks like when used in the "real world".  I can use  
looks like when used in the "real world".  I can use  
第160行: 第333行:
to customize the look like for this list:
to customize the look like for this list:
&lt;ul&gt;
&lt;ul&gt;
框内显示了代码在"现实世界"中的外观。我可以使用&lt;span style="color:red; font-weight:bold"&gt;spans设计部分&lt;/span&gt; 使用其它的CSS inline 样式
自定义这个列表的外观:
&lt;ul&gt;
&lt;li style="color:green; font-variant:small-caps"&gt;A List Item in Small Caps&lt;/li&gt;
&lt;li style="color:green; font-variant:small-caps"&gt;A List Item in Small Caps&lt;/li&gt;
&lt;li style="color:green; font-variant:small-caps"&gt;用小型大写字母列出的列表&lt;/li&gt;
&lt;li style="color:blue; font-style:italic; font-weight: bold"&gt;List Item in Italic and Bold&lt;/li&gt;
&lt;li style="color:blue; font-style:italic; font-weight: bold"&gt;List Item in Italic and Bold&lt;/li&gt;
&lt;li style="color:blue; font-style:italic; font-weight: bold"&gt;用斜体和粗体列出的列表&lt;/li&gt;
&lt;li style="color:maroon; font-weight:bold; font-size: 120%"&gt;Change Size and Color&lt;/li&gt;&lt;/ul&gt;
&lt;li style="color:maroon; font-weight:bold; font-size: 120%"&gt;Change Size and Color&lt;/li&gt;&lt;/ul&gt;
&lt;li style="color:maroon; font-weight:bold; font-size: 120%"&gt;更改大小和颜色&lt;/li&gt;&lt;/ul&gt;
There are limits, like you can't recreate a hover,  
There are limits, like you can't recreate a hover,  
but for the most part, all inline CSS styles can be  
but for the most part, all inline CSS styles can be  
used on the Codex to recreate a realistic example of
used on the Codex to recreate a realistic example of
  what the usage will generate.&lt;/div&gt;</pre>
  what the usage will generate.&lt;/div&gt;</pre>
有一些限制 ,就如你不能够创建hover,但是总体而言,可以在Codex上使用所有的inline CSS样式,重新创建用法在现实生活中使用的例子。&lt;/div&gt;</pre>

2008年9月12日 (五) 11:30的最新版本

Demo Sandbox[ ]

Demo Sandbox[ ]

<!—在这里发表评论,用来在网页上发表评论,便于以后编辑-->


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 Help Leave Examples in a page for future editors. Also check out Codex Styles, Formatting, and Layout for more tips on the structure and presentation of the Codex.

"Sandbox"是用来Help Leave Examples in a page for future editors。同时查看Codex 样式,格式和布局查找更多关于Codex结构和样式的小贴士。

ANNOUNCEMENT: Guidelines Updated as of March 7模板:Newpage

声明: 从3月7日开始,就更新了指南模板:Newpage

模板:Preview

模板:预览

TEST TEST TEST------------

测试 测试 测试------------

Viva La Sasau

<!—新的部分 --> Viva La Sasau

AFHAM[ ]

AFHAM[ ]

food supplier fabulous

feel the taste and feel good

食品供应商难以置信的

品尝感觉一下

try the best food and feel the revelations of tremendous recipe spiced and hardened.

品尝最好的美食,探查优异的食谱怎样调出美食的。

place order now and get 20 % discount today......

现在订购,今天能够得到20%的折扣......

feel the spices and get rid of your stress through the taste..

品尝美食,缓解工作生活压力。..

choice is yours and order now

由你决定,现在订购吧
<!—公共饮食业 -->

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.
  1. Etiam lobortis posuere risus.
  2. Nunc interdum tortor sit amet elit.
  3. Integer nec lectus nec ante sagittis accumsan.
  4. Praesent convallis.

Apache

WordPress:Glossary#Apache

Apache

Glossary#Apache


<!—新的子部分 -->

IsaacSchlueter 16:11, 13 Sep 2005 (GMT)

IsaacSchlueter 2005年9月13日,16:11 (格林尼治标准时间)

Subsection 1.1.3[ ]

子部分 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.

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.

Lorem ipsum 文本在http://www.lipsum.com/feed/html创建


<!—新的子部分-->

I need to test the signature ~~ Jim Westergren 11:26, 28 Oct 2006 (GMT) Correct?

我需要测试署名~~ Jim Westergren2006年10月28日, 11:26 (格林尼治标准时间) 正确吗?

Subsection 1.1.4[ ]

子部分1.1.4[ ]

<!—自由处理这个文本 -->

Code Example[ ]

代码例子[ ]

This is what it looks like when using pre tags:

这是使用pre标签的时候,代码的样式:

<?php echo "Hello, world!\n";?>
<?php echo "你好, 世界!\n";?>

This is what it looks like when using a space before a line of code to autoformat the <pre> tag:

在一行代码之前使用空格为<pre>标签自动设置格式的时候,这个标签的形式:

<?php echo "Hello, world!\n";?>

<?php echo "你好, 世界!\n";?>

This is what it looks like in code tags:

这是代码在code标签中的形式:

<?php echo "Hello, world!\n";?>

<?php echo "你好, 世界!\n";?>

Notice that the use of <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>并不能将代码例子放入框中,即使有单个的行分隔符,句子仍然会继续。Codex需要两个行分隔符来表示用"空格" 行分隔符。

When using code in text like index.php, if you use the <code> tag, it makes a blue background behind the text that gives it a cluttered look and makes the code a little harder to see. If you put the code in a <tt> tag, the blue background is gone and the type is monospaced and "code-like" and much easier to read and cleaner. Documentation in the WordPress Codex tends to use a lot of code within the text, so we prefer the use of <tt> over <code> for a cleaner look.

在文本,如index.php中使用代码的时候,如果你使用<code>标签,这个标签会使得文本出现蓝色背景,使得文本看起来混乱,更不容易看到代码。 如果你将代码放入<tt>标签,蓝色背景消失了,而且类型是monospaced 和"类似代码"的,更容易阅读,也更清晰。WordPress Codex中的文件似乎在文本内使用了许多代码,因此比起<code>,我们更想要使用<tt>,以得到更清晰的外观。

Another section[ ]

另一个部分[ ]

Ah, so this is how sections work! (by adding ='s)

啊,这就是这个部分的运行方式!(通过添加='s)

 System.err.prinln("Fatal error!");
 System.err.prinln("致命错误!");

<!—新部分 -->

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>http://example.com/</nowiki>">

<a 标题="例子" href="<nowiki>http://example.com/</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",而且显示标头"链接例子"下面的例子,那么类别的例子链接是:

* [[WordPress:#Link_Examples|My Life Stories]]
* [[WordPress:#Link_Examples|My Family]]
* [[WordPress:#Link_Examples|Sharing]]
* [[WordPress:#Link_Examples|Facts and Fiction]]
* [[WordPress:#Link_Examples|我的生活故事]]
* [[WordPress:#Link_Examples|我的家庭]]
* [[WordPress:#Link_Examples|分享]]
* [[WordPress:#Link_Examples|现实和虚幻]]

And the results would look like this, using the demonstration code from above (click it and see the effect):

使用上述的示范代码(点击代码,查看结果),结果看起来像:

  • [[WordPress:#Link_Examples|My Life Stories]]
  • [[WordPress:#Link_Examples|My Family]]
  • [[WordPress:#Link_Examples|Sharing]]
  • [[WordPress:#Link_Examples|Facts and Fiction]]
  • [[WordPress:#Link_Examples|我的生活故事]]
  • [[WordPress:#Link_Examples|我的家庭]]
  • [[WordPress:#Link_Examples|分享]]
  • [[WordPress:#Link_Examples|事实和虚幻]]

To create the look of an example link, without having it actually behave like a link, you can use the span tag combined with underline to style a fake link:

要设置例子链接的外观,使得其不显示为链接,你可以将span标签与下划线用在一起,创建伪链接:

See <span style="color:blue"><u>this article</u></span> for more information
See <span style="color:blue"><u>这篇文章</u></span> 更多信息
See this article for more information.
See 这篇文章更多信息。

Images Within the Codex[ ]

To use images within the Codex:

Codex内的图像[ ]

使用Codex内的图像:

[[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress Default Theme]]

right|thumbnail|WordPress Default Theme - Single Post LookWill create the image floated to the right in a thumbnail with a caption.

[[WordPress:Image:Kubrick_Single.jpg|right|thumbnail|WordPress 默认主题]]

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中的默认字体,这样可以避免不同的浏览器和电脑系统产生的字体问题。

Box in which to provide demonstration of what a code looks like when used in the "real world". I can use spans to style sections and other CSS inline styles to customize the look like for this list:
框中显示了"现实生活"中代码看起来像是怎样的。我可以使用 spans设计部分和其它的CSS内联样式来自定义这个列表的外观:
  • A List Item in Small Caps
    • 用小型大写字母所写的列表内容
    • List Item in Italic and Bold
    • 使用斜体和粗体列出内容
    • Change Size and Color
  • 更改大小和颜色

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样式,重新创建现实例子中的用法。

And the code is this:

代码是:

<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>
有一些限制 ,就如你不能够创建hover,但是总体而言,可以在Codex上使用所有的inline CSS样式,重新创建用法在现实生活中使用的例子。</div>