帮助:编辑指南/en:修订间差异
无编辑摘要 |
(更新以匹配源页面内容的新版本) |
||
第153行: | 第153行: | ||
::*短时间内翻译大量内容会导致刷屏最近更改页面,如若不想被刷屏,可以在过滤器中勾选<big>'''非翻译'''</big>选项。 | ::*短时间内翻译大量内容会导致刷屏最近更改页面,如若不想被刷屏,可以在过滤器中勾选<big>'''非翻译'''</big>选项。 | ||
==Tips== | ==Tips== | ||
<div class="mw-translate-fuzzy"> | |||
* This point is NOT a tip, it is something that everyone here shall now. | * This point is NOT a tip, it is something that everyone here shall now. | ||
: Limbo Wiki is a '''wiki''',that means it should follow the pros of wiki——'''concise''', ''' efficient ''' and''' have evidence'''.Words without actual meaning should appear here. | : Limbo Wiki is a '''wiki''',that means it should follow the pros of wiki——'''concise''', ''' efficient ''' and''' have evidence'''.Words without actual meaning should appear here. | ||
第164行: | 第165行: | ||
** 除非你禁用了JavaScript,此时请尽快保存。 | ** 除非你禁用了JavaScript,此时请尽快保存。 | ||
*'''添加回复''':为了回复,您需要编辑他人发起讨论的段落。您可以利用'''行缩进符号'''(即一个半角英文冒号“:”)表示您对他人的回复。如果是回复他人的回复,需要增加一个'''行缩进符号'''的数量即可。在编辑后,同样需要'''签名'''。 | *'''添加回复''':为了回复,您需要编辑他人发起讨论的段落。您可以利用'''行缩进符号'''(即一个半角英文冒号“:”)表示您对他人的回复。如果是回复他人的回复,需要增加一个'''行缩进符号'''的数量即可。在编辑后,同样需要'''签名'''。 | ||
</div> | |||
[[Category:指南]] | [[Category:指南]] |
2022年9月23日 (五) 06:51的版本
Preface
Owing to more and more new Limbo come here to edit pages, here we make an editing guide to help you get familiar with how to do that easily.
For more deeper code references, please refer to the help page of MediaWiki.←Although it is just a page of the guide list
- First of all, here would like to express gratitude to User:Li2S--who first tried to make a summary in editing format. Similarly, Limbo who contributed to this guide is also deserve to be thanked!
- Anyone can add content to this page, such as formats, templates, tips, etc.
- If you have doubts, you can raise them on the talk page of this Help. Also welcomed to test your code here.
- Here is the old version of this page
- It is suitable for Limbo who don't know the code at all
- If the content in the old version conflicts with the current version, please follow the current one's.
- Unfortunately, the old version can't be translated at present. Try to use the translator to understand it, it's very intuitive!(Maybe...)
- Our goal is to help you make the pages you are satisfied with. Hope this page can give you enough help!
Page Location
- For the related content of Puzzle Depository, please add in the namespace of 谜题保管所, such as 谜题保管所:0;
- For the related pages of a user, we recommend creating a sub page for this user; but before creating a page, please make sure the user exists in the wiki.
- Please don't create or edit others User Page without authorized by others, it's impolite!
- User page isn't belong to content entry, so it does not need to add categories.
- About the second-setting pages of subspace or character, please put it into the primary namespace, that means you don't need to prefix it. For example: 破碎倒影
- If the page which you want to create already has a main page including it, we suggest that it is created as a sub page. For example:ω-5/α-3
Format
Edit Tools
Visual Editor
Although this function can help you to see the effect of page editing in real time, some browsers do not support it. You can use code to better edit it.
This tool can be selected whether to turn on, you can click the icon on the upper right corner and then click Preferences, Setting, Editor in turn to find the corresponding switch.
- About the Preferences, please refer to here→[1]
Editing Toolbar
Also it can be selected whether to turn on, you can click the icon on the upper right corner and then click Preferences, Setting, Editor in turn to find the corresponding switch.
The toolbar above the edit box. Put it to good use can save you a lot of time.
- Q:How to use it?
A:Try it one by one and you'll see :P
This page will include the format that cannot be achieved directly through the Editing Toolbar, extended usage, templates and so on.
Basics
You can read it here.
More
The Use of Style Elements
- As you might know, including Limbo Wiki, websites using MediaWiki as the core can use HTML code including <div>、<span>、<code>,an these codes included a useful element——style element.
- HTML code was usually used for changing the format of the text, but sometimes you can also use it for drawing!
- In the following table, the format of “style element”is:
- <span style="[element]">text</span>
- Multiple elements can exist together, just add them after the first one!
- Unless other notifying, “Text[D]” means the default text.
名字 | 输入属性 | 输出文本 | 备注 |
---|---|---|---|
文字大小 | font-size:1.3em; | text |
|
font-size:0.5em; | text | ||
font-size:1em; | text[D] | ||
文字颜色 | color:red; | text |
|
color:#99E9Da; | text | ||
color:black; | text[D] | ||
文字背景 | background-color:green; | text |
|
background-color:#F9F9F9; | text | ||
background-color:white; | text[D] | ||
文字位置 | text-align:right; | text |
|
text-align:center; | text | ||
text-align:left; | text[D] | ||
混合 | font-size:1.5em;background-color:green; | text |
|
font-size:0.5em;color:#99E9Da;text-align:left; | text | ||
font-size:1.3em;background-color:black;color:black;text-align:right; | text[D] |
Label
Refer to Template:Ruby
Often used to mark the pronunciation of text or to put in additional information.
Format: <ruby>Text<rt>Label</rt></ruby>
Example:
<ruby>Geopelia<rt>Pigeon</rt></ruby>
Result:
Geopelia
Supplement and Expand
Page
说明 | method | example |
---|---|---|
Direct link | [[像素塔]] |
像素塔 |
Indirect link | [[像素塔|请参考像素塔的页面说明]] |
请参考像素塔的页面说明 |
Link to a certain position in a page | [[像素塔#简介]] |
像素塔#简介 |
- Extension 1:How to create a new page
- Search the title in the search box, if the title did not exist in the wiki, it will display “create the page XXX on this wiki!” Click the red link and you can create the page.
- Click the red link in any page,and create the new page
- Extension 2:how to create subpage——use“/”。
- example:[[main-page name/subpage name]]
- show subpage name:[[main-page name/subpage name|subpage name]]
If you can't finish your story settings at one time, you can put it in your User Sandbox, we don't recommend moving it to the Main Namespace before completion.
Actually the text box is a type of chart too, but its number of line and column are both 1.
- collapsible text box:
Put the class named mw-collapsible on the Html elements(div, span, table, etc.)
{| class="mw-collapsible mw-collapsed wikitable" !colspan="1"| title |- | collapsible text |}
Result:
展开this is title |
---|
(You can put boxes within boxes!)
Templates
折叠模板大家族 | |||
---|---|---|---|
顶部模板 | 林泊现实 • 官方 • 林泊百科(保护) • 碎数研 • 谜题保管所 • 不完整 • 待完善 • 过时 • 欢迎编辑 • 长期咕咕警告 • 访谈 • 诈骗 | ||
互动 | 非存档 | 主动 | TreeButton (折叠按钮) • Title (标题替换) |
被动 | TreeDiv (折叠内容) • TreeSpan / TreeSpan/s (带格式折叠内容) | ||
书签存档 | AnchorCore (锚点) • AnchorDiv (锚点文本) | ||
伪模板 | Hide (简单型折叠文本) | ||
字体 | Color (文字颜色) • Gradient Text (渐变文字) • Ruby (注音) • Shadowcolor (阴影颜色) • 文字描边 (文字描边文字描边) • 模糊 (模糊) • 黑幕 (黑幕) • 荧光笔 (荧光笔) |
Translates
此处只进行简单直白的教程叙述,如若想详细了解,可以参考MediaWiki的翻译示例、页面翻译示例和页面翻译管理
1.在想要进行翻译的页面开头添加<languages />
2.将想要翻译的内容以以下格式包裹:
<translate> Content you want to translate <!--T:The translate number--></translate>
- 注意,最好一整段用一个translate包裹,一行一个translate会让你收获致死量的翻译单元(然后容易卡死)。
- 数字编号的作用是标记出翻译单元,可以打乱顺序但不能有重复,改变原有编号会使原本的翻译单元炸掉所以不要轻易更改。
- translate在成功包裹后会自动隐藏,如果预览界面仍有显示,请重新检查内容。
4.当你完成了对translate的包裹后,请前往操作申请为您的页面申请翻译。
5.当管理员将您的页面标记后,您就可以选择源内容外的某种语言开始进行翻译了。
- 注:当源内容更改后,若想要对新内容进行翻译,请在用translate包裹后重新申请为页面标记翻译。
- 短时间内翻译大量内容会导致刷屏最近更改页面,如若不想被刷屏,可以在过滤器中勾选非翻译选项。
Tips
- This point is NOT a tip, it is something that everyone here shall now.
- Limbo Wiki is a wiki,that means it should follow the pros of wiki——concise, efficient and have evidence.Words without actual meaning should appear here.
- 你可以在像素塔的世界观下创造属于自己的故事,这一类故事词条都归属于碎数研分类。但无论如何这一类词条的性质都是二创,在二创的同时建议尽量不要出现原著中的人物,这样做很容易就与原作产生偏离。适当的表达崇拜还是可以的如果你的目的是写原著中人物的同人,那么请去其他平台进行创作。
- 在参数设置-编辑-预览中将显示预览而不重新加载页面打开,可有效避免刷新页面时断网导致的编辑文本丢失
- 关于目录:当你在页面中添加4个及4个以上的标题时,系统会自动给你一个目录。
- 该目录将显示在首个标题上方,可使用__TOC__改变位置,也可使用__NOTOC__隐藏默认的目录。
- 标题级数没有限制(也就是说2345级都可,只要够四个就会给你目录)
- 想让你的用户页和签名变得五彩缤纷?善用颜色、形状等代码,你就是百科里最靓的仔!
- 点击(保存更改右侧的)按钮显示预览可以帮助您提前预览您目前所编辑的内容。请不要不断地写/改一两个字就保存更改一次,这样做极度影响其他人浏览最近更改时的体验,望周知!
- 除非你禁用了JavaScript,此时请尽快保存。
- 添加回复:为了回复,您需要编辑他人发起讨论的段落。您可以利用行缩进符号(即一个半角英文冒号“:”)表示您对他人的回复。如果是回复他人的回复,需要增加一个行缩进符号的数量即可。在编辑后,同样需要签名。