「テンプレート:交差点名」の版間の差分
細 調整 |
細 対応するフォントを持っている場合により地名板っぽいフォントになるようにCSS調整 |
||
| (他の1人の利用者による、間の3版が非表示) | |||
| 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}}}; font-family:'A-SK ナール Min2 E', 'TA-marugo_gf_03', 'ヒラギノ丸ゴ Pro W4','ヒラギノ丸ゴ Pro','Hiragino Maru Gothic Pro','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','HG丸ゴシックM-PRO','HGMaruGothicMPRO';">{{#if: {{{内部リンク|}}} |{{{内部リンク|}}}{!}{{{1}}}]]|{{{1}}}}}</span><br><span style="font-size: 70%; font-family: 'Helvetica', 'Arial', 'roboto', sans-serif; font-weight: bold;">{{#if: {{{内部リンク|}}} |{{{内部リンク|}}}{!}{{{2|}}}]]|{{{2|}}}}}</span></span></span></span><noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| 12行目: | 12行目: | ||
"description": "英語表記", | "description": "英語表記", | ||
"example": "Sueyoshibashi", | "example": "Sueyoshibashi", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"内部リンク": { | "内部リンク": { | ||
"description": "信号機Wiki内のリンク先ページ", | "description": "信号機Wiki内のリンク先ページ", | ||
"example": "末吉橋交差点", | "example": "末吉橋交差点", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"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" | ||
} | } | ||
}, | }, | ||
"description": "交差点名を標識風に表示します。 | "description": "交差点名を標識風に表示します。", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
| 46行目: | 42行目: | ||
} | } | ||
</templatedata> | </templatedata> | ||
{{documentation}} | |||
</noinclude> | </noinclude> | ||