틀:위치표시: 두 판 사이의 차이
K-위키
편집 요약 없음 |
편집 요약 없음 |
||
| (같은 사용자의 중간 판 6개는 보이지 않습니다) | |||
| 15번째 줄: | 15번째 줄: | ||
<div {{#ifeq:{{{type|}}}|thumb|class="thumbinner"}} style="{{#switch:{{{type|}}} | <div {{#ifeq:{{{type|}}}|thumb|class="thumbinner"}} style="{{#switch:{{{type|}}} | ||
| thumb | border = width:{{#expr: | | thumb | border = width:{{#expr:{{{width|220}}}+2}} | ||
| #default = width: | | #default = width:{{{width|220}}}px;"> | ||
<div style="position:relative; background-color:#FFFFFF; {{#switch:{{{type|}}} | <div style="position:relative; background-color:#FFFFFF; {{#switch:{{{type|}}} | ||
| 22번째 줄: | 22번째 줄: | ||
| border = border:1px solid #DDDDDD}};"><!-- | | border = border:1px solid #DDDDDD}};"><!-- | ||
-->[[File:{{{image|}}} | -->[[File:{{{image|}}}|{{{width|220}}}px|{{{caption|}}}<!-- | ||
-->{{#if:{{{alt|}}}{{{caption|}}}|{{!}}alt= | -->{{#if:{{{alt|}}}{{{caption|}}}|{{!}}alt={{{alt|}}}|{{{caption| }}} }}]]<!-- | ||
-->{{#if:{{{overlay|}}} | -->{{#if:{{{overlay|}}} | ||
| <div style="position:absolute; z-index: 1; top: 0; left: 0;"><!-- | | <div style="position:absolute; z-index: 1; top: 0; left: 0;"><!-- | ||
-->[[File:{{{overlay}}} | -->[[File:{{{overlay}}}|{{{width|220}}}px|{{{caption|}}}<!-- | ||
-->|link=file:{{{image|}}}]]</div>}}<!-- | -->|link=file:{{{image|}}}]]</div>}}<!-- | ||
-->{{{marks|}}}</div><!-- | -->{{{marks|}}}</div><!-- | ||
-->{{#if:{{{caption|}}}|{{#ifeq:{{{type|}}}|thumb|<div class="thumbcaption">{{{caption|}}}</div>}}}} | -->{{#if:{{{caption| }}}|{{#ifeq:{{{type|}}}|thumb|<div class="thumbcaption">{{{caption| }}}</div>}}}} | ||
</div> | </div> | ||
</div> | </div> | ||
| 39번째 줄: | 39번째 줄: | ||
<pre> | <pre> | ||
{{ | {{위치표시 | ||
| width = | | width = 400 <!-- 입력 필수 --> | ||
| image = | | image = 포르페섬.jpg <!-- 입력 필수 --> | ||
| caption = Weather stations in Scotland | | caption = Weather stations in Scotland | ||
| float = | | float = | ||
| type = | | type = | ||
| marks = | | marks = | ||
{{ | {{위치표시~ | ||
| | | mark_width = 10 <!-- 입력 필수 --> | ||
| label = ''' | | label = '''여기''' | ||
| position = | | position = | ||
| x = 452 | y = 480 }} | | x = 452 | y = 480 }} | ||
}} | }} | ||
x, y 대신에 | |||
x%, y% 도 가능함 | |||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
2018년 11월 19일 (월) 01:57 기준 최신판
en.wikipedia.org/wiki/Template:Location_mark
{{위치표시
| width = 400 <!-- 입력 필수 -->
| image = 포르페섬.jpg <!-- 입력 필수 -->
| caption = Weather stations in Scotland
| float =
| type =
| marks =
{{위치표시~
| mark_width = 10 <!-- 입력 필수 -->
| label = '''여기'''
| position =
| x = 452 | y = 480 }}
}}
x, y 대신에
x%, y% 도 가능함