aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/geolocation
diff options
context:
space:
mode:
authortristantheb <tristantheb@users.noreply.github.com>2021-04-02 13:50:14 +0200
committerGitHub <noreply@github.com>2021-04-02 13:50:14 +0200
commit99efa5cfa34c3f9d38b75352881acdfc99508ebf (patch)
tree15a37e05bf05f0daff2893f0a2f1c8a3673ac86b /files/fr/web/api/geolocation
parentc37cf5ec1bb9d4f6c51d12eaeef1bd5af12695f8 (diff)
downloadtranslated-content-99efa5cfa34c3f9d38b75352881acdfc99508ebf.tar.gz
translated-content-99efa5cfa34c3f9d38b75352881acdfc99508ebf.tar.bz2
translated-content-99efa5cfa34c3f9d38b75352881acdfc99508ebf.zip
UPDATE: FR-ONLY - Remove all old CompatibilityTable to replace with {{Compat()}} (#311)
* UPDATE: Removing CompatibilityTable script - Part 1 * UPDATE: Removing CompatibilityTable script - Part 2 * UPDATE: Removing CompatibilityTable script - Part 3 * UPDATE: Removing CompatibilityTable script - Part 4 * UPDATE: Removing CompatibilityTable script - Part 5/5 * FIX: Repair the EOL of one page * FIX: Fix conflicting file
Diffstat (limited to 'files/fr/web/api/geolocation')
-rw-r--r--files/fr/web/api/geolocation/clearwatch/index.html62
-rw-r--r--files/fr/web/api/geolocation/index.html62
-rw-r--r--files/fr/web/api/geolocation/watchposition/index.html64
3 files changed, 13 insertions, 175 deletions
diff --git a/files/fr/web/api/geolocation/clearwatch/index.html b/files/fr/web/api/geolocation/clearwatch/index.html
index b60b0df663..c4952eb7cf 100644
--- a/files/fr/web/api/geolocation/clearwatch/index.html
+++ b/files/fr/web/api/geolocation/clearwatch/index.html
@@ -75,68 +75,14 @@ id = navigator.geolocation.watchPosition(success, error, options);
</tbody>
</table>
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
-<p>{{ CompatibilityTable() }}</p>
+<p>{{Compat("api.Geolocation.clearWatch")}}</p>
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Caractéristique</th>
- <th>Chrome</th>
- <th>Limite</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- Supprimé en 15.0<br>
- Réintroduite en 16.0</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Caractéristique</th>
- <th>Android</th>
- <th>Chrome pour Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="Voir_également">Voir également</h2>
+<h2 id="See_also">Voir aussi</h2>
<ul>
- <li><a href="/en-US/docs/WebAPI/Using_geolocation" title="/en-US/docs/WebAPI/Using_geolocation">Using geolocation</a></li>
+ <li><a href="/fr/docs/Web/API/Using_geolocation">Utiliser geolocation</a></li>
<li>{{domxref("Geolocation")}}</li>
<li>{{domxref("Geolocation.watchPosition()")}}</li>
<li>{{domxref("Geolocation.getCurrentPosition()")}}</li>
diff --git a/files/fr/web/api/geolocation/index.html b/files/fr/web/api/geolocation/index.html
index 0dd4b6917a..e492a2a532 100644
--- a/files/fr/web/api/geolocation/index.html
+++ b/files/fr/web/api/geolocation/index.html
@@ -55,66 +55,12 @@ translation_of: Web/API/Geolocation
</tbody>
</table>
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
-<p>{{ CompatibilityTable() }}</p>
+<p>{{Compat("api.Geolocation")}}</p>
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Caractéristique</th>
- <th>Chrome</th>
- <th>Limite</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- Removed in 15.0<br>
- Reintroduced in 16.0</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Caractéristique</th>
- <th>Android</th>
- <th>Chrome pour Android</th>
- <th>Limite</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="Voir_également">Voir également</h2>
+<h2 id="See_also">Voir aussi</h2>
<ul>
- <li><a href="/en-US/docs/WebAPI/Using_geolocation" title="/en-US/docs/WebAPI/Using_geolocation">Using geolocation</a></li>
+ <li><a href="/fr/docs/Web/API/Geolocation_API/Using_the_Geolocation_API">Utiliser geolocation</a></li>
</ul>
diff --git a/files/fr/web/api/geolocation/watchposition/index.html b/files/fr/web/api/geolocation/watchposition/index.html
index 00b5d17796..4e8ae61663 100644
--- a/files/fr/web/api/geolocation/watchposition/index.html
+++ b/files/fr/web/api/geolocation/watchposition/index.html
@@ -86,69 +86,15 @@ id = navigator.geolocation.watchPosition(success, error, options);
</tbody>
</table>
-<h2 id="Navigateurs_compatibles">Navigateurs compatibles</h2>
+<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
-<p>{{ CompatibilityTable() }}</p>
+<p>{{Compat("api.Geolocation.watchPosition")}}</p>
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Caractère</th>
- <th>Chrome</th>
- <th>Limite</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- Supprimé de 15.0<br>
- Réintroduit en 16.0</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Caractère</th>
- <th>Android</th>
- <th>Chrome pour Android</th>
- <th>Limite</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="Voir_également">Voir également</h2>
+<h2 id="See_also">Voir aussi</h2>
<ul>
- <li><a href="/en-US/docs/Web/API/Geolocation/navigator.requestWakeLock()">geolocation wake lock</a></li>
- <li><a href="/en-US/docs/WebAPI/Using_geolocation" title="/en-US/docs/WebAPI/Using_geolocation">Using geolocation</a></li>
+ <li><a href="/fr/docs/Web/API/Geolocation/navigator.requestWakeLock()">geolocation wake lock</a></li>
+ <li><a href="/fr/docs/WebAPI/Using_geolocation">Utiliser geolocation</a></li>
<li>L'interface qui lui est réservée, {{domxref("Geolocation")}}, et la façon d'y accéder {{domxref("NavigatorGeolocation.geolocation")}}.</li>
<li>L'opération inverse : {{domxref("Geolocation.clearWatch()")}}</li>
<li>Une méthode similaire : {{domxref("Geolocation.getCurrentPosition()")}}</li>