Template:Location: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(just white-space to trigger reprocessed) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Ballgame_Box|City={{{City|}}}|Borough={{{Borough|}}}|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|}}}{{{Borough|}}}{{{City|}}}|[[{{{Country}}}]]}}{{#if: {{{State|}}}|<nowiki> > </nowiki>[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{State Name|{{{State}}}}}]]}}{{#if: {{{Borough|}}}|<nowiki> > </nowiki>[[{{{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> | <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|}}}{{{Borough|}}}|| | {{#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]] |
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