틀:도로안내표지/3지명: 두 판 사이의 차이
< 틀:도로안내표지
편집 요약 없음 |
편집 요약 없음 |
||
4번째 줄: | 4번째 줄: | ||
<div style="background: {{{배경색|{{{bgcolor|#007448}}}}}}; width: calc({{{너비|240px}}} + {{#if:{{{노선번호|}}}|148|62}}px); height: 200px; display: inline-table; margin-left: 3px;"> | <div style="background: {{{배경색|{{{bgcolor|#007448}}}}}}; width: calc({{{너비|240px}}} + {{#if:{{{노선번호|}}}|148|62}}px); height: 200px; display: inline-table; margin-left: 3px;"> | ||
{{#if:{{{노선번호|}}}|<div style="float: left; height: 196px; width: 80px; text-align: center; margin: 2px 0 2px 2px; padding-left: 6px; border-top: 2px solid white; border-bottom: 2px solid white; border-left: 2px solid white; border-top-left-radius: 10px; border-bottom-left-radius: 10px; color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{{노선번호|}}}</span></div>}} | {{#if:{{{노선번호|}}}|<div style="float: left; height: 196px; width: 80px; text-align: center; margin: 2px 0 2px 2px; padding-left: 6px; border-top: 2px solid white; border-bottom: 2px solid white; border-left: 2px solid white; border-top-left-radius: 10px; border-bottom-left-radius: 10px; color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{{노선번호|}}}</span></div>}} | ||
<div style="float: left; height: 196px; width: {{{너비|240px}}}; margin: 2px 0 2px | <div style="float: left; height: 196px; width: {{{너비|240px}}}; margin: 2px 0 2px {{{노선번호|}}}|0|2px}}; padding-left: 8px; border-top: 2px solid white; border-bottom: 2px solid white; {{#if:{{{노선번호|}}}||border-left: 2px solid white; border-top-left-radius: 10px; border-bottom-left-radius: 10px;}} color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;"><span style="font-size: 19pt;">{{{3|}}}</span> <span style="font-size: 14pt;">{{{4|}}}</span><br /><span style="font-size: 19pt;">{{{5|}}}</span> <span style="font-size: 14pt;">{{{6|}}}</span><br /><span style="font-size: 19pt;">{{{7|}}}</span> <span style="font-size: 14pt;">{{{8|}}}</span></span></div> | ||
<div style="float: left; height: 196px; width: 40px; text-align: center; margin: 2px 2px 2px 0; padding-right: 6px; border-top: 2px solid white; border-bottom: 2px solid white; border-right: 2px solid white; border-top-right-radius: 10px; border-bottom-right-radius: 10px; font-size: 20pt; color: white; font-weight: 500; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{#switch:{{{2|}}} | <div style="float: left; height: 196px; width: 40px; text-align: center; margin: 2px 2px 2px 0; padding-right: 6px; border-top: 2px solid white; border-bottom: 2px solid white; border-right: 2px solid white; border-top-right-radius: 10px; border-bottom-right-radius: 10px; font-size: 20pt; color: white; font-weight: 500; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{#switch:{{{2|}}} | ||
|0= | |0= | ||
20번째 줄: | 20번째 줄: | ||
<div style="background: {{{배경색|{{{bgcolor|#007448}}}}}}; width: calc({{{너비|{{#expr:{{{2|3}}}*160}}px}}} + 20px); height: 200px; display: inline-table; margin-left: 3px;"> | <div style="background: {{{배경색|{{{bgcolor|#007448}}}}}}; width: calc({{{너비|{{#expr:{{{2|3}}}*160}}px}}} + 20px); height: 200px; display: inline-table; margin-left: 3px;"> | ||
{{#if:{{{노선번호|}}}|<div style="float: left; height: 148px; width: calc(35% - 10px); text-align: center; margin: 2px 0 0 2px; padding-left: 6px; border-top: 2px solid white; border-left: 2px solid white; border-left: 2px solid white; border-top-left-radius: 10px; color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{{노선번호|}}}</span></div>}} | {{#if:{{{노선번호|}}}|<div style="float: left; height: 148px; width: calc(35% - 10px); text-align: center; margin: 2px 0 0 2px; padding-left: 6px; border-top: 2px solid white; border-left: 2px solid white; border-left: 2px solid white; border-top-left-radius: 10px; color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{{노선번호|}}}</span></div>}} | ||
<div style="float: left; height: 148px; width: {{#if:{{{노선번호|}}}|calc(65% - 12px)|calc(100% - 16px)}}; margin: 2px 2px 0 {{#if:{{{노선번호|}}}|0|2px}}; padding-left: 8px; border-top: 2px solid white; border-right: 2px solid white; {{#if: | <div style="float: left; height: 148px; width: {{#if:{{{노선번호|}}}|calc(65% - 12px)|calc(100% - 16px)}}; margin: 2px 2px 0 {{#if:{{{노선번호|}}}|0|2px}}; padding-left: 8px; border-top: 2px solid white; border-right: 2px solid white; {{#if:{{{노선번호|}}}||border-left: 2px solid white; border-top-left-radius: 10px;}} border-top-right-radius: 10px; color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;"><span style="font-size: 22pt;">{{{3|}}}</span> <span style="font-size: 16pt;">{{{4|}}}</span><br /><span style="font-size: 22pt;">{{{5|}}}</span> <span style="font-size: 16pt;">{{{6|}}}</span><br /><span style="font-size: 22pt;">{{{7|}}}</span> <span style="font-size: 16pt;">{{{8|}}}</span></span></div>{{-}} | ||
<div style="float: left; height: 48px; width: {{{너비|{{#expr:{{{2|3}}}*160}}px}}}; text-align: center; margin: 0 2px 2px 2px; padding-left: 6px; padding-right: 6px; border-bottom: 2px solid white; border-left: 2px solid white; border-right: 2px solid white; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-size: 20pt; color: white; font-weight: 500; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{#sub: [[파일:LaneArrow.svg|x30px|link=]] [[파일:LaneArrow.svg|x30px|link=]] [[파일:LaneArrow.svg|x30px|link=]] [[파일:LaneArrow.svg|x30px|link=]] [[파일:LaneArrow.svg|x30px|link=]] |0|{{#expr:{{{2|3}}}*36}}}}</span> | <div style="float: left; height: 48px; width: {{{너비|{{#expr:{{{2|3}}}*160}}px}}}; text-align: center; margin: 0 2px 2px 2px; padding-left: 6px; padding-right: 6px; border-bottom: 2px solid white; border-left: 2px solid white; border-right: 2px solid white; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; font-size: 20pt; color: white; font-weight: 500; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{#sub: [[파일:LaneArrow.svg|x30px|link=]] [[파일:LaneArrow.svg|x30px|link=]] [[파일:LaneArrow.svg|x30px|link=]] [[파일:LaneArrow.svg|x30px|link=]] [[파일:LaneArrow.svg|x30px|link=]] |0|{{#expr:{{{2|3}}}*36}}}}</span> | ||
</div> | </div> | ||
</div> | </div> | ||
|#default=<!-- 구형 직진 --> | |#default=<!-- 구형 직진 --> | ||
<div style="background: {{{배경색|{{{bgcolor|#007448}}}}}}; width: calc({{{너비|240px}}} + {{#if: | <div style="background: {{{배경색|{{{bgcolor|#007448}}}}}}; width: calc({{{너비|240px}}} + {{#if:{{{노선번호|}}}|148|62}}px); height: 200px; display: inline-table; margin-left: 3px;"> | ||
<div style="float: left; height: 196px; width: 40px; text-align: center; margin: 2px 0 2px 2px; padding-left: 6px; border-top: 2px solid white; border-bottom: 2px solid white; border-left: 2px solid white; border-top-left-radius: 10px; border-bottom-left-radius: 10px; font-size: 20pt; color: white; font-weight: 500; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{#switch:{{{2|}}} | <div style="float: left; height: 196px; width: 40px; text-align: center; margin: 2px 0 2px 2px; padding-left: 6px; border-top: 2px solid white; border-bottom: 2px solid white; border-left: 2px solid white; border-top-left-radius: 10px; border-bottom-left-radius: 10px; font-size: 20pt; color: white; font-weight: 500; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{#switch:{{{2|}}} | ||
|0= | |0= | ||
38번째 줄: | 38번째 줄: | ||
</div> | </div> | ||
{{#if:{{{노선번호|}}}|<div style="float: left; height: 196px; width: 80px; text-align: center; margin: 2px 0 2px 0; padding-right: 6px; border-top: 2px solid white; border-bottom: 2px solid white; color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{{노선번호|}}}</span></div>}} | {{#if:{{{노선번호|}}}|<div style="float: left; height: 196px; width: 80px; text-align: center; margin: 2px 0 2px 0; padding-right: 6px; border-top: 2px solid white; border-bottom: 2px solid white; color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;">{{{노선번호|}}}</span></div>}} | ||
<div style="float: left; height: 196px; width: {{{너비|240px}}}; margin: 2px 2px 2px 0; padding-right: 8px; border-top: 2px solid white; border-right: 2px solid white; border-bottom: 2px solid white; border-top-right-radius: 10px; border-bottom-right-radius: 10px; color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;"><span style="font-size: 19pt;">{{{3|}}}</span> <span style="font-size: 14pt;">{{{4|}}}</span><br /><span style="font-size: 19pt;">{{{5|}}}</span> <span style="font-size: 14pt;">{{{6|}}}</span><br /><span style="font-size: 19pt;">{{{7|}}}</span> <span style="font-size: 14pt;">{{{8|}}}</span></span></div> | <div style="float: left; height: 196px; width: {{{너비|240px}}}; margin: 2px 2px 2px 0; padding-right: 8px; border-top: 2px solid white; border-right: 2px solid white; border-bottom: 2px solid white; border-top-right-radius: 10px; border-bottom-right-radius: 10px; color: white; display: inline-table;"><span style="vertical-align: middle; display: table-cell;"><span style="font-size: 19pt;">{{{3|서울}}}</span> <span style="font-size: 14pt;">{{{4|}}}</span><br /><span style="font-size: 19pt;">{{{5|대구}}}</span> <span style="font-size: 14pt;">{{{6|}}}</span><br /><span style="font-size: 19pt;">{{{7|부산}}}</span> <span style="font-size: 14pt;">{{{8|}}}</span></span></div> | ||
</div> | </div> | ||
}}</onlyinclude> | }}</onlyinclude> |
2024년 5월 6일 (월) 23:16 판
경고! 이 틀은 구조가 복잡한 틀입니다.
2px; padding-left: 8px; border-top: 2px solid white; border-bottom: 2px solid white; border-left: 2px solid white; border-top-left-radius: 10px; border-bottom-left-radius: 10px; color: white; display: inline-table;">
↑︎
|0|직진=
|#default=
↑︎
서울
대구
부산
대구
부산
}}
{{도로안내표지}}의 3지명 지원 버전입니다. 이용 방법은 아래와 같습니다.
{{도로안내표지/3지명|표지판 유형|화살표 방향|제1 지명|로마자|제2 지명|로마자|제3 지명|로마자|노선번호=|너비=|배경색=}}
틀 이용 시 유의사항은 다음과 같습니다:
- 도로안내표지 틀이 최대로 지원하는 줄 개수가 5줄이기 때문에, <br>, <br/>, <br />, {{ㅂ}} 등의 줄바꿈 문법은 최대 2번까지만 사용 가능합니다. 따라서 모든 지명의 로마자에 줄바꿈을 사용할 수 없습니다.
- 차로지정형(표지판 유형=0) 표지판으로는 사용을 권장하지 않습니다.