|
本館粉絲專頁 |
|
|
使用者:Digipunk/SBDW/Renderer:修訂版本之間的差異
台灣棒球維基館
< 使用者:Digipunk | SBDW
小 |
小 |
||
第2行: | 第2行: | ||
■■ BEGIN of Outer DIV ■■ --><DIV {{#if:{{{ID|}}}|ID="{{{ID}}}"}} STYLE="display:inline-block;padding:0;margin:{{#if:{{{DST}}}|{{{DST}}}|0}}"><!-- | ■■ BEGIN of Outer DIV ■■ --><DIV {{#if:{{{ID|}}}|ID="{{{ID}}}"}} STYLE="display:inline-block;padding:0;margin:{{#if:{{{DST}}}|{{{DST}}}|0}}"><!-- | ||
■■ BEGIN of Main Table ■■ --><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" STYLE="padding:0;margin:0;white-space:nowrap"><TR><TD><!-- | ■■ 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}}}|CALLED={{{CALLED}}} }}<!-- | + | ■■ BEGIN of Game-Info ■■ -->{{User:Digipunk/SBDW/Helper|ACT=GAME-INFO|ST0={{{ST0}}}|WHN={{{WHN}}}|WHT={{{WHT}}}|WHR={{{WHR}}}|CALLED={{{CALLED}}} }}<!-- |
■■ END of Game-Info ■■ --><!-- | ■■ 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}}}"><TABLE BORDER="1" CELLSPACING="0" CELLPADDING="2" STYLE="margin:0;border-collapse:collapse;text-align:center;font:normal 10pt/100% {{{FNT}}},Consolas;background:{{{BG0}}};color:{{{FG0}}};border:1px solid {{{LNC}}};white-space:nowrap"> | ■■ BEGIN OF Scoreboard DIV ■■--><DIV STYLE="padding:0;display:inline-block;box-shadow:4px 4px 10px rgba(0,0,0,.5);{{{ST1}}}"><TABLE BORDER="1" CELLSPACING="0" CELLPADDING="2" STYLE="margin:0;border-collapse:collapse;text-align:center;font:normal 10pt/100% {{{FNT}}},Consolas;background:{{{BG0}}};color:{{{FG0}}};border:1px solid {{{LNC}}};white-space:nowrap"> | ||
第9行: | 第9行: | ||
<!-- | <!-- | ||
■ GAME_TITLE ■--><TD NOWRAP STYLE="letter-spacing:1px;width:{{{WTM}}}px;height:{{{HRW}}}px;background:{{{BG0}}};{{{ST2}}}">{{{GAME}}}</TD><!-- | ■ GAME_TITLE ■--><TD NOWRAP STYLE="letter-spacing:1px;width:{{{WTM}}}px;height:{{{HRW}}}px;background:{{{BG0}}};{{{ST2}}}">{{{GAME}}}</TD><!-- | ||
− | ■ INNING TITLES ■-->{{User:Digipunk/SBDW/Helper | ACT=SHOW-INNING-TITLES | N={{{INNING}}}|W={{{WCL}}} }}<!-- | + | ■ INNING TITLES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-INNING-TITLES|N={{{INNING}}}|W={{{WCL}}} }}<!-- |
■ CELL:R ■--><TD STYLE="width:{{{WCL}}}px;color:{{{FG2}}};font-weight:bold" TITLE="得分">R</TD><!-- | ■ CELL:R ■--><TD STYLE="width:{{{WCL}}}px;color:{{{FG2}}};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={{{WCL}}} }} | + | ■ RHEB TITLES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-RHEB-TITLES|HAS-RHEB={{{HAS-RHEB}}}|HAS-EXT={{{HAS-EXT}}}|W={{{WCL}}}|S=font-family:Consolas }} |
</TR> | </TR> | ||
<!-- ■ ROW #2 ■ --> | <!-- ■ ROW #2 ■ --> | ||
第17行: | 第17行: | ||
<!-- | <!-- | ||
■ TEAM_NAME ■--><TD STYLE="font-family:'微軟正黑體';background:{{{BG0}}};height:{{{HRW}}}px;color:{{{FG3|black}}}">{{{TEAM1}}}</TD><!-- | ■ TEAM_NAME ■--><TD STYLE="font-family:'微軟正黑體';background:{{{BG0}}};height:{{{HRW}}}px;color:{{{FG3|black}}}">{{{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}}} }}<!-- |
■ CELL:R ■--><TD STYLE="background:{{{BG0}}};color:{{{FG4}}}">{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|1}} | ■ CELL:R ■--><TD STYLE="background:{{{BG0}}};color:{{{FG4}}}">{{#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=color:{{{FG0}}};text-shadow:none }} | + | ■ RHEB VALUES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-RHEB-VALUES|HAS-RHEB={{{HAS-RHEB}}}|V={{{TEAM1-RHEB}}}|HAS-EXT={{{HAS-EXT}}}|W={{{WCL}}}|S=color:{{{FG0}}};text-shadow:none;font-family:Consolas }} |
</TR> | </TR> | ||
<!-- ■ ROW #3 ■ --> | <!-- ■ ROW #3 ■ --> | ||
第28行: | 第28行: | ||
<!-- | <!-- | ||
■ TEAM_NAME ■--><TD STYLE="font-family:'微軟正黑體';background:{{{BG0}}};height:{{{HRW|22}}}px;color:{{{FG3}}}">{{{TEAM2}}}</TD><!-- | ■ TEAM_NAME ■--><TD STYLE="font-family:'微軟正黑體';background:{{{BG0}}};height:{{{HRW|22}}}px;color:{{{FG3}}}">{{{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}}} }}<!-- |
■ CELL:R ■--><TD STYLE="background:{{{BG0}}};color:{{{FG4}}}">{{#if: {{#titleparts:{{{TEAM2-RHEB}}}|1|1}} | ■ CELL:R ■--><TD STYLE="background:{{{BG0}}};color:{{{FG4}}}">{{#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=color:{{{FG0}}};text-shadow:none }} | + | ■ RHEB VALUES ■-->{{User:Digipunk/SBDW/Helper|ACT=SHOW-RHEB-VALUES|HAS-RHEB={{{HAS-RHEB}}}|V={{{TEAM2-RHEB}}}|HAS-EXT={{{HAS-EXT}}}|W={{{WCL}}}|S=color:{{{FG0}}};text-shadow:none;font-family:Consolas }} |
</TR> | </TR> | ||
</TABLE></DIV><!-- | </TABLE></DIV><!-- | ||
■■ END OF Scoreboard DIV ■■--></TD><!-- | ■■ END OF Scoreboard DIV ■■--></TD><!-- | ||
■■ BEGIN of 右區塊 ■■--><!-- | ■■ BEGIN of 右區塊 ■■--><!-- | ||
− | ■ Game-Result1 ■-->{{#ifeq:{{{PPOS}}} | R | {{User:Digipunk/SBDW/Helper | ACT=GAME-RESULT1 | SD={{{SD}}}|WP={{{WP}}}|LP={{{LP}}}|SV={{{SV}}}|GWRBI={{{GWRBI}}}|HOMER={{{HOMER}}} }} | + | ■ Game-Result1 ■-->{{#ifeq:{{{PPOS}}} | R | {{User:Digipunk/SBDW/Helper|ACT=GAME-RESULT1|SD={{{SD}}}|WP={{{WP}}}|LP={{{LP}}}|SV={{{SV}}}|GWRBI={{{GWRBI}}}|HOMER={{{HOMER}}} }} |
}}<!-- | }}<!-- | ||
− | ■ Game-More ■-->{{#if:{{{MORE}}} | {{User:Digipunk/SBDW/Helper | ACT=GAME-MORE | MORE={{{MORE}}} }} }}<!-- | + | ■ Game-More ■-->{{#if:{{{MORE}}} | {{User:Digipunk/SBDW/Helper|ACT=GAME-MORE|MORE={{{MORE}}} }} }}<!-- |
■■ END of 右區塊 ■■--></TR></TABLE><!-- | ■■ END of 右區塊 ■■--></TR></TABLE><!-- | ||
■■ END of Main Table ■■ | ■■ END of Main Table ■■ | ||
--><!-- | --><!-- | ||
■■ BEGIN of 下區塊:獨立 Table ■■--><!-- | ■■ BEGIN of 下區塊:獨立 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}}} }} }}<!-- | + | ■ Game-Result2 ■-->{{#ifeq:{{{PPOS}}} | R || {{User:Digipunk/SBDW/Helper|ACT=GAME-RESULT2|SD={{{SD}}}|WP={{{WP}}}|LP={{{LP}}}|SV={{{SV}}}|GWRBI={{{GWRBI}}}|HOMER={{{HOMER}}} }} }}<!-- |
■■ END of 下區塊:獨立 Table ■■--></DIV><!-- | ■■ END of 下區塊:獨立 Table ■■--></DIV><!-- | ||
■■ END of Outer DIV ■■ --></INCLUDEONLY><NOINCLUDE> | ■■ END of Outer DIV ■■ --></INCLUDEONLY><NOINCLUDE> | ||
==SBDW Renderer== | ==SBDW Renderer== | ||
:* Refer to {{User:Digipunk/TPL|SBDW|link}} for more details. | :* Refer to {{User:Digipunk/TPL|SBDW|link}} for more details. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==開發記錄== | ==開發記錄== |
2016年8月22日 (一) 00:51的修訂版本
SBDW Renderer
- Refer to {{SBDW}} for more details.
開發記錄
- [2016-07-17] 建立模板。