Modèle:Test : Différence entre versions
[version non vérifiée] | [version non vérifiée] |
Ligne 1 : | Ligne 1 : | ||
− | <div class="popInfo" style="position: absolute; top: calc( | + | {{#ifexpr:{{{size|7}}} mod 2 = 0 |
− | <div style="display: grid; justify-items: stretch; width: | + | |[[Catégorie:Informations manquantes]] |
− | {{IconeHelp|Version=2|Tel=True|Marchande ( | + | {{Attention|1= |
− | </div> | + | Le paramètre '''size''' soit être un nombre impair. |
+ | }} | ||
+ | | | ||
+ | <div class="popInfo" style="position: absolute; top: calc({{{y}}}/{{CarteCoord|1=y|2={{{Carte}}}}}*100% + 0.5px); left: calc({{{x}}}/{{CarteCoord|1=x|2={{{Carte}}}}}*100% + 0.5px); transform: translate(-{{#expr:floor({{{size|7}}}/2)}}px, -{{#expr:floor({{{size|7}}}/2)}}px);"> | ||
+ | <div style="display: grid; justify-items: stretch; width: {{{size|7}}}px; height: {{{size|7}}}px; background: #7ae75d; overflow: hidden;">[[Image:Casepnj.png|{{{size|7}}}px|link=Marchande]]</div> | ||
+ | {{IconeHelp|Version=2|Tel=True|Marchande ({{{x}}}, {{{y}}}})|style=width: max-content; bottom: {{#expr:10 + {{{size|7}}}}}px; transform: translate({{#expr:-{{{x}}}/{{CarteCoord|1=x|2={{{Carte}}}}}*100}}%);}} | ||
+ | </div>}} |
Version du 1 avril 2024 à 01:06
<div class="popContenu cadreFenetre " style="position: absolute; z-index: 100; pointer-events: none; width: 200px; color: black; transform: translate(-170px); bottom: 30px; white-space: normal; opacity: 0; width: max-content; bottom: 17px; transform: translate(Erreur d’expression : caractère de ponctuation « { » non reconnu.%);">
Marchande ({{{x}}}, {{{y}}}})