Medals/zh

獎章是在站台範圍使用的腳本，使管理員忽略擴展「成就」並創建自己的成就給用戶，從而避免濫用編輯而得到成就.

}

用法
所有腳本的設置皆在腳本文件的外面，在其自己的頁面— Project:Medals，並且允許用戶做出改變而不需要經過審查過程. 請確保您有保護該頁面只有管理員能編輯！此外，該腳本的圖像 只能 從Wikia的圖片服務器中連結，比如開頭是「images」、「images1」或「vignette1」.

首先加入腳本到MediaWiki:Common.js頁面後，前往Project:Medals腳本時，它會提醒你創建新的配置. 一但這麼做，你便能使用一個特殊的專用頁面進行編輯.

專用介面有3個子頁面用於設置：選單、用戶與獎章. 這裡將解釋最難設置的一些頁面 — 選單與用戶：
 * 選單(以下待翻譯 17:15, February 26, 2017 (UTC))
 * Module title — Title of your medal's module.
 * Expand button — If amount of user's medals will be more than 12, you will see special button. After clicking, you will see full list of his/her medals. This button should have its name, right? :)
 * Medal count — Description that will be displayed when you hover the section with amount of medal.
 * Medal info page — If you have special page, where you have all info about your medals, you should fill this value up and the user will see a special button to check info.
 * Medal info title — Same as for expand button.
 * Border left — Image for top-left border picture. If you don't want to use it — leave it blank.
 * Border right — Image for top-right border picture.
 * Users
 * Add user form — Button, on click of which script will add a new form for user.
 * Empty area — It's where you should put user's nickname.
 * Trash icon — Will remove this section. Simple.
 * Medals — Button, on click of which you will show/hide section with all medals. Near with each medal's name you will see also area, where you can place amount of this medal.

Script's classes
To change some styles of module with medals user can use this classes:
 * 1)  — medal's module section;
 * 2)  — medal's image block;
 * 3)  — in-image-block section with amount of medal;
 * 4)  — script's tooltip;
 * 5)  — tooltip's top arrow;

Known issues
Since this script has its data outside of the script page, there can be some problems with page's cache. Use  at the end of the URL or the 'Purge page' button on your interface to solve it.