|
本館粉絲專頁 |
|
|
使用者:Digipunk/SBDW/VPL:修訂版本之間的差異
台灣棒球維基館
< 使用者:Digipunk | SBDW
(新頁面: <INCLUDEONLY>{{User:Digipunk/SBDW/Renderer |CALLER = {{{CALLER|}}} |ID = {{{ID}}} |DST = {{{DST|}}} |ST0 = {{{ST0|}}} |WHN = {{{WHN|}}} |WHR = {{{WHR|}}} ...) |
|||
(由1名用戶作出的19個中途修訂版本未被顯示) | |||
第1行: | 第1行: | ||
<INCLUDEONLY>{{User:Digipunk/SBDW/Renderer | <INCLUDEONLY>{{User:Digipunk/SBDW/Renderer | ||
− | |CALLER = {{{CALLER | + | |CALLER = {{{CALLER}}} |
|ID = {{{ID}}} | |ID = {{{ID}}} | ||
− | |DST = {{{DST | + | |DST = {{{DST}}} |
− | |ST0 = {{{ST0 | + | |ST0 = {{{ST0}}} |
− | |WHN = {{{WHN | + | |WHN = {{{WHN}}} |
− | |WHR = {{{WHR|}}} | + | |WHR = {{{WHR}}} |
− | |WHT = {{{WHT|}}} | + | <!-- |
+ | |WHT = {{#if:{{{CALLED}}} | Called game @{{{CALLED}}}{{#switch:{{{CALLED}}}|1=st|2=nd|3=rd|th}} | {{{WHT}}} }} | ||
+ | --> | ||
+ | |WHT = {{#if:{{{WHT}}} | {{{WHT}}} | {{#if:{{{CALLED}}} | Called game @{{{CALLED}}}{{#switch:{{{CALLED}}}|1=st|2=nd|3=rd|th}} }}}} | ||
+ | |CALLED = {{{CALLED}}} | ||
+ | |WHT-STL = {{{WHT-STL}}} | ||
− | |GAME = {{{GAME | + | |GAME = {{{GAME}}} |
− | |STYLE = {{{STYLE | + | |STYLE = {{{STYLE}}} |
− | |MORE = {{{MORE | + | |MORE = {{{MORE}}} |
− | |PPOS = {{{PPOS | + | |PPOS = {{{PPOS}}} |
− | |SD = {{{SD | + | |SD = {{{SD}}} |
− | |WP = {{{WP | + | |WP = {{{WP}}} |
− | |LP = {{{LP | + | |LP = {{{LP}}} |
− | |SV = {{{SV | + | |SV = {{{SV}}} |
− | |GWRBI = {{{GWRBI|}}} | + | |GWRBI = {{{GWRBI}}} |
− | |HOMER = {{{HOMER|}}} | + | |MVP = {{{MVP}}} |
+ | |HOMER = {{{HOMER}}} | ||
+ | |PR = {{{PR}}} | ||
<!-- must have values --> | <!-- must have values --> | ||
− | |INNING = {{# | + | |INNING = {{#iferror:{{#ifexpr:{{{INNING}}}>=5 and {{{INNING}}}<=25| {{{INNING}}} | 9 }} | 9 }} |
− | |FNT = | + | |FNT = {{{FNT|}}} |
− | |HRW = | + | |HRW = {{{HRW|}}} |
− | |WCL = | + | |WCL = {{{WCL|}}} |
− | |WTM = | + | |WTM = {{{WTM|}}} |
− | |TEAM1 = {{{TEAM1|}}} | + | <!--WL offset--> |
− | |TEAM2 = {{{TEAM2|}}} | + | |WLOS = {{#iferror:{{#expr:(({{{WTM}}}-100)+({{{WCL}}}*{{{INNING}}}-9*32))/4}} | 0 }} |
+ | |||
+ | <!--【精密計算寬度】隊寬、欄寬皆 +4+1,前為 padding,後為 border-right-width,最後再 +1 為 border-left-width--> | ||
+ | <!--此寫法是為了配合 table-layout:fixed,省下寫每一欄寬度的空間--> | ||
+ | |FIXED-WIDTH = {{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|4}}{{#titleparts:{{{TEAM2-RHEB}}}|1|4}} | ||
+ | | | ||
+ | | {{#iferror:{{#expr:({{#if:{{{WTM}}}|{{{WTM}}}|100}}+4+1) + ({{{INNING}}} + 1 + {{#ifexpr:{{#titleparts:{{{TEAM1-RHEB}}}|1|2}}+0<0 or {{#titleparts:{{{TEAM2-RHEB}}}|1|2}}+0<0 | 0 | 1}} + {{#ifexpr:{{#titleparts:{{{TEAM1-RHEB}}}|1|3}}+0<0 or {{#titleparts:{{{TEAM2-RHEB}}}|1|3}}+0<0 | 0 | 1}}) * ({{#if:{{{WCL}}}|{{{WCL}}}|32}}+4+1) + 1}}}} | ||
+ | }} | ||
+ | |||
+ | |TEAM1 = {{#if:{{#titleparts:{{{TEAM1}}}|1|2}} | ||
+ | | {{#switch:{{#titleparts:{{{TEAM1}}}|1|1}} | ||
+ | |LLB|PONY|LLB-PONY={{TeamX|{{{TEAM1}}}|X|pr={{{PR}}}}} | ||
+ | |#default={{{TEAM1}}} | ||
+ | }} | ||
+ | | {{#if:{{User:Digipunk/TeamX/ByCode|{{{TEAM1}}}}}|{{TeamX|{{{TEAM1}}}|X|pr={{{PR}}}}}|{{{TEAM1}}} }} | ||
+ | }} | ||
+ | |TEAM2 = {{#if:{{#titleparts:{{{TEAM2}}}|1|2}} | ||
+ | | {{#switch:{{#titleparts:{{{TEAM2}}}|1|1}} | ||
+ | |LLB|PONY|LLB-PONY={{TeamX|{{{TEAM2}}}|X|pr={{{PR}}}}} | ||
+ | |#default={{{TEAM2}}} | ||
+ | }} | ||
+ | | {{#if:{{User:Digipunk/TeamX/ByCode|{{{TEAM2}}}}}|{{TeamX|{{{TEAM2}}}|X|pr={{{PR}}}}}|{{{TEAM2}}} }} | ||
+ | }} | ||
|TEAM1-SCORES = {{{TEAM1-SCORES|}}} | |TEAM1-SCORES = {{{TEAM1-SCORES|}}} | ||
|TEAM2-SCORES = {{{TEAM2-SCORES|}}} | |TEAM2-SCORES = {{{TEAM2-SCORES|}}} | ||
第36行: | 第65行: | ||
|HAS-RHEB = <!-- | |HAS-RHEB = <!-- | ||
■ 1:Run ■-->1<!-- | ■ 1:Run ■-->1<!-- | ||
− | ■ 2:Hit ■-->/{{#ifexpr | + | ■ 2:Hit ■-->/{{#ifexpr:{{#titleparts:{{{TEAM1-RHEB}}}|1|2}}+0<0 or {{#titleparts:{{{TEAM2-RHEB}}}|1|2}}+0<0 | 0 | 1}}<!-- |
− | + | ■ 3:Err ■-->/{{#ifexpr:{{#titleparts:{{{TEAM1-RHEB}}}|1|3}}+0<0 or {{#titleparts:{{{TEAM2-RHEB}}}|1|3}}+0<0 | 0 | 1}}<!-- | |
− | ■ 3:Err ■-->/{{#ifexpr | + | |
− | + | ||
■ 4:BB ■-->/{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|4}}{{#titleparts:{{{TEAM2-RHEB}}}|1|4}} | 1 | 0}}<!-- | ■ 4:BB ■-->/{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|4}}{{#titleparts:{{{TEAM2-RHEB}}}|1|4}} | 1 | 0}}<!-- | ||
■ 5:2B ■-->/{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|5}}{{#titleparts:{{{TEAM2-RHEB}}}|1|5}} | 1 | 0}}<!-- | ■ 5:2B ■-->/{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|5}}{{#titleparts:{{{TEAM2-RHEB}}}|1|5}} | 1 | 0}}<!-- | ||
第51行: | 第78行: | ||
■ 13:FLD ■-->/{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|13}}{{#titleparts:{{{TEAM2-RHEB}}}|1|13}} | 1 | 0}} | ■ 13:FLD ■-->/{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|13}}{{#titleparts:{{{TEAM2-RHEB}}}|1|13}} | 1 | 0}} | ||
|HAS-EXT = <!-- | |HAS-EXT = <!-- | ||
− | ■ | + | ■ 5..13 ■-->{{#if:{{#titleparts:{{{TEAM1-RHEB}}}|1|5}}{{#titleparts:{{{TEAM2-RHEB}}}|1|5}}{{#titleparts:{{{TEAM1-RHEB}}}|1|6}}{{#titleparts:{{{TEAM2-RHEB}}}|1|6}}{{#titleparts:{{{TEAM1-RHEB}}}|1|7}}{{#titleparts:{{{TEAM2-RHEB}}}|1|7}}{{#titleparts:{{{TEAM1-RHEB}}}|1|8}}{{#titleparts:{{{TEAM2-RHEB}}}|1|8}}{{#titleparts:{{{TEAM1-RHEB}}}|1|9}}{{#titleparts:{{{TEAM2-RHEB}}}|1|9}}{{#titleparts:{{{TEAM1-RHEB}}}|1|10}}{{#titleparts:{{{TEAM2-RHEB}}}|1|10}}{{#titleparts:{{{TEAM1-RHEB}}}|1|11}}{{#titleparts:{{{TEAM2-RHEB}}}|1|11}}{{#titleparts:{{{TEAM1-RHEB}}}|1|12}}{{#titleparts:{{{TEAM2-RHEB}}}|1|12}}{{#titleparts:{{{TEAM1-RHEB}}}|1|13}}{{#titleparts:{{{TEAM2-RHEB}}}|1|13}} | 1 | 0}} |
− | | | + | <!-- lineup --> |
− | + | |V-BATTERS = {{#if:{{{VB1|}}} | |
− | + | | {{User:Digipunk/SBDW/Helper|ACT=BATTERS | |
− | + | |B1 ={{{VB1}}} |B1-1={{{VB1-1}}} |B1-2={{{VB1-2}}} |B1-3={{{VB1-3}}} |B1-4={{{VB1-4}}} | |
− | + | |B1-5={{{VB1-5}}} |B1-6={{{VB1-6}}} |B1-7={{{VB1-7}}} |B1-8={{{VB1-8}}} |B1-9={{{VB1-9}}} | |
− | + | |B2 ={{{VB2}}} |B2-1={{{VB2-1}}} |B2-2={{{VB2-2}}} |B2-3={{{VB2-3}}} |B2-4={{{VB2-4}}} | |
− | + | |B2-5={{{VB2-5}}} |B2-6={{{VB2-6}}} |B2-7={{{VB2-7}}} |B2-8={{{VB2-8}}} |B2-9={{{VB2-9}}} | |
− | + | |B3 ={{{VB3}}} |B3-1={{{VB3-1}}} |B3-2={{{VB3-2}}} |B3-3={{{VB3-3}}} |B3-4={{{VB3-4}}} | |
− | + | |B3-5={{{VB3-5}}} |B3-6={{{VB3-6}}} |B3-7={{{VB3-7}}} |B3-8={{{VB3-8}}} |B3-9={{{VB3-9}}} | |
− | + | |B4 ={{{VB4}}} |B4-1={{{VB4-1}}} |B4-2={{{VB4-2}}} |B4-3={{{VB4-3}}} |B4-4={{{VB4-4}}} | |
− | + | |B4-5={{{VB4-5}}} |B4-6={{{VB4-6}}} |B4-7={{{VB4-7}}} |B4-8={{{VB4-8}}} |B4-9={{{VB4-9}}} | |
− | + | |B5 ={{{VB5}}} |B5-1={{{VB5-1}}} |B5-2={{{VB5-2}}} |B5-3={{{VB5-3}}} |B5-4={{{VB5-4}}} | |
− | + | |B5-5={{{VB5-5}}} |B5-6={{{VB5-6}}} |B5-7={{{VB5-7}}} |B5-8={{{VB5-8}}} |B5-9={{{VB5-9}}} | |
− | + | |B6 ={{{VB6}}} |B6-1={{{VB6-1}}} |B6-2={{{VB6-2}}} |B6-3={{{VB6-3}}} |B6-4={{{VB6-4}}} | |
− | + | |B6-5={{{VB6-5}}} |B6-6={{{VB6-6}}} |B6-7={{{VB6-7}}} |B6-8={{{VB6-8}}} |B6-9={{{VB6-9}}} | |
− | + | |B7 ={{{VB7}}} |B7-1={{{VB7-1}}} |B7-2={{{VB7-2}}} |B7-3={{{VB7-3}}} |B7-4={{{VB7-4}}} | |
− | + | |B7-5={{{VB7-5}}} |B7-6={{{VB7-6}}} |B7-7={{{VB7-7}}} |B7-8={{{VB7-8}}} |B7-9={{{VB7-9}}} | |
+ | |B8 ={{{VB8}}} |B8-1={{{VB8-1}}} |B8-2={{{VB8-2}}} |B8-3={{{VB8-3}}} |B8-4={{{VB8-4}}} | ||
+ | |B8-5={{{VB8-5}}} |B8-6={{{VB8-6}}} |B8-7={{{VB8-7}}} |B8-8={{{VB8-8}}} |B8-9={{{VB8-9}}} | ||
+ | |B9 ={{{VB9}}} |B9-1={{{VB9-1}}} |B9-2={{{VB9-2}}} |B9-3={{{VB9-3}}} |B9-4={{{VB9-4}}} | ||
+ | |B9-5={{{VB9-5}}} |B9-6={{{VB9-6}}} |B9-7={{{VB9-7}}} |B9-8={{{VB9-8}}} |B9-9={{{VB9-9}}} | ||
+ | |B0 ={{{VB0}}} | ||
}} | }} | ||
− | + | }} | |
− | | | + | |H-BATTERS = {{#if:{{{HB1|}}} |
− | + | | {{User:Digipunk/SBDW/Helper|ACT=BATTERS | |
− | + | |B1 ={{{HB1}}} |B1-1={{{HB1-1}}} |B1-2={{{HB1-2}}} |B1-3={{{HB1-3}}} |B1-4={{{HB1-4}}} | |
− | + | |B1-5={{{HB1-5}}} |B1-6={{{HB1-6}}} |B1-7={{{HB1-7}}} |B1-8={{{HB1-8}}} |B1-9={{{HB1-9}}} | |
− | + | |B2 ={{{HB2}}} |B2-1={{{HB2-1}}} |B2-2={{{HB2-2}}} |B2-3={{{HB2-3}}} |B2-4={{{HB2-4}}} | |
− | + | |B2-5={{{HB2-5}}} |B2-6={{{HB2-6}}} |B2-7={{{HB2-7}}} |B2-8={{{HB2-8}}} |B2-9={{{HB2-9}}} | |
− | + | |B3 ={{{HB3}}} |B3-1={{{HB3-1}}} |B3-2={{{HB3-2}}} |B3-3={{{HB3-3}}} |B3-4={{{HB3-4}}} | |
− | + | |B3-5={{{HB3-5}}} |B3-6={{{HB3-6}}} |B3-7={{{HB3-7}}} |B3-8={{{HB3-8}}} |B3-9={{{HB3-9}}} | |
− | + | |B4 ={{{HB4}}} |B4-1={{{HB4-1}}} |B4-2={{{HB4-2}}} |B4-3={{{HB4-3}}} |B4-4={{{HB4-4}}} | |
− | + | |B4-5={{{HB4-5}}} |B4-6={{{HB4-6}}} |B4-7={{{HB4-7}}} |B4-8={{{HB4-8}}} |B4-9={{{HB4-9}}} | |
− | + | |B5 ={{{HB5}}} |B5-1={{{HB5-1}}} |B5-2={{{HB5-2}}} |B5-3={{{HB5-3}}} |B5-4={{{HB5-4}}} | |
− | + | |B5-5={{{HB5-5}}} |B5-6={{{HB5-6}}} |B5-7={{{HB5-7}}} |B5-8={{{HB5-8}}} |B5-9={{{HB5-9}}} | |
− | + | |B6 ={{{HB6}}} |B6-1={{{HB6-1}}} |B6-2={{{HB6-2}}} |B6-3={{{HB6-3}}} |B6-4={{{HB6-4}}} | |
+ | |B6-5={{{HB6-5}}} |B6-6={{{HB6-6}}} |B6-7={{{HB6-7}}} |B6-8={{{HB6-8}}} |B6-9={{{HB6-9}}} | ||
+ | |B7 ={{{HB7}}} |B7-1={{{HB7-1}}} |B7-2={{{HB7-2}}} |B7-3={{{HB7-3}}} |B7-4={{{HB7-4}}} | ||
+ | |B7-5={{{HB7-5}}} |B7-6={{{HB7-6}}} |B7-7={{{HB7-7}}} |B7-8={{{HB7-8}}} |B7-9={{{HB7-9}}} | ||
+ | |B8 ={{{HB8}}} |B8-1={{{HB8-1}}} |B8-2={{{HB8-2}}} |B8-3={{{HB8-3}}} |B8-4={{{HB8-4}}} | ||
+ | |B8-5={{{HB8-5}}} |B8-6={{{HB8-6}}} |B8-7={{{HB8-7}}} |B8-8={{{HB8-8}}} |B8-9={{{HB8-9}}} | ||
+ | |B9 ={{{HB9}}} |B9-1={{{HB9-1}}} |B9-2={{{HB9-2}}} |B9-3={{{HB9-3}}} |B9-4={{{HB9-4}}} | ||
+ | |B9-5={{{HB9-5}}} |B9-6={{{HB9-6}}} |B9-7={{{HB9-7}}} |B9-8={{{HB9-8}}} |B9-9={{{HB9-9}}} | ||
+ | |B0 ={{{HB0}}} | ||
}} | }} | ||
− | + | }} | |
− | | | + | |V-PITCHERS = {{#if:{{{VP1|}}} |
− | + | | {{User:Digipunk/SBDW/Helper|ACT=PITCHERS | |
− | + | |P1 ={{{VP1}}} |P2={{{VP2}}} |P3 ={{{VP3}}} |P4={{{VP4}}} |P5 ={{{VP5}}} | |
− | + | |P6 ={{{VP6}}} |P7={{{VP7}}} |P8 ={{{VP8}}} |P9={{{VP9}}} |P10={{{VP10}}} | |
− | + | |P0 ={{{VP0}}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
− | + | }} | |
− | | | + | |H-PITCHERS = {{#if:{{{HP1|}}} |
− | + | | {{User:Digipunk/SBDW/Helper|ACT=PITCHERS | |
− | + | |P1 ={{{HP1}}} |P2={{{HP2}}} |P3 ={{{HP3}}} |P4={{{HP4}}} |P5 ={{{HP5}}} | |
− | + | |P6 ={{{HP6}}} |P7={{{HP7}}} |P8 ={{{HP8}}} |P9={{{HP9}}} |P10={{{HP10}}} | |
− | + | |P0 ={{{HP0}}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}} | }} | ||
− | + | }} | |
− | + | ||
− | + | |UMPIRES = {{{UMPIRES}}} | |
− | + | |DURATION = {{{DURATION}}} | |
− | + | |AUDIENCE = {{{AUDIENCE}}} | |
− | + | |NOTE = {{{NOTE}}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}}</INCLUDEONLY><NOINCLUDE> | }}</INCLUDEONLY><NOINCLUDE> | ||
2019年9月8日 (日) 13:08的最新修訂版本
[編輯] SBDW Variable Processing Layer
- Refer to {{SBDW}} for more details.
[編輯] 開發記錄
- [2016-07-31] 建立模板。