模板:Tabs:修订间差异

来自BinWiki
>OctoberSama
无编辑摘要
>OctoberSama
无编辑摘要
第4行: 第4行:
| key
| key
| val
| val
|<nowiki />
|<nowiki></nowiki>
{{#switch: {{#var:key}}
<!-- {{#switch: {{#var:key}} -->
<!-- 可以添加排除 -->
<!-- 可以添加排除 -->
|#default =
<!-- |#default = -->
  {{#if: {{#var:val}} |
  {{#if: {{#var:val}} |
   {{#switch: {{#invoke:String|sub|{{#var:key}}|j=1}}
   {{#switch: {{#invoke:String|sub|{{#var:key}}|j=1}}
第20行: 第20行:
   {{!}}- -->
   {{!}}- -->
  }}<!-- end if -->
  }}<!-- end if -->
}}<!-- end switch -->
<!-- }} --><!-- end switch -->
}}<!-- end forargs -->
}}<!-- end forargs -->
}}<!-- end tag --></includeonly><noinclude>{{Documentation}}</noinclude>
}}<!-- end tag --></includeonly><noinclude>{{Documentation}}</noinclude>

2025年6月5日 (四) 13:26的版本