「テンプレート:Box」の版間の差分
提供: Wikimedia Conference Japan 2009
(border忘れ) |
(記号の背景と一緒だった) |
||
| 1行目: | 1行目: | ||
| − | <div class="babel" style="1px solid {{{ | + | <div class="babel" style="1px solid {{{sym-bc}}}"> |
<div class="babel-sybmol" style="background-color: {{{sym-bc}}}">{{{sym}}}</div> | <div class="babel-sybmol" style="background-color: {{{sym-bc}}}">{{{sym}}}</div> | ||
<div class="babel-text" style="background-color: {{{text-bc}}}">{{{text}}}</div> | <div class="babel-text" style="background-color: {{{text-bc}}}">{{{text}}}</div> | ||
| 10行目: | 10行目: | ||
| sym = <!-- 上に表示する記号 --> | | sym = <!-- 上に表示する記号 --> | ||
| text = <!-- 説明用の文章 --> | | text = <!-- 説明用の文章 --> | ||
| − | |||
| sym-bc = <!-- 記号の背景色 --> | | sym-bc = <!-- 記号の背景色 --> | ||
| text-bc = <!-- 説明用文章の背景色 --> | | text-bc = <!-- 説明用文章の背景色 --> | ||
2009年7月15日 (水) 15:57時点における版
{{{sym}}}
{{{text}}}
バベルを作るためのメタテンプレ
使用例は以下。
{{Box
| sym = <!-- 上に表示する記号 -->
| text = <!-- 説明用の文章 -->
| sym-bc = <!-- 記号の背景色 -->
| text-bc = <!-- 説明用文章の背景色 -->
}}