Template:Location: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(just white-space to trigger reprocessed) |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Ballgame_Box|City={{{City|}}}|State={{{State|}}}|Country={{{Country|}}}}} | {{Ballgame_Box|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#set:Country={{{Country|}}}|State={{{State|}}}|Borough={{{Borough|}}}|City={{{City|}}}|Coordinates={{{Coordinates}}}}} | ||
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ | ||
<div class="hidden"> | <div class="hidden"> | ||
{{DISPLAYTITLE:Pre-pro Clubs and Games in {{State Name|{{PAGENAME}}}}}} | {{DISPLAYTITLE:Pre-pro Clubs and Games in {{State Name|{{PAGENAME}}}}}} | ||
<div id="Country">[[Country::{{{Country}}}]]</div>{{#if: {{{State|}}}|<div id="State"> | <div id="Country">[[Country::{{{Country}}}]]</div> | ||
<div id="lat_long"> | {{#if: {{{State|}}}|<div id="State">{{{State}}}</div>}}{{#if: {{{Borough|}}}|<div id="Borough">{{{Borough}}}</div>}}{{#if: {{{City|}}}|<div id="City">{{{City}}}</div>}} | ||
<div id="lat_long">{{#coordinates:{{{Coordinates|}}}|format=float|directional=no}}</div> | |||
</div> | </div> | ||
<p class="map_header">[[Pre-pro Baseball]] > {{#if: {{{State|}}}|[[{{{Country}}}]] | <p class="map_header">[[Pre-pro Baseball]] > {{#if: {{{State|}}}{{{Borough|}}}{{{City|}}}|[[{{{Country}}}]]}}{{#if: {{{State|}}}|{{#ifeq:{{{State|}}}|+||<nowiki> > </nowiki>[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{State Name|{{{State}}}}}]]}}}}{{#if: {{{Borough|}}}|<nowiki> > </nowiki>[[{{GNYC|{{{Borough}}}}}]]}}{{#if: {{{City|}}}|<nowiki> > </nowiki>[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]]}} {{#ask: [[Category:Pre-pro]][[Type::Ballgame]][[Country::{{{Country}}}]]{{#if: {{{State|}}}|[[State::{{{State}}}]]}}{{#if: {{{Borough|}}}|[[Borough::{{{Borough}}}]]}}{{#if: {{{City|}}}|[[City::{{{City}}}]]}}|format=count}} Games and {{#ask: [[Category:Pre-pro]][[Type::Club]][[Country::{{{Country}}}]]{{#if: {{{State|}}}|[[State::{{{State}}}]]}}{{#if: {{{Borough|}}}|[[Borough::{{{Borough}}}]]}}{{#if: {{{City|}}}|[[City::{{{City}}}]]}}|format=count}} Clubs</p> | ||
<div class="map_wrapper"> | <div class="map_wrapper"> | ||
<div id="map" class="map_ballgames" style="height: 400px"></div> | <div id="map" class="map_ballgames" style="height: 400px"></div> | ||
Line 12: | Line 13: | ||
<div id="slider" class="slider"></div> | <div id="slider" class="slider"></div> | ||
</div> | </div> | ||
{{#ifeq:{{{Borough|}}}|+| | |||
{{#arraydefine:boroughs|{{#ask:[[Category:Boroughs]][[State::+]] | limit = 10000 | link=none }}}} | |||
{{#arraydefine:gnyc|{{GNYC|+}}}} | |||
{{#arraydiff:boroughs_nognyc|boroughs|gnyc}} | |||
== Boroughs == | |||
{{#arrayprint:boroughs_nognyc|,<nowiki> </nowiki>|@|[[@]] ({{#ask:[[Category:Pre-pro]][[Borough::@]]|format=count}})}} | |||
}} | |||
{{#ifeq: {{#ask: [[Category:States in {{PAGENAME}}]] | format=count}} | 0 | |==States== | {{#ifeq: {{#ask: [[Category:States in {{PAGENAME}}]] | format=count}} | 0 | |==States== | ||
{{#ask: [[Category:States in {{PAGENAME}}]] | ? State | limit=60 | format=template | link=none | template=Linked State Name | sep=,<nowiki> </nowiki> }} | {{#ask: [[Category:States in {{PAGENAME}}]] | ? State | limit=60 | format=template | link=none | template=Linked State Name | sep=,<nowiki> </nowiki> }} | ||
}} | }} | ||
{{#ifeq:{{{Country|}}}|United States|{{#if:{{{City|}}}|| | {{#ifeq:{{{Country|}}}|United States|{{#if:{{{City|}}}{{{Borough|}}}|| | ||
{{#ask: [[Category:Pre-pro]][[Type::Ballgame]][[Country::{{{Country}}}]]{{#if: {{{State|}}}|[[State::{{{State}}}]]}}{{#if: {{{Borough|}}}|[[Borough::{{{Borough}}}]]}}{{#if: {{{City|}}}|[[City::{{{City}}}]]}}|format=count}} Games and {{#ask: [[Category:Pre-pro]][[Type::Club]][[Country::{{{Country}}}]]{{#if: {{{State|}}}|[[State::{{{State}}}]]}}{{#if: {{{Borough|}}}|[[Borough::{{{Borough}}}]]}}{{#if: {{{City|}}}|[[City::{{{City}}}]]}}|format=count}} Clubs | |||
== Full Listings == | == Full Listings == | ||
[[Games in {{#if:{{{State|}}}|{{{State}}}|{{{Country}}}}}|Games]], [[Clubs in {{#if:{{{State|}}}|{{{State}}}|{{{Country}}}}}|Clubs]], [[Predecessor Games in {{#if:{{{State|}}}|{{{State}}}|{{{Country}}}}}|Predecessor Games]], [[Fields in {{#if:{{{State|}}}|{{{State}}}|{{{Country}}}}}|Fields]] | [[Games in {{#if:{{{State|}}}|{{{State}}}|{{{Country}}}}}|Games]], [[Clubs in {{#if:{{{State|}}}|{{{State}}}|{{{Country}}}}}|Clubs]], [[Predecessor Games in {{#if:{{{State|}}}|{{{State}}}|{{{Country}}}}}|Predecessor Games]], [[Fields in {{#if:{{{State|}}}|{{{State}}}|{{{Country}}}}}|Fields]] | ||
}}}} | }}}} | ||
== Firsts == | == Firsts == | ||
{{Firsts Query|City={{{City|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#ifeq:{{{Country|}}}|United States|{{#if:{{{City|}}}| | {{Firsts Query|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#ifeq:{{{Country|}}}|United States|{{#if:{{{City|}}}| | ||
== Games == | == Games == | ||
{{Ballgame Query|[[Category:Ballgames]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | {{Ballgame Query|[[Category:Ballgames]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | ||
== Clubs == | == Clubs == | ||
{{Club Query|[[Category:Clubs]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | {{Club Query|[[Category:Clubs]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | ||
== Predecessor Games == | == Predecessor Games == | ||
{{Predecessor Query|[[Category:Predecessor Games]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | {{Predecessor Query|[[Category:Predecessor Games]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | ||
== Fields == | == Fields == | ||
{{Field Query|[[Category:Fields]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | {{Field Query|[[Category:Fields]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | ||
}}}}{{#ifeq:{{{Country|}}}|United States||{{#if:{{{City|}}}|| | }}}}{{#ifeq:{{{Country|}}}|United States||{{#if:{{{City|}}}{{{Borough|}}}|| | ||
== Games == | == Games == | ||
{{Ballgame Query|[[Category:Ballgames]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | {{Ballgame Query|[[Category:Ballgames]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | ||
== Clubs == | == Clubs == | ||
{{Club Query|[[Category:Clubs]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | {{Club Query|[[Category:Clubs]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | ||
== Predecessor Games == | == Predecessor Games == | ||
{{Predecessor Query|[[Category:Predecessor Games]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | {{Predecessor Query|[[Category:Predecessor Games]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | ||
== Fields == | == Fields == | ||
{{Field Query|[[Category:Fields]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | {{Field Query|[[Category:Fields]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | ||
}}}} | }}}} | ||
{{#if: {{{State|}}}|== Related Bibliography == | {{#if: {{{State|}}}|== Related Bibliography == | ||
{{BiblioTable|filter=[[State::{{{State|}}}]]{{#if: {{{City|}}}|[[City::{{{City|}}}]]}}}}}} | {{BiblioTable|filter=[[State::{{{State|}}}]]{{#if: {{{City|}}}|[[City::{{{City|}}}]]}}{{#if: {{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}}}}} | ||
{{Related Essays}} | {{Related Essays}} | ||
{{#if: {{{City|}}}|[[Category:Cities]] [[Category:Cities in {{#if: {{{State|}}}|{{{State}}}|{{{Country}}}}}]]|{{#if: {{{State|}}}|[[Category:States]][[Category:States in {{{Country}}}]]|[[Category:Countries]]}}}} | {{#if: {{{City|}}}|[[Category:Cities]] [[Category:Cities in {{#if: {{{State|}}}|{{{State}}}|{{{Country}}}}}]]|{{#if: {{{Borough|}}}|[[Category:Boroughs]]|{{#if: {{{State|}}}|[[Category:States]][[Category:States in {{{Country}}}]]|[[Category:Countries]]}}}}}} |
Latest revision as of 04:43, 17 July 2024
The following coordinate was not recognized: {{{Coordinates}}}.
{{{Country}}}
⧼validator-fatal-error⧽
Pre-pro Baseball > 0 Games and 0 Clubs
(move the slider handles or click the year arrows)
Firsts
... further results== Games == No games have been posted yet
Clubs
No Clubs have been posted yet
Predecessor Games
No predecessor games have been posted yet
Fields
No Fields have been posted yet