Difference between revisions of "Template:Locationmarker"

From geofiction
Jump to navigation Jump to search
(Created page with "<includeonly>{{#titleparts:{{{1}}}|1|1}}| |_}} }}...{{#titleparts:{{{1}}}|2|2}} <div style=" position:absolute; float:left; left:{{#expr:-10-5+5}}px; top:{...")
 
m
Line 1: Line 1:
<includeonly>{{#titleparts:{{{1}}}|1|1}}| |_}} }}...{{#titleparts:{{{1}}}|2|2}}
+
<includeonly>{{#if:{{Isnumber|{{#titleparts:{{{1}}}|1|1}}}}|
 
<div style="
 
<div style="
 
     position:absolute;
 
     position:absolute;
 
     float:left;
 
     float:left;
     left:{{#expr:-10-5+5}}px;
+
     left:{{#expr:{{Between|0|{{#titleparts:{{{1}}}|1|1}}|1}}*{{{width|300}}}-{{{size|10}}}/2+5 round 0}}px;
     top:{{#expr:150-5+5}}px;
+
     top:{{#expr:{{Between|0|{{#titleparts:{{{1}}}|2|2}}|3}}*{{{width|300}}}-{{{size|10}}}/2+5 round 0}}px;
">[[File:Red pog.png|10px|link=Main Page]]
+
">[[File:Red pog.png|{{{size|10}}}px|link={{{link|}}}]]
</div></includeonly><noinclude><!--
+
</div>
 +
}}<!--
 +
 
 +
{{#expr:{{Between|0|{{#titleparts:{{{1}}}|1|1}}|1}}*{{{width|300}}}-{{{size|10}}}/2+5 round 0}}
 +
{{#expr:{{Between|0|{{#titleparts:{{{1}}}|2|2}}|3}}*{{{width|300}}}-{{{size|10}}}/2+5 round 0}}
 +
 
 +
{{Between|0|{{#expr:{{#titleparts:{{{1}}}|2|2}}*{{{width|300}}}-{{{size|10}}}/2+5}}|3}}
 +
 
 +
{{Between|0|{{#expr:{{#titleparts:{{{1}}}|1|1}} round 0}}|1}}
 +
 
 +
{{Between|0|{{#expr:{{#titleparts:{{{1}}}|2|2}} round 0}}|3}}
 +
 
 +
{{#titleparts:{{{1}}}|1|1}}
 +
 
 +
{{#titleparts:{{{1}}}|2|2}}
 +
 
 +
{{Between|0|{{#expr:{{#titleparts:{{{1}}}|1|1}} round 0}}|1}}
 +
 
 +
{{Between|0|{{#expr:{{#titleparts:{{{1}}}|2|2}} round 0}}|3}}
 +
 
 +
--></includeonly><noinclude><!--
 
     ____                                              __          __  _             
 
     ____                                              __          __  _             
 
   / __ \ ____  _____ __  __ ____ ___  ___  ____  / /_ ____ _ / /_ (_)____  ____  
 
   / __ \ ____  _____ __  __ ____ ___  ___  ____  / /_ ____ _ / /_ (_)____  ____  
Line 20: Line 40:
  
  
{{Locationmarker|3/5}}}
+
{{Locationmarker|0.46/2.345}}
  
  

Revision as of 19:37, 14 September 2022

Purpose

Examples

Some text in front of. {{Locationmap}} Some text behind.


Red pog.png