本館粉絲專頁

使用者:Digipunk/SBDW/Renderer:修訂版本之間的差異

分享此網頁到Facebook
分享此網頁到Plurk
分享此網頁到百度搜藏
分享此網頁到Twitter
分享此網頁到Del.icio.us
最近作者:Digipunk 2019年9月9日 (星期一)16:25
台灣棒球維基館
跳轉到: 導覽搜尋
(新頁面: <INCLUDEONLY><DIV STYLE="display:inline-block;padding:0;margin:{{#if:{{{DST|}}}|{{{DST}}}|0}}"><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" STYLE="padding:0;margin:0;white-space:n...)
 
 
(由1名用戶作出的26個中途修訂版本未被顯示)
第1行: 第1行:
<INCLUDEONLY><DIV STYLE="display:inline-block;padding:0;margin:{{#if:{{{DST|}}}|{{{DST}}}|0}}"><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" STYLE="padding:0;margin:0;white-space:nowrap"><TR><TD>{{#if:{{{CALLER|}}}
+
<INCLUDEONLY><!--
  | {{#if:{{{WHN|}}}{{{WHT|}}}{{{WHR|}}}
+
■■ BEGIN of Outer DIV ■■ --><DIV {{#if:{{{ID|}}}|ID="{{{ID}}}"}} STYLE="display:inline-block;padding:0;vertical-align:top;margin:{{#if:{{{DST}}}|{{{DST}}}|0}}"><!--
      | <TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="1" STYLE="font:normal 8pt/100% '微軟正黑體';white-space:nowrap;{{{ST0|}}}"><TR><TD STYLE="width:100px;padding:1px"><tt>{{{WHN|}}}</tt></TD><TD STYLE="padding:1px 6px;text-overflow:ellipsis;text-align:center">{{{WHT|}}}</TD><TD STYLE="width:100px;padding:1px;text-align:right">{{{WHR|}}}</TD></TR></TABLE>
+
  ■■ BEGIN of Main Table ■■ --><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" STYLE="padding:0;margin:0;white-space:nowrap"><TR><TD><!--
}}
+
    ■■ BEGIN of Game-Info ■■ -->{{User:Digipunk/SBDW/Helper|ACT=GAME-INFO|ST0={{{ST0}}}|WHN={{{WHN}}}|WHT={{{WHT}}}|WHR={{{WHR}}}|WHT-STL={{{WHT-STL}}} }}<!--
    | <DIV STYLE="color:red;text-align:center">建議以 [[Template:SBDW|<tt><nowiki>SBDW</nowiki></tt>]] 呼此模板</DIV>
+
    ■■ END of Game-Info ■■ --><!--
}}<!--BEGIN OF Scoreboard DIV--><DIV STYLE="padding:0;display:inline-block;box-shadow:4px 4px 10px rgba(0,0,0,.5);{{{ST1|margin:1px;border:0}}}"><TABLE BORDER="1" CELLSPACING="0" CELLPADDING="2" STYLE="margin:0;border-collapse:collapse;text-align:center;font:normal 10pt/100% {{{FNT}}},Consolas;background:{{{BG0|#F8F8F8}}};color:{{{FG0|black}}};border:1px solid {{{LNC|#888}}};white-space_nowrap">
+
    ■■ BEGIN OF Scoreboard DIV ■■--><DIV CLASS="DGPK-SBDW{{{STYLE|}}}"><TABLE BORDER="1" CELLSPACING="0" CELLPADDING="2" STYLE="{{#if:{{{FIXED-WIDTH}}}|width:{{{FIXED-WIDTH}}}px;}}{{#if:{{{FNT}}}|font-family:{{{FNT}}}}}">
   <!-- ■■ ROW #1 ■■ -->
+
   <!-- ROW #1 -->
   <TR>
+
   <TR CLASS="scores-title">
     <!-- ■■ ROW #1 - CELL:GAME_TITLE ■■ -->
+
     <!--
    <TD NOWRAP STYLE="letter-spacing:1px;width:{{{WTM|100}}}px;height:{{{HRW|22}}}px;background:{{{ST2|{{{BG0|#F8F8F8}}}}}}">{{{GAME|}}}</TD>
