From GamingWiki
Jump to: navigation, search
(Created page with "<noinclude> Parameters for this template are: # link # idea # aspect # face # address # lat # lng # description # key </noinclude>{{MapMarker | title = {{{1}}} | key = {{{...")
 
 
(5 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
# description
 
# description
 
# key
 
# key
 +
# corners
 +
# zoom
  
</noinclude>{{MapMarker
+
</noinclude><!--
 +
 
 +
-->{{#vardefine:key|{{{9|{{anchorencode:{{{1}}}}}}}}}}<!--
 +
 
 +
-->{{MapMarker
 
| title  = {{{1}}}
 
| title  = {{{1}}}
| key    = {{{9|unknown}}}
+
| key    = {{#var:key}}
 
| content = {{{8|no content}}}
 
| content = {{{8|no content}}}
 
}}
 
}}
 
<html><script type="text/javascript">  
 
<html><script type="text/javascript">  
markers.push( {  
+
var key = "</html>{{#var:key}}<html>";
   address: "{{{5|}}}",
+
markers[key] = {  
   lat:    "{{{6|}}}",
+
   address: "</html>{{{5|}}}<html>",
   lng:    "{{{7|}}}",
+
   lat:    "</html>{{{6|}}}<html>",
   name:    "{{{1}}}",
+
   lng:    "</html>{{{7|}}}<html>",
   node:    "desc{{{9|unknown}}}"
+
   name:    "</html>{{{1}}}<html>",
});
+
  id:      key,
 +
  corners: "</html>{{{10|}}}<html>",
 +
   zoom:    "</html>{{{11|}}}<html>"
 +
};
 
</script></html>
 
</script></html>

Latest revision as of 20:22, 26 May 2011

Parameters for this template are:

  1. link
  2. idea
  3. aspect
  4. face
  5. address
  6. lat
  7. lng
  8. description
  9. key
  10. corners
  11. zoom

{{{1}}}

no content