|
本館粉絲專頁 |
|
|
使用者:Digipunk/SBDW/Renderer:修訂版本之間的差異
台灣棒球維基館
< 使用者:Digipunk | SBDW
小 |
|||
(由1名用戶作出的5個中途修訂版本未被顯示) | |||
第4行: | 第4行: | ||
■■ BEGIN of Game-Info ■■ -->{{User:Digipunk/SBDW/Helper|ACT=GAME-INFO|ST0={{{ST0}}}|WHN={{{WHN}}}|WHT={{{WHT}}}|WHR={{{WHR}}}|WHT-STL={{{WHT-STL}}} }}<!-- | ■■ BEGIN of Game-Info ■■ -->{{User:Digipunk/SBDW/Helper|ACT=GAME-INFO|ST0={{{ST0}}}|WHN={{{WHN}}}|WHT={{{WHT}}}|WHR={{{WHR}}}|WHT-STL={{{WHT-STL}}} }}<!-- | ||
■■ END of Game-Info ■■ --><!-- | ■■ END of Game-Info ■■ --><!-- | ||
− | ■■ BEGIN OF Scoreboard DIV ■■--><DIV | + | ■■ 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"> |
<!-- | <!-- | ||
− | ■ GAME_TITLE ■--><TD NOWRAP STYLE=" | + | ■ GAME_TITLE ■--><TD NOWRAP STYLE="{{#if:{{{WTM}}}|width:{{{WTM}}}px;}}{{#if:{{{HRW}}}|height:{{{HRW}}}px;}}">{{{GAME}}}</TD><!-- |
■ INNING TITLES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-TITLES|N={{{INNING}}}|W={{#if:{{{FIXED-WIDTH}}}||{{{WCL}}}}} }}<!-- | ■ INNING TITLES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-TITLES|N={{{INNING}}}|W={{#if:{{{FIXED-WIDTH}}}||{{{WCL}}}}} }}<!-- | ||
− | ■ CELL:R ■--><TD STYLE="{{#if:{{{FIXED-WIDTH}}}||width:{{{WCL}}}px | + | ■ CELL:R ■--><TD CLASS="runs" STYLE="{{#if:{{{FIXED-WIDTH}}}||width:{{{WCL}}}px}};font-weight:bold" TITLE="得分">R</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 }} | ■ 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 }} | ||
</TR> | </TR> | ||
<!-- ■ ROW #2 ■ --> | <!-- ■ ROW #2 ■ --> | ||
− | <TR | + | <TR CLASS="scores"> |
<!-- | <!-- | ||
− | ■ TEAM_NAME ■--><TD STYLE=" | + | ■ TEAM_NAME ■--><TD STYLE="{{#if:{{{HRW}}}|height:{{{HRW}}}px;}}">{{{TEAM1}}}</TD><!-- |
− | ■ INNING VALUES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-VALUES|S={{{TEAM1-SCORES}}}|N={{{INNING}}} }}<!-- | + | ■ INNING VALUES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-VALUES|S={{{TEAM1-SCORES}}}|N={{{INNING}}}|C={{{CALLED}}} }}<!-- |
− | ■ CELL:R ■--><TD | + | ■ CELL:R ■--><TD CLASS="runs">{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|1}} |
| {{#titleparts:{{{TEAM1-RHEB}}}|1|1}} | | {{#titleparts:{{{TEAM1-RHEB}}}|1|1}} | ||
| {{#if: {{{TEAM1-SCORES|}}} | {{User:Digipunk/SBDW/Helper|ACT=CALC-RUNS|S={{{TEAM1-SCORES}}}|N={{{INNING}}} }} }} | | {{#if: {{{TEAM1-SCORES|}}} | {{User:Digipunk/SBDW/Helper|ACT=CALC-RUNS|S={{{TEAM1-SCORES}}}|N={{{INNING}}} }} }} | ||
}}</TD><!-- | }}</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= | + | ■ 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 }} |
</TR> | </TR> | ||
<!-- ■ ROW #3 ■ --> | <!-- ■ ROW #3 ■ --> | ||
− | <TR | + | <TR CLASS="scores"> |
<!-- | <!-- | ||
− | ■ TEAM_NAME ■--><TD STYLE=" | + | ■ TEAM_NAME ■--><TD STYLE="{{#if:{{{HRW}}}|height:{{{HRW}}}px;}}">{{{TEAM2}}}</TD><!-- |
− | ■ INNING VALUES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-VALUES|S={{{TEAM2-SCORES}}}|N={{{INNING}}} }}<!-- | + | ■ INNING VALUES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-VALUES|S={{{TEAM2-SCORES}}}|N={{{INNING}}}|C={{{CALLED}}} }}<!-- |
− | ■ CELL:R ■--><TD | + | ■ CELL:R ■--><TD CLASS="runs">{{#if: {{#titleparts:{{{TEAM2-RHEB}}}|1|1}} |
| {{#titleparts:{{{TEAM2-RHEB}}}|1|1}} | | {{#titleparts:{{{TEAM2-RHEB}}}|1|1}} | ||
| {{#if: {{{TEAM2-SCORES|}}} | {{User:Digipunk/SBDW/Helper|ACT=CALC-RUNS|S={{{TEAM2-SCORES}}}|N={{{INNING}}} }} }} | | {{#if: {{{TEAM2-SCORES|}}} | {{User:Digipunk/SBDW/Helper|ACT=CALC-RUNS|S={{{TEAM2-SCORES}}}|N={{{INNING}}} }} }} | ||
}}</TD><!-- | }}</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= | + | ■ 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 }} |
</TR> | </TR> | ||
</TABLE></DIV><!-- | </TABLE></DIV><!-- | ||
■■ END OF Scoreboard DIV ■■--><!-- | ■■ END OF Scoreboard DIV ■■--><!-- | ||
■■ BEGIN OF Lineup DIV ■■-->{{#if:{{{V-BATTERS}}}{{{H-BATTERS}}}{{{V-PITCHERS}}}{{{H-PITCHERS}}} | ■■ BEGIN OF Lineup DIV ■■-->{{#if:{{{V-BATTERS}}}{{{H-BATTERS}}}{{{V-PITCHERS}}}{{{H-PITCHERS}}} | ||
− | | <DIV STYLE="margin:0 0 5px;border-bottom:1px dashed black;padding-bottom:10px"> | + | | <DIV CLASS="DGPK-LINEUP" STYLE="margin:0 0 5px;border-bottom:1px dashed black;padding-bottom:10px"> |
− | <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0 | + | <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"> |
− | <TR | + | <TR CLASS="outer-row"> |
− | <TD | + | <TD>{{{V-BATTERS}}}{{{V-PITCHERS}}}</TD> |
− | <TD | + | <TD>{{{H-BATTERS}}}{{{H-PITCHERS}}}</TD> |
</TR> | </TR> | ||
</TABLE></DIV>}}<!-- | </TABLE></DIV>}}<!-- | ||
第57行: | 第57行: | ||
■■ END of 下區塊:獨立 Table ■■--><!-- | ■■ END of 下區塊:獨立 Table ■■--><!-- | ||
■■ BEGIN OF ExtraInfo DIV ■■-->{{#if:{{{UMPIRES}}}{{{DURATION}}}{{{AUDIENCE}}} | ■■ BEGIN OF ExtraInfo DIV ■■-->{{#if:{{{UMPIRES}}}{{{DURATION}}}{{{AUDIENCE}}} | ||
− | | <DIV STYLE=" | + | | <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"> | <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" STYLE="width:100%;font:normal 8pt/1 Consolas,monospace,'Courier New';white-space:nowrap"> | ||
<TR STYLE="vertical-align:middle"> | <TR STYLE="vertical-align:middle"> | ||
− | <TD STYLE="text-align:left">{{{UMPIRES}}}</TD> | + | <TD STYLE="text-align:left;font-family:Oswald">{{{UMPIRES}}}</TD> |
<TD STYLE="text-align:right">{{{AUDIENCE}}}{{{DURATION}}}</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> | </TR> | ||
</TABLE></DIV>}}<!-- | </TABLE></DIV>}}<!-- |
2019年9月9日 (一) 16:25的最新修訂版本
[編輯] SBDW Renderer
- Refer to {{SBDW}} for more details.
[編輯] 開發記錄
- [2016-07-17] 建立模板。