+
      ■ GAME_TITLE   ■--><TD NOWRAP STYLE="{{#if:{{{WTM}}}|width:{{{WTM}}}px;}}{{#if:{{{HRW}}}|height:{{{HRW}}}px;}}">{{{GAME}}}</TD><!--
    <!-- ■■ ROW #1 - CELL:INNINGS ■■ -->
+
       INNING TITLES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-TITLES|N={{{INNING}}}|W={{#if:{{{FIXED-WIDTH}}}||{{{WCL}}}}} }}<!--
    <TD STYLE="width:{{{WCL|32}}}px">1</TD>
+
       ■ CELL:R        ■--><TD CLASS="runs" STYLE="{{#if:{{{FIXED-WIDTH}}}||width:{{{WCL}}}px}};font-weight:bold" TITLE="得分">R</TD><!--
    <TD STYLE="width:{{{WCL|32}}}px">2</TD>
+
       ■ RHEB TITLES  ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-RHEB-TITLES|HAS-RHEB={{{HAS-RHEB}}}|HAS-EXT={{{HAS-EXT}}}|W={{#if:{{{FIXED-WIDTH}}}||{{{WCL}}}}}|S=font-family:Consolas }}
    <TD STYLE="width:{{{WCL|32}}}px">3</TD>
+
    <TD STYLE="width:{{{WCL|32}}}px">4</TD>
+
    <TD STYLE="width:{{{WCL|32}}}px">5</TD>
+
    <TD
+
      <!-- BEGIN OF nested conditions -->
+
       {{#ifexpr: {{{INNING|9}}} >= 6 | STYLE="width:{{{WCL|32}}}px">6</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 7 | STYLE="width:{{{WCL|32}}}px">7</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 8 | STYLE="width:{{{WCL|32}}}px">8</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 9 | STYLE="width:{{{WCL|32}}}px">9</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 10 | STYLE="width:{{{WCL|32}}}px">10</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 11 | STYLE="width:{{{WCL|32}}}px">11</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 12 | STYLE="width:{{{WCL|32}}}px">12</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 13 | STYLE="width:{{{WCL|32}}}px">13</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 14 | STYLE="width:{{{WCL|32}}}px">14</TD><TD
+
       {{#ifexpr: {{{INNING|9}}} >= 15 | STYLE="width:{{{WCL|32}}}px">15</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 16 | STYLE="width:{{{WCL|32}}}px">16</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 17 | STYLE="width:{{{WCL|32}}}px">17</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 18 | STYLE="width:{{{WCL|32}}}px">18</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 19 | STYLE="width:{{{WCL|32}}}px">19</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 20 | STYLE="width:{{{WCL|32}}}px">20</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 21 | STYLE="width:{{{WCL|32}}}px">21</TD><TD
+
       {{#ifexpr: {{{INNING|9}}} >= 22 | STYLE="width:{{{WCL|32}}}px">22</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 23 | STYLE="width:{{{WCL|32}}}px">23</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 24 | STYLE="width:{{{WCL|32}}}px">24</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 25 | STYLE="width:{{{WCL|32}}}px">25</TD><TD
+
      }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
+
      <!-- END OF nested conditions -->
+
    <!-- ■■ ROW #1 - CELL:R ■■ -->
+
        STYLE="width:{{{WCL|32}}}px;color:{{{FG2|black}}};font-weight:bold">R</TD>{{#ifeq:{{{HAS_H|1}}}|1
+
    | <TD STYLE="width:{{{WCL|32}}}px">H</TD> }}{{#ifeq:{{{HAS_E|1}}}|1
+
    | <TD STYLE="width:{{{WCL|32}}}px">E</TD> }}{{#ifeq:{{{HAS_B|0}}}|1
+
    | <TD STYLE="width:{{{WCL|32}}}px">B</TD> }}
+
 
   </TR>
 
   </TR>
   <!-- ■■ ROW #2 ■■ -->
+
   <!-- ROW #2 -->
   <TR STYLE="text-shadow:2px 2px 6px black;background:{{{BG1|white}}};color:{{{FG1|black;text-shadown:none}}}">
+
   <TR CLASS="scores">
     <!-- ■■ ROW #2 - CELL:TEAM_NAME ■■ -->
+
     <!--
    <TD STYLE="font-family:'微軟正黑體';background:{{{BG0|#F8F8F8}}};height:{{{HRW|22}}}px;color:{{{FG3|black}}}">{{{TEAM1|}}}</TD>
+
      ■ TEAM_NAME     ■--><TD STYLE="{{#if:{{{HRW}}}|height:{{{HRW}}}px;}}">{{{TEAM1}}}</TD><!--
    <!-- ■■ ROW #2 - CELL:SCORES ■■ -->
+
       ■ INNING VALUES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-VALUES|S={{{TEAM1-SCORES}}}|N={{{INNING}}}|C={{{CALLED}}} }}<!--
    <TD>{{#titleparts:{{{TEAM1_SCORES|}}}|1|1}}</TD>
+
      ■ CELL:R       ■--><TD CLASS="runs">{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|1}}
    <TD>{{#titleparts:{{{TEAM1_SCORES|}}}|1|2}}</TD>
+
          | {{#titleparts:{{{TEAM1-RHEB}}}|1|1}}
    <TD>{{#titleparts:{{{TEAM1_SCORES|}}}|1|3}}</TD>
+
          | {{#if: {{{TEAM1-SCORES|}}} | {{User:Digipunk/SBDW/Helper|ACT=CALC-RUNS|S={{{TEAM1-SCORES}}}|N={{{INNING}}} }} }}
    <TD>{{#titleparts:{{{TEAM1_SCORES|}}}|1|4}}</TD>
+
         }}</TD><!--
    <TD>{{#titleparts:{{{TEAM1_SCORES|}}}|1|5}}</TD>
+
      ■ RHEB VALUES  ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-RHEB-VALUES|HAS-RHEB={{{HAS-RHEB}}}|V={{{TEAM1-RHEB}}}|HAS-EXT={{{HAS-EXT}}}|W={{{WCL}}}|S=text-shadow:none;font-family:Consolas }}
    <TD
+
       <!-- BEGIN OF nested conditions -->
+
      {{#ifexpr: {{{INNING|9}}} >= 6 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|6}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 7 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|7}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 8 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|8}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 9 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|9}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 10 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|10}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 11 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|11}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 12 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|12}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 13 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|13}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 14 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|14}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 15 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|15}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 16 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|16}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 17 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|17}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 18 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|18}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 19 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|19}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 20 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|20}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 21 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|21}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 22 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|22}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 23 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|23}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 24 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|24}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 25 | >{{#titleparts:{{{TEAM1_SCORES|}}}|1|25}}</TD><TD
+
      }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
+
      <!-- END OF nested conditions -->
+
    <!-- ■■ ROW #2 - CELL:R ■■ -->
+
      STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG4|black}}}">{{#if: {{{TEAM1_R|}}}
+
      | {{{TEAM1_R}}}
+
      | {{#if: {{{TEAM1_SCORES|}}}
+
          | {{#expr:
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|1}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|1}}}})}}|0}}}} +
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|2}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|2}}}})}}|0}}}} +
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|3}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|3}}}})}}|0}}}} +
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|4}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|4}}}})}}|0}}}} +
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|5}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|5}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 6 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|6}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|6}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 7 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|7}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|7}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 8 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|8}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|8}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 9 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|9}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|9}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 10 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|10}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|10}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 11 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|11}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|11}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 12 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|12}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|12}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 13 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|13}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|13}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 14 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|14}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|14}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 15 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|15}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|15}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 16 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|16}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|16}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 17 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|17}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|17}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 18 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|18}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|18}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 19 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|19}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|19}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 20 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|20}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|20}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 21 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|21}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|21}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 22 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|22}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|22}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 23 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|23}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|23}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 24 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|24}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|24}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 25 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM1_SCORES}}}|1|25}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM1_SCORES}}}|1|25}}}})}}|0}}}}
+
            }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} + 0 }}
