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

来自Limbo Wiki
无编辑摘要
(创建页面,内容为“==Supplement and Expand==”)
第102行: 第102行:
<ruby>Geopelia<rt>Pigeon</rt></ruby>
<ruby>Geopelia<rt>Pigeon</rt></ruby>


<span lang="zh-Hans-CN" dir="ltr" class="mw-content-ltr">== 工具栏相关格式补充、拓展用法 ==</span>
==Supplement and Expand==
===Page ===
===Page ===
{| class="wikitable"
{| class="wikitable"

2022年4月20日 (三) 06:37的版本

其他语言:

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

VisualEditor

顾名思义。
该工具虽然达到了“可视化”,但是对浏览器有限制要求。想要真正的玩转林百还是要靠手打代码。
该工具可在登录后点右上角参数设置,在编辑中选择是否开启。

编辑工具栏

编辑框上方的工具栏,用好可以节省很多编辑的时间。
同样可在登录后点右上角参数设置,在编辑中选择是否开启。

A:挨个点一遍你就会了

本页面内将收录无法利用工具栏直接输入的格式,工具栏拓展用法以及部分便利使用的格式。

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. 在任意一个条目中点击以红色显示的链接,创建页面
  • 拓展2:如何建立子页面——使用“/”。
    • 举例:[[主页面名称/子页面名称]]
    • 使显示子页面名称:[[主页面名称/子页面名称|子页面名称]]

文字框/框体相关

其实文字框只是插入表格的一个变种,只不过行数列数都是1罢了。

  • 可展开/折叠框模板:

在Html元素(div、span、table等)上添加一个名为mw-collapsible的类(class)

{| class="mw-collapsible mw-collapsed wikitable"
!colspan="1"| <!--标题-->
|-
| <!--要折叠的文字-->
|}

效果:

这是标题

这是文字

(框里套框是可以实现的!)

Templates

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

Tips

  • 这一条不是冷知识,我认为它是每个林泊须知的。
林泊百科是一个百科,这就意味着他应该遵循百科应有的要素——简洁高效有根据。无意义的文字堆砌不应该出现在这里。
你可以在像素塔的世界观下创造属于自己的故事,这一类故事词条都归属于碎数研分类。但无论如何这一类词条的性质都是二创,在二创的同时建议尽量不要出现原著中的人物,这样做很容易就与原作产生偏离。适当的表达崇拜还是可以的如果你的目的是写原著中人物的同人,那么请去其他平台进行创作。
  • 参数设置-编辑-预览中将显示预览而不重新加载页面打开,可有效避免刷新页面时断网导致的编辑文本丢失
  • 关于目录:当你在页面中添加4个及4个以上的标题时,系统会自动给你一个目录。
  1. 该目录将显示在首个标题上方,可使用__TOC__改变位置,也可使用__NOTOC__隐藏默认的目录。
  2. 标题级数没有限制(也就是说2345级都可,只要够四个就会给你目录)
  • 想让你的用户页和签名变得五彩缤纷花里胡哨?善用颜色、形状等代码,你就是百科里最靓的仔!
  • 点击(保存更改右侧的)按钮显示预览可以帮助您提前预览您目前所编辑的内容。请不要不断地写/改一两个字就保存更改一次,这样做极度影响其他人浏览最近更改时的体验,望周知!
    • 除非你禁用了JavaScript,此时请尽快保存。
  • 添加回复:为了回复,您需要编辑他人发起讨论的段落。您可以利用行缩进符号(即一个半角英文冒号“:”)表示您对他人的回复。如果是回复他人的回复,需要增加一个行缩进符号的数量即可。在编辑后,同样需要签名