最新修訂 |
您的文字 |
行 1: |
行 1: |
− | {| width="100%" cellSpacing="0" cellPadding="4"
| + | ==wiki語法== |
− | | valign="top" width="25%"|
| |
− | {{Frame
| |
− | | color=009FCC
| |
− | | title=<p align=center>模板</p>
| |
− | | content=
| |
− | {{模板名稱}}
| |
− | | |
− | {{Test|001|NAME}}
| |
− | *重複的東西不用一直去打,改變數值就能顯示出來了。
| |
− | *模板:模板名稱
| |
− | }}
| |
− | | |
− | | valign="top" width="1%"|
| |
− | | rowspan="2" valign="top" width="25%"|
| |
− | {{Frame
| |
− | | color=4400CC
| |
− | | title=<p align=center>放圖片的方法</p>
| |
− | | content=
| |
− | [[檔案:名稱.jpg|尺寸px|位置center/right|thumb/縮圖|{{檔案:名稱.jpg}}]]
| |
− | #大小及位置兩個參數位置可以交換,若沒寫位置圖片都會在右邊,而使用縮圖照片一定在右邊,因為縮圖多了一個框,所以可以加上文字說明。
| |
− | #{{檔案:名稱.jpg}} 會直接叫出這個頁面的資料。
| |
− | #〈noinclude〉這個語法內的東西就不會被帶出去。
| |
− | #〈onlyinclude〉只有這個語法內的東西會被帶出去。
| |
− | }}
| |
− | | |
− | | valign="top" width="1%"|
| |
− | | rowspan="2" valign="top" width="45%"|
| |
− | {{Frame
| |
− | | color=C10066
| |
− | | title=<p align=center>使用Gallery放照片</p>
| |
− | | content=
| |
− | <gallery widths="數字px" heights="數字px">
| |
− | 檔案:名稱.jpg|文字說明
| |
− | 檔案:名稱.jpg|文字說明
| |
− | </gallery>
| |
− | *會自動去看頁面的比例,自動做排序,從左至右。
| |
− | }}
| |
− | | |
− | |}
| |
− | | |
− | {{Frame
| |
− | | color=00AA00
| |
− | | title=<p align=center>放地圖的方法</p>
| |
− | | content=
| |
− | *地圖是一個模板
| |
− | ====Map====
| |
− | {{Map|地址(基本上Google找的到,就可以直接打名稱)}}
| |
− | Map可以調整地圖的高度與寬度,若沒設定則頁面多寬,地圖就多寬。
| |
− | ====Map1====
| |
− | {{Map1|地址(基本上Google找的到,就可以直接打名稱)}}
| |
− | Map1已經設定好其長寬高了,一般頁面都會使用Map1,除非有特殊需求再另外使用Map。
| |
− | }}
| |
− | | |
− | {| width="100%" cellSpacing="0" cellPadding="4"
| |
− | | valign="top" width="50%"|
| |
− | {{Frame
| |
− | | color=C63300
| |
− | | title=<p align=center>特殊頁面</p>
| |
− | | content=
| |
− | 在左側工具箱中,有一些特殊功能,可以看wiki的版本,如:待轉頁面、需要的分頁、地圖編輯器……等,統計數據可以看出這個網站使用的情況,首頁的瀏覽量一定是最高的。
| |
− | }}
| |
− | | |
− | | valign="top" width="1%"|
| |
− | | rowspan="2" valign="top" width="45%"|
| |
− | {{Frame
| |
− | | color=886600
| |
− | | title=<p align=center>重定向</p>
| |
− | | content=
| |
− | #重定向 頁面名稱
| |
− | }}
| |
− | |}
| |
− | | |
− | {{Frame
| |
− | | color=99DD00
| |
− | | title=<p align=center>影像地圖</p>
| |
− | | content=
| |
− | *imagemap影像地圖
| |
− | *:
| |
− | <imagemap>檔案:Google地圖-淡水五虎崗.png|700px|
| |
− | rect 106 41 266 141 [[烏啾埔|第一崗-烏啾埔]]
| |
− | rect 273 146 377 223 [[砲台埔|第二崗-砲台埔]]
| |
− | rect 330 223 439 299 [[崎仔頂|第三崗-崎仔頂]]
| |
− | rect 443 156 603 253 [[大田寮|第四崗-大田寮]]
| |
− | rect 466 304 631 412 [[鼻頭崙|第五崗-鼻頭崙]]
| |
− | #<!-- Created by Online Image Map Editor (http://www.maschek.hu/imagemap/index) -->
| |
− | </imagemap>
| |
− | | |
− | | |
− | *加入desc none會刪去右下角的資訊圖案
| |
− | *:
| |
− | <imagemap>
| |
− | Image:Google地圖-淡水五虎崗.png|700px|alt=Alt text
| |
− | default [[烏啾埔|第一崗-烏啾埔]]
| |
− | desc none
| |
− | </imagemap>
| |
− | | |
− | | |
− | *使用內部方式連結,僅能連結到一個頁面
| |
− | [[Image:Google地圖-淡水五虎崗.png|link=五虎崗]]
| |
− | }}
| |