Difference between revisions of "BaseballTeamsJPRow"

From Sega Retro

(Created page with "{{#if:{{{division|}}}| {{#switch:{{{division|}}} |cdiv1={{incvar|cdiv1teams}}{{incvar|americanteams}} |cdiv2={{incvar|cdiv2teams}}{{incvar|americanteams}} |cdiv3={{incvar|cdiv...")
 
Line 1: Line 1:
 
{{#if:{{{division|}}}|
 
{{#if:{{{division|}}}|
 
{{#switch:{{{division|}}}
 
{{#switch:{{{division|}}}
|cdiv1={{incvar|cdiv1teams}}{{incvar|americanteams}}
+
|cdiv1={{incvar|cdiv1teams}}{{incvar|centralteams}}
|cdiv2={{incvar|cdiv2teams}}{{incvar|americanteams}}
+
|cdiv2={{incvar|cdiv2teams}}{{incvar|centralteams}}
|cdiv3={{incvar|cdiv3teams}}{{incvar|americanteams}}
+
|cdiv3={{incvar|cdiv3teams}}{{incvar|centralteams}}
|pdiv1={{incvar|pdiv1teams}}{{incvar|nationalteams}}
+
|pdiv1={{incvar|pdiv1teams}}{{incvar|pacificteams}}
|pdiv2={{incvar|pdiv2teams}}{{incvar|nationalteams}}
+
|pdiv2={{incvar|pdiv2teams}}{{incvar|pacificteams}}
|pdiv3={{incvar|pdiv3teams}}{{incvar|nationalteams}}
+
|pdiv3={{incvar|pdiv3teams}}{{incvar|pacificteams}}
 
}}
 
}}
 
|{{#switch:{{{league|}}}
 
|{{#switch:{{{league|}}}
|american={{incvar|americanteams}}
+
|central={{incvar|centralteams}}
|national={{incvar|nationalteams}}
+
|pacific={{incvar|pacificteams}}
 
}}}}
 
}}}}
 
{{#vardefine:table{{#if:{{{division|}}}|{{{division|}}}|{{{league|}}}}}|{{#var:table{{#if:{{{division|}}}|{{{division|}}}|{{{league|}}}}}}}
 
{{#vardefine:table{{#if:{{{division|}}}|{{{division|}}}|{{{league|}}}}}|{{#var:table{{#if:{{{division|}}}|{{{division|}}}|{{{league|}}}}}}}

Revision as of 03:54, 15 November 2023