Editing Template:Marker
From The Fifth City Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
/* Move marker on map */ | /* Move marker on map */ | ||
position: absolute; | position: absolute; | ||
transform: translate | transform: translate({{{x|0}}}%, {{{y|0}}}%); | ||
/* Transformation percentages take into account | /* Transformation percentages take into account | ||
Line 13: | Line 13: | ||
a percentage of the parent element's size, | a percentage of the parent element's size, | ||
this element must have the same size. */ | this element must have the same size. */ | ||
width: | width: 100%; | ||
height: | height: 100%; | ||
" | " | ||
class = "frontOnChildHover" | class = "frontOnChildHover" | ||
Line 98: | Line 98: | ||
"><!-- | "><!-- | ||
-->{{#if:{{{header|}}}|[[File:{{{header|}}}]]}}<!-- | -->{{#if:{{{header|}}}|[[File:{{{header|}}}]]}}<!-- | ||
-->{{#if:{{{image|}}}| | -->{{#if:{{{image|}}}|[[File:{{{image|}}}|right]]}}<!-- | ||
-->{{{1|}}}<!-- | -->{{{1|}}}<!-- | ||
--></div><!-- | --></div><!-- |