評価比率バー
このページはコンポーネントページです
Wiki内で使用されているコンポーネントページです。このページを編集することはできません。
編集が必要だと思われる場合は、このページのディスカッションか、サイトスタッフまでご連絡ください。
評価: 0+x
blank.png

この評価情報コンポーネントのオリジナルは7happy77happy7氏によって作成され、EstrellaYoshteEstrellaYoshte氏によって評価比率バーは英語のSCPウィキの技術ポリシーに準拠する形になりました。

The Rating Info component was originally created by 7happy77happy7, and then adapted by EstrellaYoshteEstrellaYoshte to be compliant with the English wiki's Tech Policy as the Ratio Bar.

評価比率バーを導入するためには各テーマの[[include]]構文の後、以下のコードに挿入してください。

To add the Ratio Bar, insert the following after any theme [[include]]:

[[include :scp-jp:component:ratio-bar base=--]]
[[include :scp-wiki:component:ratio-bar base=--]]

既存の評価モジュールに評価比率バーが追加されます。
Which will add it any existing rating module:

ratio1.png

Black Highlighter テーマや、Basaltテーマインクブロットテーマなどの評価モジュールの見た目を大きく変更する特定のテーマの場合は、追加の構文が必要です。

For certain themes that more heavily alter the rating module, such as Black Highlighter テーマ, Basaltテーマ and インクブロットテーマ, you will need another parameter:

[[include :scp-jp:component:ratio-bar base=-- |ex=--]]
[[include :scp-wiki:component:ratio-bar base=-- |ex=--]]

拡張互換性パラメータは、CSSテーマによって標準の評価モジュールのスタイルが大幅に変更されている場合に対応するためのものです。

The extended compatibility parameter is meant to cover for cases when the standard rating module is extensively styled by a theme's CSS.

一般的にこのパラメータは、BHLやBHLベースのテーマを対象としています。それ以外の場合はbaseパラメータで開始し、必要に応じて|ex=--パラメータを追加してください。

Generally, this parameter is meant for BHL and BHL-based themes. Otherwise, start with the base parameter and add |ex=-- wherever needed.


円グラフ型のスタンドアロンモジュールもあります。

There is also a standalone pie chart module:

[[include :scp-jp:component:ratio-bar pie=--]]
[[include :scp-wiki:component:ratio-bar pie=--]]

使用例としてInfoモジュールもしくはそれに類似したものに配置することができます。
As a usage suggestion, this could be put inside an Info module or something similar:

ratio2.png

[[include :scp-jp:info:start]]1
タイトル: SCP-XXXX - タイトル
Tale名 / GoIフォーマット
[[include :scp-jp:component:ratio-bar pie=--]]
[[include :scp-jp:info:end]]

[[include :scp-wiki:info:start]]
**SCP-XXXX:** TITLE
**NAME OF TALE/GOI-FORMAT**
[[include component:ratio-bar pie=--]]
[[include :scp-wiki:info:end]]

特に明記しない限り、このページのコンテンツは次のライセンスの下にあります: Creative Commons Attribution-ShareAlike 3.0 License