请注意
在下面的四个短横后面您可以随意编辑练习... 但请不要仅仅为了试一下,就在没有有价值内容的情况下创建新的网页!
技巧: Shift-点击"帮助-辑辑"在另外一个窗口中阅读帮助网页。
i have been here!|| 单元格文字
排版
斜体 粗体 打字机字体
用反引号括起的打字机字体 (可能需要设置)
~+大一点+~ 小一些
预先排好的
1 def syntax(highlight):
2 print "on"
3 return None
链接
http://purl.net/wiki/moin/ Python
图片链接
列表
圆点
- 一
- 嵌套并编号
- 编号的列表总是重新编号的
- 二
- 三
- 那么、那么
- 更多缩进
=== 词汇表===
- 术语
- 定义
图画
标题 1
标题 2
标题 3
标题 4
标题 5
标题 6
CWOW
内容
IRC日志测试
| 23:18 | jroes | ah |
| 23:19 | jroes | hm, i like the way {{{ works, but i was hoping the lines would wrap |
| 23:21 | -!- | gpciceri [~gpciceri@host181-130.pool8248.interbusiness.it] has quit [Read error: 110 (Connection timed out)] |
| 23:36 | ThomasWal | you could also write a parser or processor |
| 23:38 | jroes | i could? |
| 23:38 | jroes | would that require modification on the moin end though? |
| 23:38 | jroes | i cant change the wiki myself :x |
| 23:39 | ThomasWal | parsers and processors are plugable |
| 23:39 | ThomasWal | so you dont need to change the core code |
| 23:40 | ThomasWal | you need to copy it to the wiki data directory though |
| 23:40 | jroes | well, what i meant to say was that i dont have access to the box running the wiki |
| 23:40 | ThomasWal | then this is no option awdsd asdasd sa asdasd sad asdadasds adasd asd asd asd asd asd a dadad ad adad ad asd asd adad asdasd asd adad as d |
| 23:40 | jroes | yeah :/ |
<!-- Interface Costomization --> <div style="width:800px; margin-left:auto; margin-right:auto;"> <!-- 简洁书写 --> <center style="font-size:30px">CWDG Wiki界面定制主目录</center>
{| cellspacing="10" cellpadding="0" style="width:800px; background:transparent; color:#000000;" |- |colspan=2|<div style="background-color: #D1EEEE; padding: 1ex 2em 1em 2em; border: 1px #111111 solid;"><small> *10月17日: 1.12更新列表 已更新! *10月17日: 魔兽世界API 已升级到1.12 *10月17日: 全局函数列表 已升级到1.12 </small></div> }
Parser —— 解析器 (代码高亮效果)
XML (& HTML)
1 <Table border=0 style="color:red;">
2 <tr valign=top><td width="50%">aksdjflaskjdfklasd<br />klasdjfklasdjflkasdjf
3 </td><td>sdklfjaskldjf</td>
4 </tr></table>
5 <c:才能 href="http://www.aaa.com/icon.ico"/>
6 <HTML:a href = "laksdjklfjaskdj">asdkljfsdklajfjk</HTML:a>
7 <OnClick>zBarOptions()</OnClick>
8 <t:标记>kslkfjsadkj</t:标记>
9 <x:符号>内容</x:符号>
10 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
11 <html>
12 <head>
13 <link rel="shortcut icon" href="/wiki/favicon.ico">
14 <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
15 <meta name="robots" content="noindex,nofollow">
16 <title>维基沙盘演练 - 中国魔兽世界插件开发者社区维基</title>
17 <script type="text/javascript" src="/wiki/common/js/common.js"></script>
18 <script type="text/javascript">
19 <!--// common functions
20 // We keep here the state of the search box
21 searchIsDisabled = false;
22 function searchChange(e) {
23 // Update search buttons status according to search box content.
24 // Ignore empty or whitespace search term.
25 var value = e.value.replace(/\s+/, '');
26 if (value == '' || searchIsDisabled) {
27 searchSetDisabled(true);
28 } else {
29 searchSetDisabled(false);
30 }
31 }
32 //-->
33 </script>
TOC
1 ## Interface: 适用的魔兽版本号
2 ## Title: 显示的标题(默认语言)
3 ## Notes: 显示的说明(默认语言)
4 ## Title-zhCN: 特定语言的标题(简体中文)
5 ## Notes-zhCN: 特定语言的说明(简体中文)
6 ## Author: 作者(不显示)
7 ## Version: 版本
8 ## eMail: 如题
9 ## URL: 作者或插件的主页
10 ## UIType: 插件类型
11 ## Dependencies: 依赖的插件
12 ## RequiredDeps: 必须依赖的其他插件
13 ## OptionalDeps: 可选倚赖
14 ## SavedVariables: 统一存放的变量
15 ## SavedVariablesPerCharacter: 按角色存放的变量
16 ## LoadOnDemand: 1 (调用时加载)
17 ## LoadWith: 当指定插件加载时才加载,前提是调用时加载
18 ## DefaultState: disabled 默认状态
19 ## Secure: 安全(功能未知)
20 %注释文字sadkjfklsajdfjsd;l
21 Script.lua
22 #注释文字sdkajwiosadnv93fjaslk
23 Layout.xml
LUA
1 returntest ksdjfreturn
2 'asdkjfskdf'~!@%^&*()-+=|\/{}[]:;"'<> , .?
3 5646478912313489
4 local bar1;
5 function OnClick(arg1)
6 if(arg1=="RightButton") then
7 return
8 end
9 end
10 "lkasdjfklas'ksdj'aklsdjfklasdj"-- asdkjflaskdjfklasd
11 'asdkj"ldksajfjdfkas' --sdksakljfkasdlfj" sdklajflasd"
12 --[[
13 << zBar >>
14 Zero's Action Bar.
15 炽火动作条 - 感受燃烧的快感!
16 Written by 炽火 Zero ℃ from Beijing, China
17 --]]
18 ZBAR_VERSION = "1.1"
19 ZBAR_AUTHOR = "炽火 Zero ℃"
20 ------------------------------------
21 --~ constances
22 ZBARS = {"zBar1","zBar2","zBar3","zBar4",[9]="zBar9"}
23 ZBAR_NAMES = {"zBar1","zBar2","zBar3","zBar4","右2","右1","右下","左下","主2","主1"}
24 --[[
25 Locals
26 --]]
27 local zIsDebug = true
28 function zDebug(msg) if zIsDebug then DEFAULT_CHAT_FRAME:AddMessage(msg) end end
29 --[[ 段注释 ]]--
30 function zfOnLoad()
31 if (UnitClass("player") ~= ZF_HUNTER) then return end
32 this:RegisterForDrag("LeftButton", "RightButton")
33 this:RegisterForClicks("LeftButtonUp", "RightButtonUp")
34
35 this:RegisterEvent("VARIABLES_LOADED")
36 this:RegisterEvent("CURSOR_UPDATE")
37 this:RegisterEvent("BAG_UPDATE")
38 end
39 -- [[
40 asfjksdjfskljflskjd
41 skldfjskd
42 --]]
43 function zfOnEvent(event)
44 if (event == "VARIABLES_LOADED") then
45 if (zFeeder.Texture) then
46 SetItemButtonTexture(this, zFeeder.Texture)
47 end
48 --~ if (zFeeder.free) then
49 --~ zButtonFree()
50 --~ end
51 zUpdateTexture(this)
52 zUpdateCount(this)
53 zUpdateAutoCast()
54 elseif (event == "CURSOR_UPDATE") then
55 zCursorItem = {}
56 if (autoFeeding and zFeeder.Link and zFeeder.auto) then
57 zFeedPet()
58 end
59 elseif (event == "BAG_UPDATE") then
60 zUpdateCount(this)
61 end
62 end
63 local function GetFormattedTime(time)
64 if ( time > 0 and time <= 0.2 ) then
65 zStartShinning(this.model.shineFrame)
66 elseif (time < 10) then
67 return math.floor(time + 1), 1.3, 1.0,0.12,0.12--in 10 second
68 elseif (time < 60) then
69 return math.floor(time + 1), 1.0, 1.0,0.82,0.0--second
70 elseif (time < 600) then
71 return (math.floor(time / 60 + 1).."m"), 0.85, 1.0, 0.8, 0.0--in 10 minute
72 elseif (time < 3600) then
73 return ( math.floor(time / 60 + 1).."m"), 0.7, 0.8, 0.6, 0.0--minute
74 elseif (time < 86400) then
75 return ( math.floor(time / 3600 + 1).."h"), 0.6, 0.6, 0.4, 0.0--hour
76 elseif (time >= 86400) then
77 return ( math.floor(time / 86400 + 1).."d"), 0.6, 0.4, 0.4, 0.4--day
78 end
79 this:Hide()--<=0
80 return "",1
81 end
82 0.557e3
Include(Main) 此页的英文版本:WikiSandBox


