Template:Location: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(counts below map too) |
||
(74 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Ballgame_Box}} | {{Ballgame_Box|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#set:Country={{{Country|}}}|State={{{State|}}}|Borough={{{Borough|}}}|City={{{City|}}}|Coordinates={{{Coordinates}}}}} | ||
__NOTOC__ __NOEDITSECTION__ | |||
__NOTOC__ | <div class="hidden"> | ||
{{DISPLAYTITLE:Pre-pro Clubs and Games in {{State Name|{{PAGENAME}}}}}} | |||
<div | <div id="Country">[[Country::{{{Country}}}]]</div>{{#if: {{{State|}}}|<div id="State">{{{State}}}</div>}}{{#if: {{{Borough|}}}|<div id="Borough">{{{Borough}}}</div>}}{{#if: {{{City|}}}|<div id="City">{{{City}}}</div>}} | ||
<div id=" | <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|}}}|{{#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 id="map" class="map_ballgames" style="height: 400px"></div> | |||
<div id="slider-years"><span id="slider-values" class="bold"></span> (move the slider handles or click the year arrows)</div> | |||
<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== | |||
{{#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|}}}|| | |||
{{#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 == | |||
[[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 Query|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#ifeq:{{{Country|}}}|United States|{{#if:{{{City|}}}| | |||
== Ballgames == | == Games == | ||
{{Ballgame Query|[[Category:Ballgames]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | |||
{{# | == Clubs == | ||
{{Club Query|[[Category:Clubs]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | |||
== Predecessor Games == | |||
{{Predecessor Query|[[Category:Predecessor Games]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | |||
== Fields == | |||
{{Field Query|[[Category:Fields]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | |||
}}}}{{#ifeq:{{{Country|}}}|United States||{{#if:{{{City|}}}{{{Borough|}}}|| | |||
== Games == | |||
{{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:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | |||
== Predecessor Games == | |||
{{Predecessor Query|[[Category:Predecessor Games]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | |||
== Fields == | |||
{{Field Query|[[Category:Fields]]{{#if:{{{City|}}}|[[City::{{{City|}}}]]}}{{#if:{{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}{{#if:{{{State|}}}|[[State::{{{State|}}}]]}}[[Country::{{{Country}}}]]}} | |||
}}}} | |||
{{# | {{#if: {{{State|}}}|== Related Bibliography == | ||
{{BiblioTable|filter=[[State::{{{State|}}}]]{{#if: {{{City|}}}|[[City::{{{City|}}}]]}}{{#if: {{{Borough|}}}|[[Borough::{{{Borough|}}}]]}}}}}} | |||
{{Related Essays}} | |||
{{# | {{#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 12:46, 13 December 2017
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