Template:Ballgame: Difference between revisions

From Protoball
Jump to navigation Jump to search
(Borough)
(Borough, Firsts)
Line 125: Line 125:
{{#if:{{{First in Location|}}}|
{{#if:{{{First in Location|}}}|
{{#ifeq:{{#ask:[[Category:Countries]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category: First in a Country]]}}
{{#ifeq:{{#ask:[[Category:Countries]][[{{{First in Location}}}]]|format=count}}|1|[[Category:First in {{{First in Location}}}]][[Category: First in a Country]]}}
{{#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 {{#ifeq:{{{Country|}}}|United States||{{{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: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]]}}
{{#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:{{{Championship|}}}|[[Category:Championship]]}}
}} {{#if:{{{Championship|}}}|[[Category:Championship]]}}
</includeonly>
</includeonly>

Revision as of 16:34, 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.