Template:FakeSVG: Difference between revisions
let's migrate em to be /doc page |
unified design |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Cleanupbox |
|||
{{BadSVG/layout |
|||
|type=warn |
|||
⚫ | |||
|image = |
|||
⚫ | |||
|imageright = [[File:No SVG.svg|62px|link=]] |
|||
⚫ | |||
⚫ | |default = This {{Igen/top|{{{topic|}}}|image|lang=en}} is not a real [[Help:SVG|SVG]] file and is just a {{W|Digital container format|wrapper}} containing one or more raster graphics with{{#ifeq:{{{1}}}|x| ''only text''|out}} vector coding.<br><strong>Using SVG as just a wrapper is undesirable.</strong><br>{{#ifeq:{{{1}}}|x|| |
||
'''Note:''' This template should be used if the SVG file contains only raster graphics. If the SVG file contains both vector and raster graphics, then use {{template|BadSVG}}.}} |
'''Note:''' This template should be used if the SVG file contains only raster graphics. If the SVG file contains both vector and raster graphics, then use {{template|BadSVG}}.}} |
||
|de = Diese Grafik ist keine wirkliche [[Help:SVG|SVG]], sie ist nur ein '''Fake''' ({{Wd|Containerformat|Container}}), eine <!-- eingebettete --> Rastergrafik {{#ifeq:{{{1}}}|x|mit ''lediglich'' Text|ohne}} Vektor-Codierung.<br><strong>Diese missbräuchliche Verwendung von SVG als {{W|Metafile||de}} ist unerwünscht.</strong> |
|||
|es = Este gráfico no es un [[Help:SVG|SVG]] real, solo un '''fake''' ({{We|Formato contenedor|<!--envoltura-->wrapper}}), es un gráfico de trama {{#ifeq:{{{1}}}|x|con codificación de texto ''solamente''|sin codificación vectorial}}.<br><strong>Tal uso indebido de SVG como {{W|Computer Graphics Metafile|Metafile}} es indeseable.</strong> |
|||
|fr = Ce graphique n'est pas un vrai [[Help:SVG|SVG]], c'est un '''fake''' ({{Wf|format conteneur}}), c'est un graphique matriciel {{#ifeq:{{{1}}}|x|avec codage de texte ''uniquement''|sans codage vectoriel}}.<br><strong>Un tel abus d'usage du format SVG comme {{Wf|Computer Graphics Metafile|Metafile}} est indésirable.</strong> |
|||
|ru = Эта графика не является настоящим [[Help:SVG|SVG]]-файлом, это '''подделка''' ({{W|Digital container format|оболочка}}), растровая графика{{#ifeq:{{{1}}}|x| ''только текст''| без}} векторного кода.<br><strong>Использование SVG только в качестве оболочки нежелательно.</strong><br>{{#ifeq:{{{1}}}|x|| |
|||
'''Примечание:''' Этот шаблон следует использовать, если SVG-файл содержит только растровую графику. Если SVG-файл содержит как векторную, так и растровую графику, то следует использовать шаблон {{template|BadSVG}}.}} |
'''Примечание:''' Этот шаблон следует использовать, если SVG-файл содержит только растровую графику. Если SVG-файл содержит как векторную, так и растровую графику, то следует использовать шаблон {{template|BadSVG}}.}} |
||
|sl = Ta grafična {{Igen/top|{{{topic|}}}|slika|lang=en}} ni pravi [[Help:SVG|SVG]], ampak zgolj '''lažni''' ({{W|Digital container format|ovoj}}), torej je rastrska grafika {{#ifeq:{{{1}}}|x|''samo'' z besedilnim kodiranjem|brez vektorskega kodiranja}}.<br><strong>Uporaba SVG-ja zgolj kot ovoja je pogosto nezaželena.</strong><br>{{#ifeq:{{{1}}}|x|| |
|||
'''Opomba:''' To predloge uporabite, če SVG-datoteka vsebuje samo rastrsko grafiko. Če SVG-datoteka vsebuje vektorsko in rastrsko grafiko, uporabite predlogo {{template|BadSVG}}.}} |
'''Opomba:''' To predloge uporabite, če SVG-datoteka vsebuje samo rastrsko grafiko. Če SVG-datoteka vsebuje vektorsko in rastrsko grafiko, uporabite predlogo {{template|BadSVG}}.}} |
||
|ja = この画像は本物のSVGではなく、偽物 (ラッパー) です。ベクトルコーディングのないラスターグラフィックです。 |
|||
SVGを{{W|Computer Graphics Metafile|メタファイル}}として使用することは望ましくありません。</strong> |
SVGを{{W|Computer Graphics Metafile|メタファイル}}として使用することは望ましくありません。</strong> |
||
|ko = 이 {{Igen/top|{{{topic|}}}|그래픽 이미지는|lang=ko}} 실제 [[Help:SVG/ko|SVG]]가 아니라 '''가짜'''({{w|디지털 컨테이너 포맷|래퍼|ko}})이며 {{#ifeq:{{{1}}}|x|''텍스트로 된 벡터 코딩만 있''|벡터 코딩이 없}}는 래스터 그래픽입니다.<br><strong>SVG를 래퍼로만 사용하는 것은 바람직하지 않을 수 있습니다.</strong><br>{{#ifeq:{{{1}}}|x|| |
|||
'''참고:''' 이 틀은 SVG 파일에 래스터 그래픽만 포함된 경우에 사용해야 합니다. SVG 파일에 벡터 그래픽과 래스터 그래픽이 모두 포함된 경우에는 {{template|BadSVG}}를 사용하십시오.}} |
'''참고:''' 이 틀은 SVG 파일에 래스터 그래픽만 포함된 경우에 사용해야 합니다. SVG 파일에 벡터 그래픽과 래스터 그래픽이 모두 포함된 경우에는 {{template|BadSVG}}를 사용하십시오.}} |
||
|zh-hans = 该{{Igen/top|{{{topic|}}}|图片|lang=zh-hans}}并不是真实的[[Help:SVG|SVG]]文件,而是'''假的'''{{wz|视频文件格式|包装}}图形,这是一个{{#ifeq:{{{1}}}|x|只有文字|没有}}向量代码程序的光栅图形。<br><strong>单纯用SVG作文件包装是不受欢迎的。</strong><br> |
|||
{{#ifeq:{{{1}}}|x||'''注意:'''此模板应在SVG文件只包含光栅图形是才使用。如果SVG文件包含向量和光栅图形,则应当使用{{template|BadSVG}}。}} |
{{#ifeq:{{{1}}}|x||'''注意:'''此模板应在SVG文件只包含光栅图形是才使用。如果SVG文件包含向量和光栅图形,则应当使用{{template|BadSVG}}。}} |
||
|zh-hant = 此{{Igen/top|{{{topic|}}}|圖片|lang=zh-hant}}並非真實的[[Help:SVG|SVG]]檔案,而是'''假的'''或{{wz|影片檔案格式|包裝}}的圖形,此圖形為不含向量程式碼的點陣圖形。<br><strong>將SVG誤用成[[:zh:圖元檔案|圖元檔案]]是極不可取的行為。</strong><br> |
|||
'''注意:'''僅有SVG檔案只有包含光柵圖形時,才可使用此模板。若SVG檔案有混合向量或點陣的情形時,則應使用{{template|BadSVG}}。 |
'''注意:'''僅有SVG檔案只有包含光柵圖形時,才可使用此模板。若SVG檔案有混合向量或點陣的情形時,則應使用{{template|BadSVG}}。 |
||
}} |
|||
| style = border: 6px dotted #F06; background-color: #FED; {{{style|}}}; |
|||
|style = |
|||
}}<noinclude>{{documentation}}</noinclude><includeonly>{{iffile|{{#ifeq:{{{category}}}|-||{{#ifeq:{{padleft:|1|{{{category}}}}}|[|{{{category}}} |
}}<noinclude>{{documentation}}</noinclude><includeonly>{{iffile|{{#ifeq:{{{category}}}|-||{{#ifeq:{{padleft:|1|{{{category}}}}}|[|{{{category}}} |
||
|[[Category:Fake SVG{{#if:{{{category|}}}{{{badcat|}}}|s by {{#if:{{{category|}}}|{{{category|}}}|{{{badcat|}}}}}<!-- |
|[[Category:Fake SVG{{#if:{{{category|}}}{{{badcat|}}}|s by {{#if:{{{category|}}}|{{{category|}}}|{{{badcat|}}}}}<!-- |
||
-->|{{#ifeq:{{{1}}}|x|s with text}}{{{key|}}}}}]]}}}}}} |
-->|{{#ifeq:{{{1}}}|x|s with text}}{{{key|}}}}}]]}}}}}}<!-- |
||
⚫ | |||
⚫ |
Latest revision as of 11:15, 2 May 2024
This template marks SVG files that consist only of raster graphics.
The template automatically sets the following categories: Fake SVG
Usage
This template is used mainly by Image generation with !=f
. Note that {{Igen|!}} also populates the Fake SVG category.
- Bad SVG
- contains one or more raster images
- contains a raster image but also vector data (lines, paths, circles, rectangles, ellipses)
- Fake SVG
- only contains raster images, or only a single raster image
- contains only one or more raster images - exeption: embedded text
If you need help distinguishing between {{BadSVG}} and {{FakeSVG}} you can use User:Perhelion/simpleSVGcheck.js as explained at Template:Image_generation#Script_support.
The template takes no parameters.
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: At the top of the page
See also
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation
" (xx
being the code of your language)