1 649
modifications
Ligne 348 : | Ligne 348 : | ||
Thanks for your feedback! <br> | Thanks for your feedback! <br> | ||
[[Utilisateur:Francoisdbe|Francoisdbe]] ([[Discussion utilisateur:Francoisdbe|discussion]]) 22 janvier 2024 à 18:14 (CET) | [[Utilisateur:Francoisdbe|Francoisdbe]] ([[Discussion utilisateur:Francoisdbe|discussion]]) 22 janvier 2024 à 18:14 (CET) | ||
:I will answer you after dinner. --[[Utilisateur:Egel|Egel]] ([[Discussion utilisateur:Egel|discussion]]) 22 janvier 2024 à 18:16 (CET) | :I will answer you after dinner. --[[Utilisateur:Egel|Egel]] ([[Discussion utilisateur:Egel|discussion]]) 22 janvier 2024 à 18:16 (CET) | ||
::Thanks ! no hurry at all. [[Utilisateur:Francoisdbe|Francoisdbe]] ([[Discussion utilisateur:Francoisdbe|discussion]]) 22 janvier 2024 à 18:30 (CET) | ::Thanks ! no hurry at all. [[Utilisateur:Francoisdbe|Francoisdbe]] ([[Discussion utilisateur:Francoisdbe|discussion]]) 22 janvier 2024 à 18:30 (CET) | ||
:::I made it wonderfully complicated. But you don't have to do it the same way. | |||
:::Yes, you can use it here.<br />The simplest thing is to add something like this to [[:Modèle:Infobox groupe]]: | |||
:::<nowiki>{{#display_map: {{{lat|0}}},{{{lon|0}}} |width=215 |height=215 }}</nowiki> | |||
:::That produces something like this:<br />{{#display_map:43.299839,-0.369363|width=215|height=215}} | |||
:::But what do you do if no coordinates are entered? This should work too:<br /><nowiki>{{#display_map: {{{adresse|}}} {{{ville|}}} {{{arrondissement|}}}|width=215 |height=215 }}</nowiki><br />{{#display_map: Pau |width=215 |height=215 }} | |||
:::For more possibilities see: https://maps.extension.wiki/wiki/Maps_for_MediaWiki | |||
:::#Your first question is answered here: [[mediawikiwiki:Help:Templates#Control_template_inclusion]] | |||
:::#Yes [[nl:Sjabloon:Slim Geocode]] is used to just correct some things. It mainly ensures that some old names can be used for places in former colonies. | |||
:::If a coordinate is entered then I use it, otherwise the coordinate is determined from the city, state and country. | |||
:::I do this through all kinds of templates because at the same time I also determine as many coordinates as possible for the map on "Catégorie:Région........". | |||
:::--[[Utilisateur:Egel|Egel]] ([[Discussion utilisateur:Egel|discussion]]) 22 janvier 2024 à 20:38 (CET) |