Template:Marker: Difference between revisions
From The Fifth City Wiki
Fix all hover issues AND tooltip scaling. Hopefully. |
m Add parameter notooltip that disables the tooltip, and the parameter link that links to an article on click |
||
Line 26: | Line 26: | ||
; | ; | ||
" | " | ||
class = " | class = "{{#if:{{{notooltip|}}}||thastooltip}} hoverChild" | ||
><!-- | ><!-- | ||
Line 44: | Line 44: | ||
Marker | Marker | ||
--><div style = " | -->{{#if:{{{link|}}}|{{!((}}{{{link}}}{{!}}}}<div style = " | ||
/* ~*Style*~ */ | /* ~*Style*~ */ | ||
font-family: 'Roboto Slab', Georgia, Times, serif; | font-family: 'Roboto Slab', Georgia, Times, serif; | ||
Line 55: | Line 55: | ||
box-shadow: 0px 0px 5px 0px rgb(111, 133, 134); | box-shadow: 0px 0px 5px 0px rgb(111, 133, 134); | ||
" | " | ||
>{{{name|Unnamed Marker}}}</div><!-- | >{{{name|Unnamed Marker}}}</div>{{#if:{{{link|}}}|{{))!}}}}<!-- | ||
Marker bottom flair | Marker bottom flair | ||
Line 72: | Line 72: | ||
Tooltip | Tooltip | ||
--><div class = "tooltip" style = " | --><div class = "{{#if:{{{notooltip|}}}||tooltip}}" style = " | ||
width: 150%; /* Width of tooltip in relation to marker */ | width: 150%; /* Width of tooltip in relation to marker */ | ||
min-width: 150%; | min-width: 150%; |
Revision as of 08:09, 25 June 2025

Unnamed Marker