+
         }}
+
      }}</TD>
+
    <!-- ■■ ROW #2 - CELL:H ■■ -->{{#ifeq:{{{HAS_H|1}}}|1
+
      | <TD STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG0|black}}};text-shadow:none">{{{TEAM1_H|}}}</TD>
+
    }}<!-- ■■ ROW #2 - CELL:E ■■ -->{{#ifeq:{{{HAS_E|1}}}|1
+
      | <TD STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG0|black}}};text-shadow:none">{{{TEAM1_E|}}}</TD>
+
    }}<!-- ■■ ROW #2 - CELL:B ■■ -->{{#ifeq:{{{HAS_B|0}}}|1
+
      | <TD STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG0|black}}};text-shadow:none">{{{TEAM1_B|}}}</TD>
+
    }}
+
 
   </TR>
 
   </TR>
   <!-- ■■ ROW #3 ■■ -->
+
   <!-- ROW #3 -->
   <TR STYLE="text-shadow:2px 2px 6px black;background:{{{BG1|white}}};color:{{{FG1|black;text-shadown:none}}}">
+
   <TR CLASS="scores">
     <!-- ■■ ROW #3 - CELL:TEAM_NAME ■■ -->
+
     <!--
    <TD STYLE="font-family:'微軟正黑體';background:{{{BG0|#F8F8F8}}};height:{{{HRW|22}}}px;color:{{{FG3|black}}}">{{{TEAM2|}}}</TD>
