틀:지도 크롭/경위도: 두 판 사이의 차이

(새 문서: <onlyinclude> <div style=" overflow: hidden; width: {{{width|500}}}px; height: {{{height|300}}}px; border: 2px solid black; "> <div style=" position: relative; width: {{#expr: {{{size|1}}}*1000}}px; top: -{{#expr: ( ( 45 - {{{long|{{{2|0}}}}}} ) / 90 * ({{{size|1}}}*1000) - {{{width|500}}} / 2 ) / 3840 * 2160 round 0}}px; left: -{{#expr: {{{lat|{{{1|180}}}}}} / 360 * ({{{size|1}}}*1000) - {{{width|500}}} / 2 round 0}}px; " > 파일:Tasdia de sat.sv...)
 
편집 요약 없음
10번째 줄: 10번째 줄:
     position: relative;
     position: relative;
     width: {{#expr: {{{size|1}}}*1000}}px;
     width: {{#expr: {{{size|1}}}*1000}}px;
     top: -{{#expr: ( ( 45 - {{{long|{{{2|0}}}}}} ) / 90 * ({{{size|1}}}*1000) - {{{width|500}}} / 2 ) / 3840 * 2160 round 0}}px;
     top: -{{#expr: ( 90 - {{{long|{{{2|0}}}}}} ) / 180 * ({{{size|1}}}*1000 ) / 3840 * 2160 - {{{height|300}}} / 2 round 0}}px;
     left: -{{#expr: {{{lat|{{{1|180}}}}}} / 360 * ({{{size|1}}}*1000) - {{{width|500}}} / 2 round 0}}px;
     left: -{{#expr: {{{lat|{{{1|180}}}}}} / 360 * ({{{size|1}}}*1000) - {{{width|500}}} / 2 round 0}}px;
   "
   "
19번째 줄: 19번째 줄:
</onlyinclude>
</onlyinclude>


{{지도 크롭/경위도|lat=220|long=-10|size=2}}
{{코드 보여주기|
|<nowiki>{{지도 크롭/경위도|lat=232|long=-17|size=2.5|width=400|height=300}}</nowiki>
|<nowiki>{{지도 크롭/경위도|lat=232|long=-17|size=2.5|width=300|height=200}}</nowiki>
|<nowiki>{{지도 크롭/경위도|lat=232|long=-17|size=1|width=300|height=200}}</nowiki>
}}

2022년 6월 20일 (월) 01:20 판

Tasdia de sat.svg


입력한 내용 화면에 표시되는 내용
{{지도 크롭/경위도|lat=232|long=-17|size=2.5|width=400|height=300}}

Tasdia de sat.svg

{{지도 크롭/경위도|lat=232|long=-17|size=2.5|width=300|height=200}}

Tasdia de sat.svg

{{지도 크롭/경위도|lat=232|long=-17|size=1|width=300|height=200}}

Tasdia de sat.svg