「テンプレート:下破線」の版間の差分

ナビゲーションに移動 検索に移動
(下破線)
 
(改)
1行目: 1行目:
<span style="border-bottom:{{#if:{{{px|}}}|{{{px}}}px|1}}px dashed {{#if:{{{色|}}}|{{{色}}}|#000}}">{{{文章}}}</span>
<span style="border-bottom:{{#if:{{{px|}}}|{{{px}}}px|1}}px dashed {{#if:{{{色|}}}|{{{色}}}|}}">{{{文章}}}</span>
<noinclude>
<templatedata>
{
"params": {
"px": {
"description": "線の太さ。単位はpx。",
"example": "1.8",
"type": "number",
"autovalue": "1"
},
"色": {
"description": "線の色。入力しなければ黒となる。",
"example": "#00f",
"type": "string",
"autovalue": ""
},
"文章": {
"description": "線を引く文章。",
"example": "彼に那覇空港駅まで送ってもらった。",
"type": "string",
"required": true
}
}
}
</templatedata>
</noinclude>
2,077

回編集

案内メニュー