틀:위치표시: 두 판 사이의 차이

K-위키
새 문서: <includeonly>{{#ifeq:{{{float|}}}|center|<div class="center">}} <div class="{{#ifeq:{{{type|}}}|thumb | thumb {{#switch:{{{float|}}} | "left" | left = tleft | "right" | right...
 
편집 요약 없음
 
(같은 사용자의 중간 판 7개는 보이지 않습니다)
15번째 줄: 15번째 줄:


   <div {{#ifeq:{{{type|}}}|thumb|class="thumbinner"}} style="{{#switch:{{{type|}}}
   <div {{#ifeq:{{{type|}}}|thumb|class="thumbinner"}} style="{{#switch:{{{type|}}}
   | thumb | border = width:{{#expr:{{ifempty|{{{width|}}}|220}}+2}}
   | thumb | border = width:{{#expr:{{{width|220}}}+2}}
   | #default = width:{{ifempty|{{{width|}}}|220}}}}px;">
   | #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|}}}|{{ifempty|{{{width|}}}|220}}px|{{{caption|}}}<!--
     -->[[File:{{{image|}}}|{{{width|220}}}px|{{{caption|}}}<!--
       -->{{#if:{{{alt|}}}{{{caption|}}}|{{!}}alt={{ifempty|{{{alt|}}}|{{{caption|}}}}}}}]]<!--
       -->{{#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}}}|{{ifempty|{{{width|}}}|220}}px|{{{caption|}}}<!--
       -->[[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>
{{#ifeq:{{{float|}}}|center|</div>}}</includeonly><noinclude>
{{#ifeq:{{{float|}}}|center|</div>}}</includeonly><noinclude>
{{documentation}}
en.wikipedia.org/wiki/Template:Location_mark
<!--
 
  Please add categories and interwikis
<pre>
  to the /doc sub-page, thanks
{{위치표시
-->
| 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% 도 가능함
</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% 도 가능함