使用者工具

網站工具


wiki新手教學

差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

兩邊的前次修訂版前次修改
下次修改
前次修改
wiki新手教學 [2019/12/08 23:57] – [插入YouTube影片] nekowiki新手教學 [2019/12/09 04:24] (目前版本) – [插入一個網頁] neko
行 1: 行 1:
 +====== 第一次Wiki就上手 ======
  
 +想到什麼再補充
 +
 +===== 新增頁面 =====
 +
 +先搜尋,搜尋結果那頁有一個連結可以新增頁面:
 +
 +<code>提示:您可以在下面找到您的搜尋結果。If you didn't find what you were looking for, you can create or edit the page :OOXX, named after your query.</code>
 +
 +上面那個「:OOXX」就是新增頁面的連結。
 +
 +===== 文字格式 =====
 +
 +雖然編輯區上面提供一些基本文字格式,但編輯時無法直接看到結果,只能按預覽。
 +
 +DokuWiki 支援 **粗體**, //斜體//, __底線__ 以及 ''等寬英文字''
 +當然也能 **__//''混合使用''//__** 。
 +
 +上面這段的語法為
 +
 +<code>
 +DokuWiki 支援 **粗體**, //斜體//, __底線__ 以及 ''等寬英文字''
 +當然也能 **__//''混合使用''//__** 。
 +</code>
 +
 +上標\\
 +下標\\
 +刪除線\\
 +強制斷行\\
 +
 +===== 連結 =====
 +
 +**網站以外的連結(外部連結)**
 +
 +  - 直接打網址 http://www.google.com 或 www.google.com
 +  - 也可以這樣 [[http://www.google.com|連結到google]]
 +
 +第二個語法長這樣:
 +<code>[[http://www.google.com|連結到google]]</code>
 +
 +**網站內的連結(內部連結)**
 +
 +<code>
 +Internal links are created by using square brackets. You can either just give
 +a [[pagename]] or use an additional [[pagename|link text]].
 +</code>
 +
 +**圖片**
 +
 +插入一張圖片的網址
 +
 +<code>
 +{{http://de3.php.net/images/php.gif}}
 +</code>
 +
 +插入一張已經上傳的圖片(站內連結)
 +
 +<code>
 +{{wiki:dokuwiki-128.png}}
 +</code>
 +
 +加上點擊時開啟的網址
 +
 +<code>
 +[[http://php.net|{{wiki:dokuwiki-128.png}}]]
 +</code>
 +
 +\\
 +
 +===== 插入YouTube影片 =====
 +
 +找到影片,選「分享」,然後會看到影片的網址,例如: https://youtu.be/XDRj7eFLD6s 。\\
 +取後面的那段英文字 XDRj7eFLD6s 照著下面打:
 +
 +
 +<code>
 +{{youtube>XDRj7eFLD6s}}
 +</code>
 +
 +結果就是這樣
 +
 +{{youtube>XDRj7eFLD6s}}
 +
 +\\
 +===== 插入一個網頁 =====
 +
 +{{url>https://twitter.com/colopl_alice/status/1200308678848499714}}
 +
 +<HTML>
 +
 +https://twitter.com/colopl_alice/status/1200308678848499714?s=21
 +
 +</HTML>
 +===== 表格 =====
 +
 +^ Heading 1      ^ Heading 2       ^ Heading 3          ^
 +| Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        |
 +| Row 2 Col 1    | some colspan (note the double pipe) ||
 +| Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        |
 +
 +<code>
 +^ Heading 1      ^ Heading 2       ^ Heading 3          ^
 +| Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        |
 +| Row 2 Col 1    | some colspan (note the double pipe) ||
 +| Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        |
 +</code>
 +
 +|              ^ Heading 1            ^ Heading 2          ^
 +^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        |
 +^ Heading 4    | no colspan this time |                    |
 +^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        |
 +
 +<code>
 +|              ^ Heading 1            ^ Heading 2          ^
 +^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        |
 +^ Heading 4    | no colspan this time |                    |
 +^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        |
 +</code>
 +
 +^ Heading 1      ^ Heading 2                  ^ Heading 3          ^
 +| Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        |
 +| Row 2 Col 1    | :::                        | Row 2 Col 3        |
 +| Row 3 Col 1    | :::                        | Row 2 Col 3        |
 +
 +<code>
 +^ Heading 1      ^ Heading 2                  ^ Heading 3          ^
 +| Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        |
 +| Row 2 Col 1    | :::                        | Row 2 Col 3        |
 +| Row 3 Col 1    | :::                        | Row 2 Col 3        |
 +</code>
 +
 +===== 頁面討論區 =====
 +
 +在文章最下面加上這行
 +
 +<code>
 +~~DISCUSSION~~
 +</code>
 +
 +真的很簡單~
 +
 +
 +<code>
 +</code>
 +<code>
 +</code>
 +
 +
 +----
 +
 +
 +~~DISCUSSION~~