「テンプレート:交差点名」の版間の差分
細 調整 |
細 テンプレート完成 |
||
| 1行目: | 1行目: | ||
<span style="display: inline-block; padding: 1px; border: 0.5px solid black; margin: 1px;"><span style="display: inline-block; color: blue; border-radius: 4px; border: 1px solid;"><span style="display: inline-block; padding: 5px 2px 0; text-align: center; line-height: 0.8; text-indent: {{{letter-spacing| | <span style="display: inline-block; padding: 1px; border: 0.5px solid black; margin: 1px;"><span style="display: inline-block; color: blue; border-radius: 4px; border: 1px solid;"><span style="display: inline-block; padding: 5px 2px 0; text-align: center; line-height: 0.8; text-indent: {{{letter-spacing|0.1em}}}"><span style="padding: 0 {{{padding|0}}}; letter-spacing: {{{letter-spacing|0.1em}}};">{{#if: {{{内部リンク|{{{3|}}}}}} |{{{内部リンク|{{{3}}}}}}{!}{{{1}}}]]|{{{1}}}}}</span><br><span style="font-size: 70%;">{{#if: {{{内部リンク|{{{3|}}}}}} |{{{内部リンク|{{{3}}}}}}{!}{{{2|}}}]]|{{{2|}}}}}</span></span></span></span><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| 24行目: | 24行目: | ||
}, | }, | ||
"padding": { | "padding": { | ||
"description": " | "description": "左右の余白を調整します。", | ||
"example": "10px", | "example": "10px", | ||
"type": " | "type": "string", | ||
"default": "0" | "default": "0" | ||
}, | }, | ||
"letter-spacing": { | "letter-spacing": { | ||
"description": " | "description": "文字間の余白を調整します。ローマ字には適用されません。", | ||
"example": " | "example": "0.5em", | ||
"default": " | "default": "0.1em", | ||
" | "type": "string" | ||
} | } | ||
}, | }, | ||