+
      ■ TEAM_NAME     ■--><TD STYLE="{{#if:{{{HRW}}}|height:{{{HRW}}}px;}}">{{{TEAM2}}}</TD><!--
    <!-- ■■ ROW #3 - CELL:SCORES ■■ -->
+
       ■ INNING VALUES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-VALUES|S={{{TEAM2-SCORES}}}|N={{{INNING}}}|C={{{CALLED}}} }}<!--
    <TD>{{#titleparts:{{{TEAM2_SCORES|}}}|1|1}}</TD>
+
      ■ CELL:R       ■--><TD CLASS="runs">{{#if: {{#titleparts:{{{TEAM2-RHEB}}}|1|1}}
    <TD>{{#titleparts:{{{TEAM2_SCORES|}}}|1|2}}</TD>
+
          | {{#titleparts:{{{TEAM2-RHEB}}}|1|1}}
    <TD>{{#titleparts:{{{TEAM2_SCORES|}}}|1|3}}</TD>
+
          | {{#if: {{{TEAM2-SCORES|}}} | {{User:Digipunk/SBDW/Helper|ACT=CALC-RUNS|S={{{TEAM2-SCORES}}}|N={{{INNING}}} }} }}
    <TD>{{#titleparts:{{{TEAM2_SCORES|}}}|1|4}}</TD>
+
         }}</TD><!--
    <TD>{{#titleparts:{{{TEAM2_SCORES|}}}|1|5}}</TD>
+
      ■ RHEB VALUES  ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-RHEB-VALUES|HAS-RHEB={{{HAS-RHEB}}}|V={{{TEAM2-RHEB}}}|HAS-EXT={{{HAS-EXT}}}|W={{{WCL}}}|S=text-shadow:none;font-family:Consolas }}
    <TD
+
       <!-- BEGIN OF nested conditions -->
+
      {{#ifexpr: {{{INNING|9}}} >= 6 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|6}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 7 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|7}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 8 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|8}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 9 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|9}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 10 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|10}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 11 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|11}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 12 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|12}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 13 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|13}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 14 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|14}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 15 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|15}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 16 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|16}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 17 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|17}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 18 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|18}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 19 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|19}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 20 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|20}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 21 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|21}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 22 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|22}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 23 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|23}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 24 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|24}}</TD><TD
+
      {{#ifexpr: {{{INNING|9}}} >= 25 | >{{#titleparts:{{{TEAM2_SCORES|}}}|1|25}}</TD><TD
+
      }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
+
      <!-- END OF nested conditions -->
+
    <!-- ■■ ROW #3 - CELL:R ■■ -->
+
      STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG4|black}}}">{{#if: {{{TEAM2_R|}}}
+
      | {{{TEAM2_R}}}
+
      | {{#if: {{{TEAM2_SCORES|}}}
+
          | {{#expr:
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|1}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|1}}}})}}|0}}}} +
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|2}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|2}}}})}}|0}}}} +
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|3}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|3}}}})}}|0}}}} +
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|4}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|4}}}})}}|0}}}} +
+
              {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|5}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|5}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 6 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|6}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|6}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 7 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|7}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|7}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 8 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|8}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|8}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 9 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|9}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|9}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 10 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|10}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|10}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 11 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|11}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|11}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 12 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|12}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|12}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 13 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|13}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|13}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 14 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|14}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|14}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 15 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|15}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|15}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 16 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|16}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|16}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 17 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|17}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|17}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 18 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|18}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|18}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 19 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|19}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|19}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 20 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|20}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|20}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 21 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|21}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|21}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 22 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|22}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|22}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 23 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|23}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|23}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 24 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|24}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|24}}}})}}|0}}}} +
