跳至內容

「Template:Vector version available」:修訂間差異

出自萌娘共享
無編輯摘要
咱沒有模板數據
 
第2行: 第2行:
|-
|-
|style="padding: 2px 0 2px 0.5em"|[[Image:Flat Icon O SVG File.svg|60px]]|| style="text-align:center;" | {{#ifexist:File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|{{#if:{{{2|}}} {{{3|}}}|'''此圖像擁有多個矢量圖形(SVG)版本。'''如果SVG版本比原始圖像更好,請使用SVG圖像。|'''此圖像擁有[[:File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|矢量圖形(SVG)版本]]。'''<br />如果SVG版本比原始圖像更好,請使用SVG圖像。}}|找不到文件,請確認文件名是否為空。}}<hr/><div style="margin-left:auto; margin-right: auto; font-size:90%;">[[:File:{{PAGENAME}}]]&nbsp;[[File:Gtk-go-forward-ltr.svg|12px|link=|alt=]]&nbsp;<div style="display:inline-block; vertical-align:middle;">[[:File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}]]{{#if:{{{2|}}}|<br/>[[:File:{{{2}}}]]}}{{#if:{{{3|}}}|<br/>[[:File:{{{3}}}]]}}</div></div><hr/>關於更多矢量圖形的信息,請參閱[[:commons:Commons:Transition to SVG|共享資源SVG圖像轉換]]<br />另請參閱[https://meta.wikimedia.org/wiki/SVG_image_support 關於維基媒體基金會SVG圖像支持的信息]。 ||style="background:{{{4|{{{background|{{{背景色|transparent}}}}}}}}}; text-align:center; vertical-align:middle"| {{#ifexist:File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|{{#if:{{{2|}}} {{{3|}}}|[[File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|{{#var:size}}px|圖像的SVG版本(1)]]{{#if:{{{2|}}}|<br/>[[File:{{{2}}}|{{#var:size}}px|圖像的SVG版本(2)]]}}{{#if:{{{3|}}}|<br/>[[File:{{{3}}}|{{#var:size}}px|圖像的SVG版本(3)]]}}|[[File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|{{#var:size}}px|圖像的SVG版本]]}}|找不到文件,請確認文件名是否為空。}}
|style="padding: 2px 0 2px 0.5em"|[[Image:Flat Icon O SVG File.svg|60px]]|| style="text-align:center;" | {{#ifexist:File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|{{#if:{{{2|}}} {{{3|}}}|'''此圖像擁有多個矢量圖形(SVG)版本。'''如果SVG版本比原始圖像更好,請使用SVG圖像。|'''此圖像擁有[[:File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|矢量圖形(SVG)版本]]。'''<br />如果SVG版本比原始圖像更好,請使用SVG圖像。}}|找不到文件,請確認文件名是否為空。}}<hr/><div style="margin-left:auto; margin-right: auto; font-size:90%;">[[:File:{{PAGENAME}}]]&nbsp;[[File:Gtk-go-forward-ltr.svg|12px|link=|alt=]]&nbsp;<div style="display:inline-block; vertical-align:middle;">[[:File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}]]{{#if:{{{2|}}}|<br/>[[:File:{{{2}}}]]}}{{#if:{{{3|}}}|<br/>[[:File:{{{3}}}]]}}</div></div><hr/>關於更多矢量圖形的信息,請參閱[[:commons:Commons:Transition to SVG|共享資源SVG圖像轉換]]<br />另請參閱[https://meta.wikimedia.org/wiki/SVG_image_support 關於維基媒體基金會SVG圖像支持的信息]。 ||style="background:{{{4|{{{background|{{{背景色|transparent}}}}}}}}}; text-align:center; vertical-align:middle"| {{#ifexist:File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|{{#if:{{{2|}}} {{{3|}}}|[[File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|{{#var:size}}px|圖像的SVG版本(1)]]{{#if:{{{2|}}}|<br/>[[File:{{{2}}}|{{#var:size}}px|圖像的SVG版本(2)]]}}{{#if:{{{3|}}}|<br/>[[File:{{{3}}}|{{#var:size}}px|圖像的SVG版本(3)]]}}|[[File:{{{1|{{#invoke:String|replace|source={{SUBPAGENAME}}|pattern=%.[pgjw][nipwd][gfeb2][gp]?$|replace=.svg|plain=false}}}}}|{{#var:size}}px|圖像的SVG版本]]}}|找不到文件,請確認文件名是否為空。}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:有SVG版本的圖像{{!}}{{PAGENAME}}]]}}</includeonly><noinclude>
|}<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:有SVG版本的圖像{{!}}{{PAGENAME}}]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
<templatedata>
 
{
"description": "圖片SVG版本信息提示框。",
"params": {
"1": {
"label": "文件名1",
"description": "SVG版本一文件名",
"example": "Flat_Icon_O_SVG_File.svg",
"type": "wiki-file-name",
"required": true
},
"2": {
"label": "文件名2",
"description": "SVG版本二文件名",
"example": "Flat_Icon_O_SVG_File.svg",
"type": "wiki-file-name"
},
"3": {
"label": "文件名3",
"description": "SVG版本三文件名",
"example": "Flat_Icon_O_SVG_File.svg",
"type": "wiki-file-name"
},
"4": {
"label": "背景色",
"description": "SVG文件背景色",
"example": "white",
"type": "wiki-file-name",
"aliases": [
"background, 背景色"
]
}
}
}
</templatedata>
</noinclude>

於 2022年3月19日 (六) 05:00 的最新修訂

{{#vardefine:size|150}}{{#vardefine:count|0}}{{#vardefine:size|表達式錯誤:無法識別標點符號“{”。}}{|class="Vectorversioninfo" style="width:100%; margin:0.5em auto; border-spacing:8px; background: #E6FFCE; border: 2px solid lightgreen;" |-

|style="padding: 2px 0 2px 0.5em"||| style="text-align:center;" | 找不到文件,請確認文件名是否為空。



關於更多矢量圖形的信息,請參閱共享資源SVG圖像轉換
另請參閱關於維基媒體基金會SVG圖像支持的信息。 ||style="background:transparent; text-align:center; vertical-align:middle"| 找不到文件,請確認文件名是否為空。 |}

模板文檔  [查看] [] [歷史] [刷新]

模板縮寫:{{vva}}

不帶任何參數時,將嘗試查找後綴為“.svg”的同名文件。例如,在File:鷹角網絡.png中直接使用{{Vector version available}}時,將會查找File:鷹角網絡.svg,若存在就顯示。

可以帶最多3個匿名參數:{{vva|a.svg|b.svg|c.svg}},分別輸入文件名,不含“File:”。