«قالب:مظهر النافذة»: الفرق بين المراجعتين
[مراجعة منقحة] | [مراجعة منقحة] |
سطر ٤٣: | سطر ٤٣: | ||
|2= | |2= | ||
<div>{{#if:{{{الخريطة|}}}|'''[[{{{الخريطة}}}]]'''|لا أسماء}}</div> | <div>{{#if:{{{الخريطة|}}}|'''[[{{{الخريطة}}}]]'''|لا أسماء}}</div> | ||
− | <div style="margin: 10px 0;">''' | + | <div style="margin: 10px 0;">'''الإحداثيات''' : {{{الإحداثيات}}}</div> |
{{#ifeq:{{{صورة الخريطة|}}}|None||<div style="width: max-content; max-width: 100%; margin: 0 auto;"> | {{#ifeq:{{{صورة الخريطة|}}}|None||<div style="width: max-content; max-width: 100%; margin: 0 auto;"> | ||
<div style="position: relative;">{{إسم صورة الخريطة|الخريطة={{{الخريطة|}}}}} | <div style="position: relative;">{{إسم صورة الخريطة|الخريطة={{{الخريطة|}}}}} | ||
− | <div style="position: absolute; top: calc({{#expr:{{#explode:{{{ | + | <div style="position: absolute; top: calc({{#expr:{{#explode:{{{الإحداثيات}}}|,|1}}/{{CarteCoord|1=y|2={{{الخريطة|}}}}}*100}}% + 0.5px); left: calc({{#expr:{{#explode:{{{الإحداثيات}}}|,|0}}/{{CarteCoord|1=x|2={{{الخريطة|}}}}}*100}}% + 0.5px); transform: translate(-3px, -3px);"> |
<div style="position: relative; width: 7px; height: 7px; background: #7ae75d;"> | <div style="position: relative; width: 7px; height: 7px; background: #7ae75d;"> | ||
<div style="position: absolute; top: 2px; left: 2px; width: 3px; height: 3px; background-color: #f80000; animation: pnj-square .1s infinite;"></div> | <div style="position: absolute; top: 2px; left: 2px; width: 3px; height: 3px; background-color: #f80000; animation: pnj-square .1s infinite;"></div> |