diff options
author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-27 18:02:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 18:02:34 +0300 |
commit | 09d10136633355937867a21d65db64ae3c4d5829 (patch) | |
tree | 7405949290f874407855847c7832da361dd8f9d7 /files/ru/web/api/webglrenderingcontext | |
parent | 56817c1235a48d66c12ddf1c3d37a0e61977b875 (diff) | |
download | translated-content-09d10136633355937867a21d65db64ae3c4d5829.tar.gz translated-content-09d10136633355937867a21d65db64ae3c4d5829.tar.bz2 translated-content-09d10136633355937867a21d65db64ae3c4d5829.zip |
Использование макроса для вставки специфицикаций - 2 (#2883)
Diffstat (limited to 'files/ru/web/api/webglrenderingcontext')
5 files changed, 5 insertions, 95 deletions
diff --git a/files/ru/web/api/webglrenderingcontext/activetexture/index.html b/files/ru/web/api/webglrenderingcontext/activetexture/index.html index 80394f5f0a..06836b64aa 100644 --- a/files/ru/web/api/webglrenderingcontext/activetexture/index.html +++ b/files/ru/web/api/webglrenderingcontext/activetexture/index.html @@ -48,25 +48,7 @@ gl.getParameter(gl.ACTIVE_TEXTURE); <h2 id="Спецификация">Спецификация</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>{{SpecName('WebGL', "#5.14.3", "activeTexture")}}</td> - <td>{{Spec2('WebGL')}}</td> - <td>Initial definition.</td> - </tr> - <tr> - <td>{{SpecName('OpenGL ES 2.0', "glActiveTexture.xml", "glActiveTexture")}}</td> - <td>{{Spec2('OpenGL ES 2.0')}}</td> - <td>Man page of the OpenGL API.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/api/webglrenderingcontext/compileshader/index.html b/files/ru/web/api/webglrenderingcontext/compileshader/index.html index c794881b0d..dca8e34eea 100644 --- a/files/ru/web/api/webglrenderingcontext/compileshader/index.html +++ b/files/ru/web/api/webglrenderingcontext/compileshader/index.html @@ -28,25 +28,7 @@ gl.compileShader(shader); <h2 id="Спецификация">Спецификация</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>{{SpecName('WebGL', "#5.14.9", "compileShader")}}</td> - <td>{{Spec2('WebGL')}}</td> - <td>Initial definition.</td> - </tr> - <tr> - <td>{{SpecName('OpenGL ES 2.0', "glCompileShader.xml", "glCompileShader")}}</td> - <td>{{Spec2('OpenGL ES 2.0')}}</td> - <td>OpenGL man page.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/api/webglrenderingcontext/getshaderinfolog/index.html b/files/ru/web/api/webglrenderingcontext/getshaderinfolog/index.html index ad39d29c01..3d496038d5 100644 --- a/files/ru/web/api/webglrenderingcontext/getshaderinfolog/index.html +++ b/files/ru/web/api/webglrenderingcontext/getshaderinfolog/index.html @@ -43,25 +43,7 @@ if (message.length > 0) { <h2 id="Спецификация">Спецификация</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>{{SpecName('WebGL', "#5.14.9", "getShaderInfoLog")}}</td> - <td>{{Spec2('WebGL')}}</td> - <td>Initial definition.</td> - </tr> - <tr> - <td>{{SpecName('OpenGL ES 2.0', "glGetShaderInfoLog.xml", "glGetShaderInfoLog")}}</td> - <td>{{Spec2('OpenGL ES 2.0')}}</td> - <td>Man page of the OpenGL API.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/api/webglrenderingcontext/shadersource/index.html b/files/ru/web/api/webglrenderingcontext/shadersource/index.html index cf35c5a6d5..d1ab03b9ad 100644 --- a/files/ru/web/api/webglrenderingcontext/shadersource/index.html +++ b/files/ru/web/api/webglrenderingcontext/shadersource/index.html @@ -34,25 +34,7 @@ var source = gl.getShaderSource(shader);</pre> <h2 id="Спецификация">Спецификация</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарии</th> - </tr> - <tr> - <td>{{SpecName('WebGL', "#5.14.9", "shaderSource")}}</td> - <td>{{Spec2('WebGL')}}</td> - <td>Initial definition.</td> - </tr> - <tr> - <td>{{SpecName('OpenGL ES 2.0', "glShaderSource.xml", "glShaderSource")}}</td> - <td>{{Spec2('OpenGL ES 2.0')}}</td> - <td>Man page of the (similar) OpenGL API.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/api/webglrenderingcontext/uniform/index.html b/files/ru/web/api/webglrenderingcontext/uniform/index.html index 14433ccd6c..1436e057d2 100644 --- a/files/ru/web/api/webglrenderingcontext/uniform/index.html +++ b/files/ru/web/api/webglrenderingcontext/uniform/index.html @@ -66,25 +66,7 @@ gl.uniform1iv(samplerCubeUniformLoc, [v]); // для samplerCube или масс <h2 id="Спецификация">Спецификация</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - <tr> - <td>{{SpecName('WebGL', "#5.14.10", "uniform")}}</td> - <td>{{Spec2('WebGL')}}</td> - <td>Initial definition.</td> - </tr> - <tr> - <td>{{SpecName('OpenGL ES 2.0', "glUniform.xml", "glUniform")}}</td> - <td>{{Spec2('OpenGL ES 2.0')}}</td> - <td>Main page of the OpenGL API.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> |