テンプレート:%/doc
< テンプレート:%
ナビゲーションに移動
検索に移動
横バー型のパーセンテージバーを表示する図表用テンプレート。
使い方[編集]
{{%|width=横幅|text=テキスト|color=背景色}}
| 引数名 | 既定値 | 説明 |
|---|---|---|
| width | 100 | 幅指定。省略可。 |
| text | なし | 内部表示文字列。省略可。 |
| color | #faa | 背景色指定。省略可。 |
| position | left | テキストの表示位置指定。省略可。 |
例[編集]
{| style="width: 50%;"
|-
|
; ステータス
{{%|width=100|text=HP: 2,000}}
{{%|width=100|text=MP: 1,600|color=#d5aaff}}
{{%|width=75|text=STR: 15 |color=#afa}}
{{%|width=90|text=INT: 18 |color=#afa}}
{{%|width=70|text=WIS: 14 |color=#afa}}
{{%|width=55|text=DEX: 11 |color=#afa}}
{{%|width=50|text=CON: 10 |color=#afa}}
{{%|width=70|text=CHR: 14 |color=#afa}}
|}
[ HP: 2,000 ]
[ MP: 1,600 ]
[ STR: 15 ]
[ INT: 18 ]
[ WIS: 14 ]
[ DEX: 11 ]
[ CON: 10 ]
[ CHR: 14 ]
|
おまけ[編集]
| 淡赤(デフォルト) | {{%|color=#faa}} |
|
| 灰 | {{%|color=#eee}} |
|
| 橙 | {{%|color=#ffd5aa}} |
|
| 黄 | {{%|color=#ffa}} |
|
| 緑 | {{%|color=#afa}} |
|
| 水 | {{%|color=#aff}} |
|
| 紺 | {{%|color=#aaf}} |
|
| 紫 | {{%|color=#d5aaff}} |
|
| 桃 | {{%|color=#ffaad5}} |