Fandom Developers Wiki
Advertisement

狀態(Status)是一個腳本,可以讓用戶在個人檔案上或透過使用某些元素檢查一個用戶的狀態。

安裝方法[]

使用方法[]

可以透過增加以下代碼來加入一個用戶的狀態:

<span data-user-status="用戶名">佔位文字</span>

用戶名要取代為被檢查狀態的目標用戶的名稱,佔位文字可取代為某種類型的錯誤訊息或腳本未運行的通知。建議上述代碼放入模板當中以便使用。

Notes[]

The script can't know in real time whether you're online or not. What it does is the following:

  • It turns green (online) if you've made an edit in the last 60 minutes.
  • It turns orange (busy) if you've made 10 or more edits in the last 60 minutes.
  • If none of the above is true, it is red (offline).

Only edits matter, not posts.

Advertisement