Skip to content

Commit

Permalink
Page macro: Replace VRDisplayCapilities example include (#5973)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Jun 14, 2021
1 parent e20620d commit 083cf99
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/vrdisplay/capabilities/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h3 id="Value">Value</h3>

<h2 id="Examples">Examples</h2>

<p>{{page("/Web/API/VRDisplayCapabilities", "Examples")}}</p>
<p>See <a href="/en-US/docs/Web/API/VRDisplayCapabilities#examples"><code>VRDisplayCapabilities</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/vrdisplay/displayid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h3 id="Value">Value</h3>

<h2 id="Examples">Examples</h2>

<p>{{page("/Web/API/VRDisplayCapabilities", "Examples")}}</p>
<p>See <a href="/en-US/docs/Web/API/VRDisplayCapabilities#examples"><code>VRDisplayCapabilities</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/vrdisplay/displayname/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h3 id="Value">Value</h3>

<h2 id="Examples">Examples</h2>

<p>{{page("/Web/API/VRDisplayCapabilities", "Examples")}}</p>
<p>See <a href="/en-US/docs/Web/API/VRDisplayCapabilities#examples"><code>VRDisplayCapabilities</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ <h3 id="Value">Value</h3>

<h2 id="Examples">Examples</h2>

<p>{{page("/Web/API/VRDisplayCapabilities", "Examples")}}</p>
<p>See <a href="/en-US/docs/Web/API/VRDisplayCapabilities#examples"><code>VRDisplayCapabilities</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
---
<div>{{APIRef("WebVR API")}}{{Deprecated_Header}}</div>

<p>The <strong><code>hasExternalDisplay</code></strong> read-only property of the {{domxref("VRDisplayCapabilities")}} interface returns a {{domxref("Boolean")}} stating whether the VR display is separate from the device's primary display.</p>
<p>The <strong><code>hasExternalDisplay</code></strong> read-only property of the {{domxref("VRDisplayCapabilities")}} interface returns <code>true</code> if the VR display is separate from the device's primary display.</p>

<div class="note">
<p><strong>Note</strong>: If presenting VR content would obscure other content on the device, this will return <code>false</code>, in which case the application should not attempt to mirror VR content or update non-VR UI because that content will not be visible.</p>
Expand All @@ -31,7 +31,7 @@ <h3 id="Value">Value</h3>

<h2 id="Examples">Examples</h2>

<p>{{page("/Web/API/VRDisplayCapabilities", "Examples")}}</p>
<p>See <a href="/en-US/docs/Web/API/VRDisplayCapabilities#examples"><code>VRDisplayCapabilities</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
---
<div>{{APIRef("WebVR API")}}{{Deprecated_header}}</div>

<p>The <strong><code>hasOrientation</code></strong> read-only property of the {{domxref("VRDisplayCapabilities")}} interface returns a {{domxref("Boolean")}} stating whether the VR display can track and return orientation information.</p>
<p>The <strong><code>hasOrientation</code></strong> read-only property of the {{domxref("VRDisplayCapabilities")}} interface returns <code>true</code> if the VR display can track and return orientation information.</p>

<h2 id="Syntax">Syntax</h2>

Expand All @@ -28,7 +28,7 @@ <h3 id="Value">Value</h3>

<h2 id="Examples">Examples</h2>

<p>{{page("/Web/API/VRDisplayCapabilities", "Examples")}}</p>
<p>See <a href="/en-US/docs/Web/API/VRDisplayCapabilities#examples"><code>VRDisplayCapabilities</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
---
<div>{{APIRef("WebVR API")}}{{Deprecated_Header}}</div>

<p>The <strong><code>hasPosition</code></strong> read-only property of the {{domxref("VRDisplayCapabilities")}} interface returns a {{domxref("Boolean")}} stating whether the VR display can track and return position information.</p>
<p>The <strong><code>hasPosition</code></strong> read-only property of the {{domxref("VRDisplayCapabilities")}} interface returns <code>true</code> if the VR display can track and return position information.</p>

<h2 id="Syntax">Syntax</h2>

Expand All @@ -27,7 +27,7 @@ <h3 id="Value">Value</h3>

<h2 id="Examples">Examples</h2>

<p>{{page("/Web/API/VRDisplayCapabilities", "Examples")}}</p>
<p>See <a href="/en-US/docs/Web/API/VRDisplayCapabilities#examples"><code>VRDisplayCapabilities</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h3 id="Value">Value</h3>

<h2 id="Examples">Examples</h2>

<p>{{page("/Web/API/VRDisplayCapabilities", "Examples")}}</p>
<p>See <a href="/en-US/docs/Web/API/VRDisplayCapabilities#examples"><code>VRDisplayCapabilities</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand Down

0 comments on commit 083cf99

Please sign in to comment.