Template:Ballgame: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 33: Line 33:
|Entry Origin=
|Entry Origin=
|Entry Origin Url=
|Entry Origin Url=
|Championship=
|Crown=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{Ballgame Box}}{{#set:Country={{{Country|}}}|State={{{State|}}}|City={{{City|}}}|Name={{{Name|}}}|Reviewed={{{Reviewed|}}}|Championship={{{Championship|}}}}} {{Reviewed|{{{Reviewed|}}}|Ballgame}}
</noinclude><includeonly>{{Ballgame Box}}{{#set:Country={{{Country|}}}|State={{{State|}}}|City={{{City|}}}|Name={{{Name|}}}|Reviewed={{{Reviewed|}}}|Crown={{{Crown|}}}}} {{Reviewed|{{{Reviewed|}}}|Ballgame}}
{|
{|
! Date of Game  {{#set:Date of Game={{{Date of Game|}}}|Type of Date={{{Type of Date|}}}}}
! Date of Game  {{#set:Date of Game={{{Date of Game|}}}|Type of Date={{{Type of Date|}}}}}
Line 107: Line 107:
{{#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: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]]}}
</includeonly>
</includeonly>

Revision as of 16:42, 25 October 2012

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

{{Ballgame
|Name=
|Date of Game=
|Type of Date=Day, Month, Year, Circa, Decade
|Date Note=
|Field=
|Modern Address=
|City=
|State=
|Country=
|Coordinates=
|Home Team=
|Away Team=
|Home Score=
|Away Score=
|Innings=
|Innings Note=
|Number of Players=
|Game=
|NY Rules=
|Ballgame Tags=
|Description=
|Sources=
|Reviewed=
|Submitted by=
|First in Location=
|First in Location Note=
|Players Locality=
|Entry Origin=
|Entry Origin Url=
|Crown=
}}

Edit the page to see the template text.