文献资料

基本的wiki语法


一级标题

二级标题

三级标题

四级标题

五级标题
六级标题
+ 一级标题
++ 二级标题
+++ 三级标题
++++ 四级标题
+++++ 五级标题
++++++ 六级标题

引用文本

> 引用文本
  • 无序列表
  • 无序列表
  • 无序列表
* 无序列表
* 无序列表
* 无序列表
  1. 有序清单
  2. 有序清单
  3. 有序清单
# 有序清单
# 有序清单
# 有序清单

DIV 方块元素


提示框div.

一级标题

二级标题

三级标题

四级标题

五级标题
六级标题

引用文本

普通文字

[[div class="prompt"]]
提示框div.

+ 一级标题
++ 二级标题
+++ 三级标题
++++ 四级标题
+++++ 五级标题
++++++ 六级标题

> 引用文本

普通文字
[[/div]]

图像块

{$name}

{$caption}

[[iftags +样版]]
[[div class="unmargined" style="margin: 0 auto 20px; background-color: #272A31; border: solid 1px #272A31; border-radius: 20px; box-shadow: 0 1px 6px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.8), inset 0 10px 1px rgba(255,255,255,.6), inset 0 -15px 30px rgba(0,0,0,.2); text-align: center; width: 500px;"]]
[[div class="unmargined" style="margin: 20px 0; font-size: 250%; color: #C0C0C0; font-weight: bold; text-shadow: 1px 2px 3px rgba(0,0,0,.5);"]]
以混沌之名,重塑世界
[[/div]]
[[div class="unmargined" style="margin: 20px 0; color: #ff6;"]]
此页为于维基内部使用的//样版//页。
[[/div]]
[[div class="unmargined" style="margin: 20px 0; font-size: 120%; font-weight: bold; color: #C0C0C0; text-shadow: 1px 2px 3px rgba(0,0,0,.25);"]]
在未经同意的情况下
请不要动这页里面的东西
[[/div]]
[[/div]]
------
[[/iftags]]

[[div class="image-block block-right" style="width:300px;"]]
[[image {$name} style="width:300px;" link=#]]
[[div class="image-caption" style="width:300px;"]]
{$caption}
[[/div]]
[[/div]]

举例

6586a1e1c458853aef08d187.jpg

像这样

  • 复制代码到对应位置
  • 把欲插入的图片添加到任何引用页面的附件,生成本站的图片网址
  • 在 “{$name}” 处添加图片全网址
  • 在 “{$caption}” 处添加你对图片的描述
  • 保存
[[iftags +样版]]
[[div class="unmargined" style="margin: 0 auto 20px; background-color: #272A31; border: solid 1px #272A31; border-radius: 20px; box-shadow: 0 1px 6px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.8), inset 0 10px 1px rgba(255,255,255,.6), inset 0 -15px 30px rgba(0,0,0,.2); text-align: center; width: 500px;"]]
[[div class="unmargined" style="margin: 20px 0; font-size: 250%; color: #C0C0C0; font-weight: bold; text-shadow: 1px 2px 3px rgba(0,0,0,.5);"]]
以混沌之名,重塑世界
[[/div]]
[[div class="unmargined" style="margin: 20px 0; color: #ff6;"]]
此页为于维基内部使用的//样版//页。
[[/div]]
[[div class="unmargined" style="margin: 20px 0; font-size: 120%; font-weight: bold; color: #C0C0C0; text-shadow: 1px 2px 3px rgba(0,0,0,.25);"]]
在未经同意的情况下
请不要动这页里面的东西
[[/div]]
[[/div]]
------
[[/iftags]]

[[div class="image-block block-right" style="width:300px;"]]
[[image https://pic.imgdb.cn/item/6586a1e1c458853aef08d187.jpg style="width:300px;" link=#]]
[[div class="image-caption" style="width:300px;"]]
像这样
[[/div]]
[[/div]]


评分模板

评分: +31+x
[[module Rate]]

可折叠文字

[[collapsible show="打开" hide="关闭"]]

你的文字

[[/collapsible]]
[[module Rate]]

ListUsers模块(也称为Fourth Wall Breaker模块)

[[module ListUsers users="."]]

你的内容   加上   %%number%%   或者   %%title%%   又或者   %%name%%

[[/module]]

其他用法:

%%number%%可以显示用户ID。
%%title%%让用户个人资料名称以原样显示。
%%name%%让用户个人资料没有大写和简化。

成员名称

分为两种:

带头像的:
Never partNever part

[[*user 用户名]]

不带头像的:
Never part

[[user 用户名]]

把黑条加进文章里的懒惰方法(尽管很好用)

这个方法很好用,不是么?有时我们可能因为懒惰而懒惰。或者,不知道该写什么?没有清楚的设定?如果想要黑条却懒得输入代码,那么这就是你的不二之选!
你的黑条!
████

好,你想用代码也不是不可以。

alt (hold) + 219
除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution-ShareAlike 4.0 License