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...")
 
 
(One intermediate revision by the same user not shown)
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|}}}}}}}
{{!}}{{#if:{{{nologo|}}}||{{BaseballLogo|{{{team|}}}}}}} {{{team|}}}
+
{{!}}{{#if:{{#var:nologos}}{{{nologo|}}}||{{BaseballLogo|{{{team|}}}}}}} {{{team|}}}
 
{{!}}{{{players|}}}
 
{{!}}{{{players|}}}
 
{{!}}-
 
{{!}}-
 
}}<noinclude>[[Category:Templates]]</noinclude>
 
}}<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 14:58, 19 July 2024