+
              {{#ifexpr: {{{INNING|9}}} >= 25 | {{#iferror:{{#expr:({{padleft:|2|{{padleft:{{#titleparts:{{{TEAM2_SCORES}}}|1|25}}|2|0}}}})}}|{{#iferror:{{#expr:({{padleft:|1|{{#titleparts:{{{TEAM2_SCORES}}}|1|25}}}})}}|0}}}}
+
            }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} + 0 }}
+
         }}
+
      }}</TD><!-- ↑↑ deal with "nnX", "nX", and "X" -->
+
    <!-- ■■ ROW #3 - CELL:H ■■ -->{{#ifeq:{{{HAS_H|1}}}|1
+
      | <TD STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG0|black}}};text-shadow:none">{{{TEAM2_H|}}}</TD>
+
    }}<!-- ■■ ROW #3 - CELL:E ■■ -->{{#ifeq:{{{HAS_E|1}}}|1
+
      | <TD STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG0|black}}};text-shadow:none">{{{TEAM2_E|}}}</TD>
+
    }}<!-- ■■ ROW #3 - CELL:B ■■ -->{{#ifeq:{{{HAS_B|0}}}|1
+
      | <TD STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG0|black}}};text-shadow:none">{{{TEAM2_B|}}}</TD>
+
    }}
+
 
   </TR>
 
   </TR>
