Template:Bgr
表示
||style="text-align:right;"|
使い方
[編集]This template can be used to right align a cell in a table. There is an optional parameter to set the background color.
{{bgr|color}}
使用例
[編集]{| ! Name !! Value1 !! Value 2 |- | Jack {{bgr}} 2.6 {{bgr}} 3.5 |- | Jane {{bgr|ccffcc}} 3.1 {{bgr|ffff66}} 3.1 |- | John {{bgr|99ff99}} 3.6 {{bgr|ffffcc}} 2.9 |}
Name | Value1 | Value 2 |
---|---|---|
Jack | 2.6 | 3.5 |
Jane | 3.1 | 3.1 |
John | 3.6 | 2.9 |