Topic on Extension talk:Widgets

2001:B011:300D:10F3:42D5:9A1:DC5F:86BA (talkcontribs)
  • 傳入參數使用wiki的語法時,無法正確轉換,會變成文字直接輸出?無解?
  • widget:Infobox
<includeonly>
<table class="infobox" cellspacing="5" style="width: 450px; font-size: 90%; text-align: left;"><tbody>

<tr><td colspan="2" style="text-align: center; font-size: 130%; font-weight: bold;"><!--{$name|default:""}--></td></tr>
<tr><td colspan="2" style="text-align: center;"><!--{$logo|default:""}--></td></tr>

<!--{if $screenshot neq ""}-->
<tr><td colspan="2" style="text-align: center;"><!--{$screenshot|default:""}--><br /><!--{$caption|default:""}--></td></tr>
<!--{/if}-->

<!--{assign var="i" value=1}-->
<!--{while $i<=30}-->
<!--{assign var="label" value=$<!--{"label$i"}-->}-->
<!--{assign var="data" value=$<!--{"data$i"}-->}-->
<!--{if ($data|default:"") neq ""}-->
<tr><td><!--{$label|default:""}--></td><td><!--{$data|default:""}--></td></tr>
<!--{/if}-->
<!--{assign var="i" value=$i+1}-->
<!--{/while}-->

</tbody></table>
</includeonly>
  • Template:Infobox software2
{{#widget:Infobox
|name = {{{name}}}
|logo = {{{logo|}}}
|screenshot = {{{screenshot|}}}
|caption = {{{caption|}}}
| label1 = 其他名稱
| data1 = {{{other_names|}}}
| label2 = 原作者
| data2 = {{{author|}}}
| label3 = 開發者
| data3 = {{{developer|}}}
| label4 = 首次發佈
| data4 = {{{released|}}}
| label5 = {{#if:{{{discontinued|}}}|最終版本|當前版本}}
| data5 = {{{latest release|}}}
| label6 = 原始程式
| data6 = {{{repo|}}}
| label7 = 程式語言
| data7 = {{{programming language|}}}
| label8 = 中間件
| data8 = {{{middleware|}}}
| label9 = 引擎
| data9 = {{{engines|}}}
| label10 = 作業系統
| data10 = {{{operating system|{{{operating_system|}}}}}}
| label11 = 系统平台
| data11 = {{{platform|}}}
| label12 = 内置於
| data12 = {{{included with|{{{included_with|}}}}}}
| label13 = 取代
| data13 = {{{replaces|}}}
| label14 = 由…取代
| data14 = {{{replaced_by|}}}
| label15 = 服務名稱
| data15 = {{{service_name|}}}
| label16 = 文件大小
| data16 = {{{size|}}}
| label17 = 標準
| data17 = {{{standard|}}}
| label18 = 語言
| data18 = {{#if:{{{language count|}}}|{{{language count}}}種語言|{{{language|}}}}}{{{language footnote|}}}
| data19 = {{#if:{{{language count|}}}|{{#if:{{{language|}}}|{{hidden begin|toggle=left|title=语言列表|titlestyle=background-color: transparent;}}{{{language|}}}{{hidden end}}}}}}
| label20 = 類型
| data20 = {{{genre|}}}
| label21 = 授權方式
| data21 = {{{license|}}}
| label22 = 網站
| data22 = {{{website|}}}
| data23    = {{{嵌入插座|{{{embedded|{{{module|}}}}}}}}}
| label24 = 數據截至
| data24 = {{{AsOf|}}}
}}
  • Test
{{Infobox Software2
| name = 7-Zip
| developer = Igor Pavlov
| released = {{Start date and age|1999|7|19|df=yes}}
| latest release version = 24.07
| latest release date    = {{start date and age|2024|06|19}}
| programming language = [[組合語言]]、[[C]]、[[C++]]
| operating system = [[Windows]]/[[ReactOS]], [[BSD]], [[macOS]], [[Linux]]
| language count = 89
| genre = 檔案壓縮
| license = https://7-zip.org/license.txt
| website = https://7-zip.org
}}
-2001:B011:300D:10F3:42D5:9A1:DC5F:86BA 12:34, 11 August 2024 (UTC)
Reply to "實驗失敗中"