</TABLE></DIV><!--END OF Scoreboard DIV--></TD><!-- 右區塊 -->{{#ifeq:{{{PPOS|}}}
+
</TABLE></DIV><!--
  | R
+
    ■■ END OF Scoreboard DIV ■■--><!--
   | <TD STYLE="padding:0 0 5px 10px;vertical-align:bottom;font:normal 10pt 'Comic Sans MS';line-height:140%"><B>勝利投手:</B>{{{WP|}}}<BR><B>敗戰投手:</B>{{{LP|}}}<BR><B>救援成功:</B>{{#if:{{{SV|}}}|{{{SV}}}|無}}<BR><B>勝利打點:</B>{{#if:{{{GWRBI|}}}|{{{GWRBI|}}}|}}<BR><B> 全壘打:</B>{{#if:{{{HOMER|}}}|{{{HOMER}}}|}}</TD>
+
    ■■ BEGIN OF Lineup DIV ■■-->{{#if:{{{V-BATTERS}}}{{{H-BATTERS}}}{{{V-PITCHERS}}}{{{H-PITCHERS}}}
}}{{#if:{{{MORE|}}}
+
   | <DIV CLASS="DGPK-LINEUP" STYLE="margin:0 0 5px;border-bottom:1px dashed black;padding-bottom:10px">
  | <TD STYLE="padding:0 0 5px 10px;vertical-align:bottom;font-size:10pt;line-height:140%">{{{MORE}}}</TD>
+
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
}}</TR></TABLE><!-- 下區塊 -->{{#ifeq:{{{PPOS|}}}
+
  <TR CLASS="outer-row">
  |R
+
    <TD>{{{V-BATTERS}}}{{{V-PITCHERS}}}</TD>
  |
+
    <TD>{{{H-BATTERS}}}{{{H-PITCHERS}}}</TD>
  | {{#if:{{{WP|}}}{{{LP|}}}{{{SV|}}}{{{GWRBI|}}}{{{HOMER|}}}
+
  </TR>
      | <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" STYLE="margin-left:2px;font:normal 10pt 'Comic Sans MS';white-space:nowrap">
+
</TABLE></DIV>}}<!--
          <TR>
+
    ■■ END OF Lineup DIV ■■--></TD><!--
            <TD STYLE="padding-right:8px;min-width:{{#ifeq:{{{SD|}}}|1|140|180}}px"><B>{{#ifeq:{{{SD|}}}|1|勝投|勝利投手}}:</B>{{{WP|}}}</TD>
+
    ■■ BEGIN of 右區塊 ■■--><!--
            <TD STYLE="padding-right:8px;min-width:{{#ifeq:{{{SD|}}}|1|140|180}}px"><B>{{#ifeq:{{{SD|}}}|1|敗投|敗戰投手}}:</B>{{{LP|}}}</TD>
+
      ■ Game-Result1 ■-->{{#ifeq:{{{PPOS}}} | R | {{User:Digipunk/SBDW/Helper|ACT=GAME-RESULT1|SD={{{SD}}}|WP={{{WP}}}|LP={{{LP}}}|SV={{{SV}}}|GWRBI={{{GWRBI}}}|HOMER={{{HOMER}}}|MVP={{{MVP}}} }}
            <TD STYLE="padding-right:8px"><B>{{#ifeq:{{{SD|}}}|1|救援|救援成功}}:</B>{{#if:{{{SV|}}}|{{{SV}}}|無}}</TD>
+
}}<!--
          </TR>
+
      ■ Game-More ■-->{{#if:{{{MORE}}} | {{User:Digipunk/SBDW/Helper|ACT=GAME-MORE|MORE={{{MORE}}} }} }}<!--
          <TR>
+
    ■■ END of 右區塊 ■■--></TR></TABLE><!--
            <TD STYLE="padding-right:8px"><B>{{#ifeq:{{{SD|}}}|1|勝打|勝利打點}}:</B>{{#if:{{{GWRBI|}}}|{{{GWRBI}}}|無}}</TD>
+
  ■■ END of Main Table ■■
            <TD COLSPAN="2" STYLE="vertical-align:top"><B>{{#ifeq:{{{SD|}}}|1|| }}全壘打:</B>{{#if:{{{HOMER|}}}|{{{HOMER}}}|無}}</TD>
+
--><!--
          </TR>
+
  ■■ BEGIN of 下區塊:獨立 Table ■■--><!--
        </TABLE>
+
    ■ Game-Result2 ■-->{{#ifeq:{{{PPOS}}} | R || {{User:Digipunk/SBDW/Helper|ACT=GAME-RESULT2|SD={{{SD}}}|WP={{{WP}}}|LP={{{LP}}}|SV={{{SV}}}|GWRBI={{{GWRBI}}}|HOMER={{{HOMER}}}|MVP={{{MVP}}}|WLOS={{#ifexpr:{{{WLOS}}}<0|{{{WLOS}}}|0}} }} }}<!--
    }}
+
  ■■ END of 下區塊:獨立 Table ■■--><!--
}}</DIV></INCLUDEONLY><NOINCLUDE>
+
    ■■ BEGIN OF ExtraInfo DIV ■■-->{{#if:{{{UMPIRES}}}{{{DURATION}}}{{{AUDIENCE}}}
==DBDPT (Scoreboard Prototype)==
+
  | <DIV CLASS="SBDW-INFO" STYLE="width:{{#if:{{{FIXED-WIDTH}}}|{{{FIXED-WIDTH}}}|{{#expr:({{{WTM}}}+5)+({{{WCL}}}+5)*({{{INNING}}}+3)+3 }}}}px">
:* 此模板用於產生計分板外觀。
+
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" STYLE="width:100%;font:normal 8pt/1 Consolas,monospace,'Courier New';white-space:nowrap">
:* 此模式為產生計分板的實際工作者,但需設定的項目較多,<SPAN STYLE="color:red">不建議直接使用此模板</SPAN>。
+
  <TR STYLE="vertical-align:middle">
:* 此模板被 <tt>[[Template:SBDW|<nowiki>{{SBDW}}</nowiki>]]</tt> 所呼叫及包裝,善用模板 <tt>[[Template:SBDW|<nowiki>{{SBDW}}</nowiki>]]</tt> 可省略繁鎖的樣式設定。
+
    <TD STYLE="text-align:left;font-family:Oswald">{{{UMPIRES}}}</TD>
 +
    <TD STYLE="text-align:right">{{{AUDIENCE}}}{{{DURATION}}}</TD>
 +
  </TR>
 +
</TABLE></DIV>}}{{#if:{{{NOTE}}}
 +
  | <DIV CLASS="SBDW-INFO" STYLE="width:{{#if:{{{FIXED-WIDTH}}}|{{{FIXED-WIDTH}}}|{{#expr:({{{WTM}}}+5)+({{{WCL}}}+5)*({{{INNING}}}+3)+3 }}}}px">
 +
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1" STYLE="border-left:6px solid #DDD;width:100%;font:normal 8pt/1 Oswald">
 +
  <TR STYLE="vertical-align:top">
 +
    <TD STYLE="width:1px;white-space:nowrap">✎註:</TD>
 +
    <TD>{{{NOTE}}}</TD>
 +
  </TR>
 +
</TABLE></DIV>}}<!--
 +
    ■■ END OF ExtraInfo DIV ■■--></DIV><!--
 +
■■ END of Outer DIV ■■ --></INCLUDEONLY><NOINCLUDE>
 +
==SBDW Renderer==
 +
:* Refer to {{User:Digipunk/TPL|SBDW|link}} for more details.
 +
 
 +
==開發記錄==
 +
:* <tt>[2016-07-17]</tt> 建立模板。
  
===語法===
+
</NOINCLUDE>
<PRE STYLE="padding:5px 20px">
+
{{SBDPT
+
  <!-- All Parameters have default values and are optional -->
+
  <!-- Style Setting -->
+
    |DST = <與周圍物件的距離,可附加額外樣式>
+
    |WHN = <比賽時間>
+
    |WHR = <比賽地點>
+
    |WHT = <比賽公告>
+
    |BG0 = <預設背景色>
+
    |BG1 = <各局得分背景色>
+
    |FG0 = <預設前景色>
+
    |FG1 = <各局得分前景色>
+
    |FG2 = <標題 "R" 前景色>
+
    |FG3 = <隊名前景色,可附加隊名額外樣式>
+
    |FG4 = <總得分前景色,可附加總得分額外樣式>
+
    |ST0 = <資訊列樣式>
+
    |ST1 = <外框屬性,可附加外框額外樣式>
+
    |ST2 = <比賽名稱背景色,可附加比賽名稱額外樣式>
+
    |LNC = <框線顏色,可附加計分板額外樣樣式>
+
    |FNT = <字體>
+
    |HRW = <列高>
+
    |WCL = <欄寬>
+
    |WTM = <隊名欄寬>
+
  <!-- Scoreboard -->
+
    |GAME    = <比賽名稱>
+
    |INNING  = <局數,可省略>
+
    |TEAM1  = <客隊名稱>
+
    |TEAM1_SCORES = <客隊各局得分,以 "/" 分隔>
+
    |TEAM1_R = <客隊總得分,可省略>
+
    |TEAM1_H = <客隊安打>
+
    |TEAM1_E = <客隊失誤>
+
    |TEAM1_B = <客隊保送>
+
    |TEAM2  = <主隊名稱>
+
    |TEAM2_SCORES = <主隊各局得分,以 "/" 分隔>
+
    |TEAM2_R = <主隊總得分,可省略>
+
    |TEAM2_H = <主隊安打>
+
    |TEAM2_E = <主隊失誤>
+
    |TEAM2_B = <主隊保送>
+
    |HAS_H  = <0:不顯示,預設值 1>
+
    |HAS_E  = <0:不顯示,預設值 1>
+
    |HAS_B  = <0:不顯示,預設值 0>
+
  <!-- Game Info -->
+
    |WHN    = <比賽時間>
+
    |WHR    = <比賽地點>
+
    |WHT    = <比賽公告>
+
  <!-- Game Summery -->
+
    |PPOS    = <值 R 表示將投打表現區塊置於計分板右方>
+
    |SD      = <值 1 表示使用短描述>
+
    |WP      = <勝利投手>
+
    |LP      = <敗戰投手>
+
    |SV      = <救援成功>
+
    |GWRBI  = <勝利打點>
+
    |HOMER  = <全壘打>
+
  <!-- more/misc Info -->
+
    |MORE    = <其它資訊,置於計分板右方>
+
}}
+
</PRE>
+
[[Category:模板管理]]</NOINCLUDE>
+

2019年9月9日 (一) 16:25的最新修訂版本

[編輯] SBDW Renderer

[編輯] 開發記錄

  • [2016-07-17] 建立模板。