틀:도로안내표지/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 {{{노선번호|}}}|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: {{{너비|240px}}}; margin: 2px 0 2px {{#if:{{{노선번호|}}}|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=&nbsp;
|0=&nbsp;
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:{{{노선번호|}}}||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: 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></span><br /><span style="font-size: 22pt;">{{{7|}}}</span> <span style="font-size: 16pt;">{{{8|}}}</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>
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:20 기준 최신판

Applications-system.svg경고! 이 틀은 구조가 복잡한 틀입니다.
이 틀을 잘못 편집하면 랜섬웨어가 컴퓨터에 침투할 수도 있습니다. 그러니 제발! 그냥 놔 두세요.
해당 틀에 쓰이는 특정 문법이나 함수, html 코드를 잘 다루는 분들만 편집하시기 바랍니다. 만약 이 틀을 잘못 건드려서 틀이 제 기능을 하지 못한다면 당장 되돌리기 기능을 이용해 되돌리세요. 면책 조항: 이 틀이 달린 글이라도 사실이 아닐 수 있습니다.
↑︎


{{도로안내표지}}의 3지명 지원 버전입니다. 이용 방법은 아래와 같습니다.

{{도로안내표지/3지명|표지판 유형|화살표 방향|제1 지명|로마자|제2 지명|로마자|제3 지명|로마자|노선번호=|너비=|배경색=}}

틀 이용 시 유의사항은 다음과 같습니다:

  1. 도로안내표지 틀이 최대로 지원하는 줄 개수가 5줄이기 때문에, <br>, <br/>, <br />, {{ㅂ}} 등의 줄바꿈 문법은 최대 2번까지만 사용 가능합니다. 따라서 모든 지명의 로마자에 줄바꿈을 사용할 수 없습니다.
  2. 차로지정형(표지판 유형=0) 표지판으로는 사용을 권장하지 않습니다.