Template:Ballgame: Difference between revisions

From Protoball
Jump to navigation Jump to search
(Borough, Firsts)
(Borough, Firsts)
Line 127: Line 127:
{{#ifeq:{{#ask:[[Category:States]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a {{{Country}}} State]]}}
{{#ifeq:{{#ask:[[Category:States]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a {{{Country}}} State]]}}
{{#ifeq:{{#ask:[[Category:Boroughs]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a Borough]]}}
{{#ifeq:{{#ask:[[Category:Boroughs]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a Borough]]}}
{{#ifeq:{{#ask:[[Category:Cities]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a {{#if:{{{State|}}}|{{{State}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{Country}}}}} City]]{{#if:{{{Borough|}}}|[[First in a {{{Borough}}} City]]}}
{{#ifeq:{{#ask:[[Category:Cities]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category:First in a {{#if:{{{State|}}}|{{{State}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{Country}}}}} City]]{{#if:{{{Borough|}}}|[[Category:First in a {{{Borough}}} City]]}}
}} {{#if:{{{Championship|}}}|[[Category:Championship]]}}
}} {{#if:{{{Championship|}}}|[[Category:Championship]]}}
</includeonly>
</includeonly>

Revision as of 17:07, 17 September 2014

This is the "Ballgame" template. It should be called in the following format:

{{Ballgame
|Name=
|Date=
|Type of Date=Day, Month, Year, Circa, Decade
|Date Note=
|Field=
|Modern Address=
|City=
|Borough=
|State=
|Country=
|Coordinates=
|Home Team=
|Away Team=
|Home Score=
|Away Score=
|Innings=
|Innings Note=
|Number of Players=
|NY Rules=
|Ballgame Tags=
|Description=
|Sources=
|Comment=
|Source Image=
|Has Source On Hand=
|Reviewed=
|Submitted by=
|Submission Note=
|Entered by=
|First in Location=
|First in Location Note=
|Players Locality=
|Entry Origin=
|Entry Origin Url=
|Championship=
|Type=
|Society=
|Duplicate=
}}

Edit the page to see the template text.