テンプレート:Color sample
提供: miniwiki
2014/4/26/ (土) 20:36時点における123.198.28.148 (トーク)による版
サイズ指定可能なインラインカラーボックス。
Contents
使い方
- サイズ指定無し
- {{Color sample|red}} 表示結果:
- {{Color sample|#00FF00}} 表示結果:
- {{Color sample|{{Independent (politician)/meta/color}}}} 表示結果:
- サイズ指定有り
- {{Color sample|red|size=0.5em}} 表示結果:
- {{Color sample|#00FF00|size=25px}} 表示結果:
TemplateData
<templatedata> {
"description": "サイズ指定可能なインラインカラーボックス", "params": { "1": { "label": "1", "description": "色", "type": "string", "required": true }, "size": { "label": "size", "description": "縦・横のサイズ", "type": "string", "default": "1em", "required": false }, "border": { "label": "border", "description": "ボーダー", "type": "string", "default": "black", "required": false } }
} </templatedata>
カテゴリ
このテンプレートが貼り付けられたページに適用するカテゴリはありません。