編集が必要だと思われる場合は、このページのディスカッションか、サイトスタッフまでご連絡ください。
クレジット
タイトル: 評価比率バー
原題: Ratio Bar
著作権者: EstrellaYoshte
翻訳責任者: takion00
作成年: 2021
翻訳年: 2025
初訳時参照リビジョン: rev.32
元記事リンク: Ratio Bar
この評価情報コンポーネントのオリジナルは
7happy7氏によって作成され、
EstrellaYoshte氏によって評価比率バーは英語のSCPウィキの技術ポリシーに準拠する形になりました。
The Rating Info component was originally created by
7happy7, and then adapted by
EstrellaYoshte 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:

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:

[[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]]

