|
本館粉絲專頁 |
|
|
模板:SBDPT:修訂版本之間的差異
台灣棒球維基館
小 (【計分版模板化】分段貼內容 18。搞定!) |
小 |
||
第67行: | 第67行: | ||
STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG4|black}}}">{{#if: {{{TEAM1_R|}}} | STYLE="background:{{{BG0|#F8F8F8}}};color:{{{FG4|black}}}">{{#if: {{{TEAM1_R|}}} | ||
| {{{TEAM1_R}}} | | {{{TEAM1_R}}} | ||
− | | {{# | + | | {{#if: {{{TIME1_SCORES|}}} |
− | {{#titleparts:{{{TEAM1_SCORES}}}|1|1}} + | + | | {{#expr: |
− | + | {{#titleparts:{{{TEAM1_SCORES}}}|1|1}} + | |
− | + | {{#titleparts:{{{TEAM1_SCORES}}}|1|2}} + | |
− | + | {{#titleparts:{{{TEAM1_SCORES}}}|1|3}} + | |
− | + | {{#titleparts:{{{TEAM1_SCORES}}}|1|4}} + | |
− | + | {{#titleparts:{{{TEAM1_SCORES}}}|1|5}} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 6 | {{#titleparts:{{{TEAM1_SCORES}}}|1|6}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 7 | {{#titleparts:{{{TEAM1_SCORES}}}|1|7}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 8 | {{#titleparts:{{{TEAM1_SCORES}}}|1|8}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 9 | {{#titleparts:{{{TEAM1_SCORES}}}|1|9}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 10 | {{#titleparts:{{{TEAM1_SCORES}}}|1|10}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 11 | {{#titleparts:{{{TEAM1_SCORES}}}|1|11}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 12 | {{#titleparts:{{{TEAM1_SCORES}}}|1|12}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 13 | {{#titleparts:{{{TEAM1_SCORES}}}|1|13}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 14 | {{#titleparts:{{{TEAM1_SCORES}}}|1|14}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 15 | {{#titleparts:{{{TEAM1_SCORES}}}|1|15}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 16 | {{#titleparts:{{{TEAM1_SCORES}}}|1|16}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 17 | {{#titleparts:{{{TEAM1_SCORES}}}|1|17}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 18 | {{#titleparts:{{{TEAM1_SCORES}}}|1|18}} }} + | |
− | + | {{#ifexpr: {{{INNING|9}}} >= 19 | {{#titleparts:{{{TEAM1_SCORES}}}|1|19}} }} + | |
+ | {{#ifexpr: {{{INNING|9}}} >= 20 | {{#titleparts:{{{TEAM1_SCORES}}}|1|20}} }} + 0 | ||
+ | }} | ||
}} | }} | ||
}}</TD> | }}</TD> |
2016年7月16日 (六) 19:01的修訂版本
DBDPT (Scoreboard Prototype)
語法
{{SBDPT <!-- All Parameters have default values and are optional --> <!-- Style Setting --> |BG0 = <預設背景色> |BG1 = <各局得分背景色> |FG0 = <預設前景色> |FG1 = <各局得分前景色> |FG2 = <標題 "R" 前景色> |FG3 = <隊名前景色,可附加隊名額外樣式> |FG4 = <總得分前景色,可附加總得分額外樣式> |ST1 = <外框屬性,可附加外框額外樣式> |ST2 = <比賽名稱背景色,可附加比賽名稱額外樣式> |LNC = <框線顏色,可附加計分板額外樣樣式> |FNT = <字體> |HRW = <列高> |WCL = <欄寬> |WTM = <隊名欄寬> <!-- Game Info --> |GAME = <比賽名稱> |INNING = <局數,可省略> |TEAM1 = <客隊名稱> |TEAM1_SCORES = <客隊各局得分,以 "/" 分隔> |TEAM1_R = <客隊總得分,可省略> |TEAM1_H = <客隊安打> |TEAM1_E = <客隊失誤> |TEAM2 = <主隊名稱> |TEAM2_SCORES = <主隊各局得分,以 "/" 分隔> |TEAM2_R = <主隊總得分,可省略> |TEAM2_H = <主隊安打> |TEAM2_E = <主隊失誤> }}