New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BBCode #43
Conversation
wiki/BBCode/zh.md
Outdated
|
||
**BBCode** 是在 osu!论坛 中使用的一种标记语法。在很大程度上,是网络上绝大多数论坛所支持的文本格式。它是由围绕文本的标签组成的,有时也是属性。 | ||
|
||
在 osu!web 中,BBCode 被使用在论坛帖子、签名和用户页面中。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
osu!web : 原文为osu!forums
wiki/BBCode/zh.md
Outdated
|
||
![论坛中的编辑框](img/forums.jpg "论坛中的编辑框") | ||
|
||
**BBCode** 是在 osu!论坛 中使用的一种标记语法。在很大程度上,是网络上绝大多数论坛所支持的文本格式。它是由围绕文本的标签组成的,有时也是属性。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议 :
and, to a larger extent, the vast majority of osu! forums on the internet to enable rich text formatting.
并且在大多数情况下,网络上的osu论坛也主要用这种形式来展现富文本。
wiki/BBCode/zh.md
Outdated
|
||
使用玩家名生成玩家简介链接。 | ||
|
||
**非常不推荐**使用这个按钮!使用这个标签的问题是,在玩家获得一个 [osu!supporter 标签](/wiki/osu!supporter) 后,用户名可以被更改。一旦他们更改了用户名,这个链接就会失效。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
【 **非常不推荐**使用这个按钮!
->**非常不推荐**使用这个标签!
】
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有的超链接给了两端空格,有的又没有
可以统一一下
wiki/BBCode/zh.md
Outdated
|
||
![论坛中的编辑器与按钮](img/editor.jpg "论坛中的编辑器") | ||
|
||
**BBCode** 是在 osu!论坛 中使用的一种标记语法。并且在大多数情况下,是网络上绝大多数论坛所支持的文本格式。它是由围绕文本的标签组成的,有时也是属性。在 osu!论坛 中,BBCode 被使用在论坛帖子、签名和用户页面中。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
并且在大多数情况下
去掉
围绕文本
-> 包围在文本前后
有时也是属性
-> 可以包含特定的属性
在 osu!论坛 中,BBCode 被使用在论坛帖子、签名和用户页面中。
-> 在 osu! 网站上,你可以在帖子、签名和用户页面中使用 BBCode
wiki/BBCode/zh.md
Outdated
|
||
**BBCode** 是在 osu!论坛 中使用的一种标记语法。并且在大多数情况下,是网络上绝大多数论坛所支持的文本格式。它是由围绕文本的标签组成的,有时也是属性。在 osu!论坛 中,BBCode 被使用在论坛帖子、签名和用户页面中。 | ||
|
||
## 注 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
注意
wiki/BBCode/zh.md
Outdated
|
||
## 注 | ||
|
||
虽然帖子编辑器提供了一些基本的格式化工具,但手动编写 BBCode 也是可行的。BBCode 标签是大小写不敏感的。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BBCode 标签对大小写不敏感。
wiki/BBCode/zh.md
Outdated
|
||
标签可以组合成更高级或更丰富的版式。但在组合标签时,**必须**遵守标签的嵌套顺序。不遵守嵌套顺序可能会破坏帖子的版式。 | ||
|
||
例如(注意代码的顺序): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
代码 -> 标签
wiki/BBCode/zh.md
Outdated
|
||
### 粗体 | ||
|
||
使用比[斜体](#斜体)更**醒目的方式强调**单词或整个段落。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一个单词或整个段落
或者改成 单词或段落
下同
wiki/BBCode/zh.md
Outdated
|
||
**从在线图片源显示一个图像。** | ||
|
||
只要图像存在于给定的url中,就可以在任何地方插入这些图像。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
空格
wiki/BBCode/zh.md
Outdated
|
||
**不要将图像链接直接指向到本地文件路径**,使用 `C:\Users\Name\Pictures\image.png` 将**不会**起任何作用! | ||
|
||
请将图片上传至 [imgur](https://imgur.com/ "imgur") 或 [puush](https://puush.me/ "puush")。一旦图片成功上传,复制粘贴图片标签间提供的直链。另外,一些网站不喜欢直接访问到他们的图片(也被称为热链)。像上面列出的一些网站,极大可能为直链,因为它们是图片分享网站。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一些网站不愿意用户直接访问到他们的图片(直接访问图片也被称为热链)
像上面列出的一些网站,都是直链,因为它们是图片分享网站。
wiki/BBCode/zh.md
Outdated
|
||
- 专用按钮: ![图片](img/image.png "图片") | ||
- 注: | ||
- 如果你有一些大型的或大量的图片,建议把它们放在一个 [折叠框](#折叠框) 里。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果你图片尺寸很大或者数量较多的话
wiki/BBCode/zh.md
Outdated
|
||
- 专用按钮: N/A | ||
- 注: | ||
- 这个标签只适用于铺面板块! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
谱面
wiki/BBCode/zh.md
Outdated
### 历史 | ||
|
||
- 在当前的 osu!web 论坛上有一个颜色错误,如果你使用 `transparent` 这个颜色,它会使文本变得透明。 | ||
- 然而,这个 bug 在新的设计中得到了解决。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
然而这个 bug 在新版论坛中已经修复。
wiki/BBCode/zh.md
Outdated
|
||
### 字体大小 | ||
|
||
相对地调整文本大小。 | ||
|
||
- 专用按钮: ![字体大小选项](img/font-size.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
空格
wiki/BBCode/zh.md
Outdated
@@ -378,9 +378,9 @@ _不要与 [剧透框](#剧透框) 混淆。_ | |||
|
|||
## 冷知识 | |||
|
|||
- 最早的论坛帖子: [HOW TO: Forum BBCodes](https://osu.ppy.sh/community/forums/topics/445599) by [Stefan](https://osu.ppy.sh/users/626907) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
空格
wiki/BBCode/zh.md
Outdated
- 语法: | ||
``` | ||
[b] ... [/b] | ||
``` | ||
|
||
### 斜体 | ||
|
||
使用比[粗体](#粗体)*更淡的方式* **强调**单词或整个段落。 | ||
使用比 [粗体](#粗体) **更轻微地强调**单词或段落。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使用
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small details are corrected (?)
wiki/BBCode/zh.md
Outdated
|
||
![论坛中的编辑器与按钮](img/editor.jpg "论坛中的编辑器") | ||
|
||
**BBCode** 是在 osu!论坛 中使用的一种标记语法。是网络上绝大多数论坛所支持的文本格式。它是由包围在文本前后的标签所组成的,可以包含特定的属性。在 osu! 网站上,你可以在帖子、签名和用户页面中使用 BBCode 。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是网络上绝大多数论坛所支持的文本格式。它是由包围在文本前后的标签所组成的,
->
也是被网络上绝大多数论坛所支持的文本格式。它的主体是包围在特定文本前后的标签,可以表示特定的属性。
wiki/BBCode/zh.md
Outdated
|
||
## 注意 | ||
|
||
虽然帖子编辑器提供了一些基本的格式化工具,但手动编写 BBCode 也是可行的。BBCode 标签对大小写不敏感。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
但手动编写 BBCode 也是可行的
->
你也可以手动编写 BBCode
wiki/BBCode/zh.md
Outdated
|
||
### BBCode 按钮作用 | ||
|
||
在没有选中任何文字的情况下,单击按钮会在光标两边插入标签。在选中文字的情况下,单击按钮会在文本两边插入标签。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
插入新行:
在没有选中任何文字的情况下,单击按钮会在光标两边插入标签;
在选中文字的情况下,单击按钮会在文本两边插入标签。
wiki/BBCode/zh.md
Outdated
|
||
### 粗体 | ||
|
||
使用比 [斜体](#斜体) 更**醒目的方式强调**单词或段落。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
去掉 使用
以与下文形式一致
wiki/BBCode/zh.md
Outdated
- 注: | ||
- 取色器位于文本框的右侧。 | ||
- 尽量少用这个标签。过度使用只会适得其反。这个标签可能会使你的文本难以辨认。 | ||
- 如果你选择了一种颜色,请确保它能与背景颜色形成对比,这样能让任何人都可以识别出文本。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果你选择了一种颜色
-> 如果你更改了某段文本的颜色
这样能让任何人都可以识别出文本
-> 这样才能让任何人都辨认出文本
wiki/BBCode/zh.md
Outdated
- 语法: | ||
- `HEXCODE` 表示颜色,值为十六进制数或颜色名。 | ||
- 如果参数为一个十六进制数,它必须以`#`开头,然后为 6 个十六进制(0-9,A-F)字符。 | ||
- 如果参数为颜色名称,它必须为一个有效的 HTML 颜色名。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有效
-> 合法
wiki/BBCode/zh.md
Outdated
- 如果你输入的值不是上面列出的某个值,那么它将使用默认的字体大小。 | ||
- `NUMBER` 参数不应该使用引号包围。 | ||
- 语法: | ||
- `NUMBER` 是这些数中的一个(`50`、`85`、`100`、或 `150`)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
要强调 NUMBER
是这些数中的一个(50
、85
、100
、或 150
)。
在 是
之前加 只能 。
wiki/BBCode/zh.md
Outdated
|
||
### 代码 | ||
|
||
使用 `Monospaced` 字体格式化代码,并将代码放在一个灰色的盒子里。当你为一个项目发布故事版代码或源代码时,这个标签是非常有用的。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
盒子
-> ` 文本框版
书写错误。应为故事板
(Storyboard)
wiki/BBCode/zh.md
Outdated
|
||
- 专用按钮: N/A | ||
- 注: | ||
- 这将保留空白的间隔,这意味着除非你自己打乱代码格式,否则每行代码会保持原有的格式。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这将保留空白的间隔 ->
这将保留一些空白间隔;
删去 这意味着
wiki/BBCode/zh.md
Outdated
|
||
使用玩家名生成玩家简介链接。 | ||
|
||
**非常不推荐**使用这个标签!使用这个标签的问题是,在玩家获得一个 [osu!supporter 标签](/wiki/osu!supporter) 后,用户名可以被更改。一旦他们更改了用户名,这个链接就会失效。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
问题比较严重。
如果玩家有 osu!supporter 标签 ,那么该玩家的用户名可以被随意更改。一旦他们更改了用户名,这个链接就会失效。
Resolve #42
原PR #9
等待二次润色