« Modèle:TexteSurImage » : différence entre les versions
De gahan
Aller à la navigationAller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 5 : | Ligne 5 : | ||
| image = [[File:Bandeau - Le Monde de Gahan.jpg|1000px]] | | image = [[File:Bandeau - Le Monde de Gahan.jpg|1000px]] | ||
| position = left, right ou center (obligatoire) | | position = left, right ou center (obligatoire) | ||
| text = Le Monde de Gahan | | text = <b>Le Monde de Gahan</b> | ||
| text-size = 25px | | text-size = 25px | ||
| text-color = white | | text-color = white | ||
Ligne 21 : | Ligne 21 : | ||
| image = [[File:Bandeau - Le Monde de Gahan.jpg]] | | image = [[File:Bandeau - Le Monde de Gahan.jpg]] | ||
| position = left, right ou center (obligatoire) | | position = left, right ou center (obligatoire) | ||
| text = Le Monde de Gahan | | text = <b>Le Monde de Gahan</b> | ||
| text-size = 25px | | text-size = 25px | ||
| text-color = white | | text-color = white | ||
Ligne 35 : | Ligne 35 : | ||
--><div class="{{#switch: {{{position|}}} | left = image-left | right = image-right | center = image-center }}" style="position: relative; display: inline-block;">{{{image}}} | --><div class="{{#switch: {{{position|}}} | left = image-left | right = image-right | center = image-center }}" style="position: relative; display: inline-block;">{{{image}}} | ||
<div style="position: absolute; | <div style="position: absolute; | ||
top: {{{ | top: {{{top}}}; | ||
bottom: {{{bottom}}}; | |||
left: {{{left}}}; | |||
right: {{{right}}}; | |||
; | |||
opacity: {{{transparence}}};">{{{texte}}} | |||
opacity: {{{transparence}}};"> | </div> | ||
</div> |
Version du 18 novembre 2024 à 21:46
Ce template permet de marquer une zone sur une carte afin de situer un lieu.
Le code à inclure:
{{TexteSurImage | image = [[File:Bandeau - Le Monde de Gahan.jpg]] | position = left, right ou center (obligatoire) | text = <b>Le Monde de Gahan</b> | text-size = 25px | text-color = white | text-shadow = 4px 4px 7px #000000; | top = | bottom = | left = | right = }}