Help:Editing FAQ/zh: Difference between revisions
Created page with "无序列表:" |
Created page with "尽管我按照指示使用了四个波浪号,我的用户名却未链接到用户页面。" |
||
| Line 118: | Line 118: | ||
</div> |
</div> |
||
尽管我按照指示使用了四个波浪号,我的用户名却未链接到用户页面。 |
|||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
|||
Even though I use the four tildes as instructed, my username isn't linked to my user page. |
|||
</div> |
|||
<span lang="en" dir="ltr" class="mw-content-ltr">I type the four tildes as it says every time, but where my name is there isn't a link to my user page and after I do it the SineBot says I haven't signed it (even though you can see my name there) and then it signs it for me.</span> |
<span lang="en" dir="ltr" class="mw-content-ltr">I type the four tildes as it says every time, but where my name is there isn't a link to my user page and after I do it the SineBot says I haven't signed it (even though you can see my name there) and then it signs it for me.</span> |
||
Revision as of 04:17, 30 October 2025
| 注意:当您编辑本页面时,即同意以CC0协议授权您的贡献。您可以在公有领域帮助页面找到更多信息。 |
本页是对 Help:编辑页面 的补充说明。
以下内容汇集了与编辑相关的“帮助:”页面中的常见问答。 如果你在其他地方找到有价值的信息,也欢迎将其补充到这里。
编辑页面
我该如何编辑一篇已有的页面?
要编辑 Wiki 页面,可点击页面顶部的“编辑”标签来编辑整页,或点击某一章节旁的“编辑”链接仅编辑该章节。 更多指导可参见 w:Wikipedia:Tutorial Introduction to Wikipedia Editing。
我怎样在编辑的内容中签名?
使用三个波浪号 ~~~ 可插入指向你用户页的链接;使用四个波浪号 ~~~~ 可插入链接和时间戳;使用五个波浪号 ~~~~~ 则只插入时间和日期。
如果页面上有多个同名章节标题,我能否链接到特定的某一个?如果可以,怎么做?
可以。每个章节标题(无论层级深浅)都会根据它在页面中出现的次数自动编号。
例如,如果页面中有三个名为 “Foo” 的标题,它们的链接分别是:[[#Foo 1]], [[#Foo 2]], [[#Foo 3]]。
通常 [[Foo]] 会自动链接到第一个标题(即 “Foo 1”),因此数字 1 可省略。
若希望隐藏编号,可使用带管道的链接形式:[[Foo 2|Foo]]。
如果你不确定某个标题在页面中出现了多少次,有两种方法可以查明:
- 查看目录(Table of Contents)
- 在网页中点击目录中的目标标题,页面会跳转到对应部分, 此时浏览器地址栏的 URL 末尾会显示该标题的 ID。 例如标题为 “
Foo” 且为第 3 次出现时,URL 可能是:http://meta.wikimedia.org/wiki/Example_article#Foo_3
- 此时你可以使用 [[#Foo 3]] 来创建链接。
- 在网页中点击目录中的目标标题,页面会跳转到对应部分, 此时浏览器地址栏的 URL 末尾会显示该标题的 ID。 例如标题为 “
- 查看源代码(Inspect Source)
- 查看页面源代码,找到目标章节并注意其 ID 标记. 例如,如果章节标题命名为
Foo,并且是第二次出现,它的标签将是:<p><a name="Foo_2" id="Foo_2"></a></p><h3>Foo</h3>
- 这表示该标题可通过 [[#Foo 2]] 进行链接。
- 查看页面源代码,找到目标章节并注意其 ID 标记. 例如,如果章节标题命名为
需要注意的是,这些编号可能会随着页面的编辑而变化。如需避免此问题,可参考这个说明:
- Linking sections using an arbitrary id(使用自定义 ID 链接章节)
其他
编号列表中能否包含预格式化文本(preformatted text)?
可以。方法之一是直接在表格单元格中使用 HTML 列表元素(List Elements):
有序列表:
Here is a pre-formatted text. Enclosed within a border. |
<ol> <li>Use ordered lists (OL) to begin each item with a number.</li> <li>End a list item before starting a line with spaces.</li> <pre> Here is a pre-formatted text. Enclosed within a border. <li>And the last item</li> </ol> |
无序列表:
|
<ul> <li>one</li> <li>two<pre> Here are a couple lines... ...of preformatted text </pre></li> <li>and the numbering</li> <li>starts over</li> </ul> |
Q: Signing?
尽管我按照指示使用了四个波浪号,我的用户名却未链接到用户页面。
I type the four tildes as it says every time, but where my name is there isn't a link to my user page and after I do it the SineBot says I haven't signed it (even though you can see my name there) and then it signs it for me. Bsrboy 22:58, 25 March 2009 (UTC) <<< see? >>>
A: Ensure that your username is linked to your user page when signing comments you can do this by confirming that your signature appears as a link to your user page.
For example, Network-charles.
Also double-check that you are using four tildes (~) correctly, sometimes, errors in typing or formatting can prevent the signature from registering properly.
Q: Can I create a frame structure on a Wiki page?
I want to embed a chart into my Wiki page.
A: You can achieve this using HTML <div> elements with inline CSS styles.
Set the <div> height and width, and enable scrolling with the overflow property.
Using Tables
Q: Is it possible to create transparent borders and rules for a table?
A: Yes, it's possible.
However, it's challenging because there isn't a specific cellborder command for table styles.
You can adjust the border and rule attributes, but browsers may not always interpret them as desired.
I think the easiest way to write this is using wiki table notation with a different background for the table and for each row.
|
{|style="background:white"
|- style="background:lightgrey;"
| 123 || 456 ||789
|- style="background:lightgrey;"
| 987 || 654 || 321
|} |