帮助:编辑指南/en:修订间差异

来自Limbo Wiki
(是谁改了</translate>还不按旧标号来,害得我一次性炸了四个翻译单元!可恶!)
(创建页面,内容为“=== text box related === ''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.) <pre>{| class="mw-collapsible mw-collapsed wikitable" !colspan="1"| title |- | collapsible text |}</pre>”)
第123行: 第123行:


If you can't finish your story settings at one time, you can put it in your [[Special:Mypage/Sandbox|User Sandbox]], we don't recommend moving it to the ''Main Namespace'' before completion.
If you can't finish your story settings at one time, you can put it in your [[Special:Mypage/Sandbox|User Sandbox]], we don't recommend moving it to the ''Main Namespace'' before completion.
<div lang="zh-Hans-CN" dir="ltr" class="mw-content-ltr">
=== text box related ===
=== 文字框/框体相关 ===
''Actually the text box is a type of chart too, but its number of line and column are both 1.''
''其实文字框只是插入表格的一个变种,只不过行数列数都是1罢了。''
*collapsible text box:
*可展开/折叠框模板:
Put the class named mw-collapsible on the Html elements(div, span, table, etc.)
在Html元素(div、span、table等)上添加一个名为mw-collapsible的类(class)
 
<pre>{| class="mw-collapsible mw-collapsed wikitable"
<pre>{| class="mw-collapsible mw-collapsed wikitable"
!colspan="1"| 标题
!colspan="1"| title
|-
|-
| 要折叠的文字
| collapsible text
|}</pre>
|}</pre>
</div>


<div lang="zh-Hans-CN" dir="ltr" class="mw-content-ltr">
Result:
效果:
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
!colspan="1"| 这是标题
!colspan="1"| this is title
|-
|-
|  
|  
这是文字
This is text
|}
|}
(框里套框是可以实现的!)
(You can put boxes within boxes!)
</div>


== Templates ==
== Templates ==

2022年5月12日 (四) 21:01的版本

其他语言:

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!

Wish you can have a good time in Limbo Wiki!

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:0px;”。
font-size:0.5em; text
font-size:1em; text[D]
文字颜色 color:red; text
  • 可以用来隐藏文字!(只有选中时候可以看到)
    • 需要与背景颜色相同。
  • Hex值(就是开头是“#”的那个)可以大小写混用
color:#99E9Da; text
color:black; text[D]
文字背景 background-color:green; text
  • 可以通过把背景色和文字颜色都设为black来隐藏文字
  • pre元素的背景颜色默认为#F9F9F9。
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

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:

GeopeliaPigeon

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
  1. 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.
  2. 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.

text box related

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

This is text

(You can put boxes within boxes!)

Templates

模板大家族
顶部模板 林泊现实官方林泊百科保护) • 碎数研谜题保管所不完整待完善过时欢迎编辑长期咕咕警告访谈诈骗
互动 非存档 主动 TreeButton (折叠按钮) • Title (标题替换)
被动 TreeDiv (折叠内容) • TreeSpan / TreeSpan/s (带格式折叠内容)
书签存档 AnchorCore (锚点) • AnchorDiv (锚点文本)
伪模板 Hide (简单型折叠文本)
字体 Color文字颜色) • Gradient Text渐变文字) • Ruby注音zhu yin) • Shadowcolor阴影颜色) • 文字描边文字描边文字描边) • 模糊模糊) • 黑幕黑幕) • 荧光笔荧光笔

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个以上的标题时,系统会自动给你一个目录。
  1. 该目录将显示在首个标题上方,可使用__TOC__改变位置,也可使用__NOTOC__隐藏默认的目录。
  2. 标题级数没有限制(也就是说2345级都可,只要够四个就会给你目录)
  • 想让你的用户页和签名变得五彩缤纷花里胡哨?善用颜色、形状等代码,你就是百科里最靓的仔!
  • 点击(保存更改右侧的)按钮显示预览可以帮助您提前预览您目前所编辑的内容。请不要不断地写/改一两个字就保存更改一次,这样做极度影响其他人浏览最近更改时的体验,望周知!
    • 除非你禁用了JavaScript,此时请尽快保存。
  • 添加回复:为了回复,您需要编辑他人发起讨论的段落。您可以利用行缩进符号(即一个半角英文冒号“:”)表示您对他人的回复。如果是回复他人的回复,需要增加一个行缩进符号的数量即可。在编辑后,同样需要签名