Template:Ballgame: Difference between revisions

From Protoball
Jump to navigation Jump to search
({{#if:{{{Championship|}}}|Category:Championship{{#default_form:Championship}}|{{#default_form:Ballgame}}}})
(Ballgame: Source Image 2, 3, 4, 5)
(4 intermediate revisions by the same user not shown)
Line 29: Line 29:
|Sources=
|Sources=
|Source Image=
|Source Image=
|Source Image 2=
|Source Image 3=
|Source Image 4=
|Source Image 5=
|Has Source On Hand=
|Has Source On Hand=
|Comment=
|Comment=
Line 48: Line 52:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{Ballgame Box|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#set:Type=Ballgame|Country={{{Country|}}}|State={{{State|}}}|Borough={{{Borough|}}}|City={{{City|}}}|Name={{{Name|}}}|Coordinates={{{Coordinates|}}}|Reviewed={{{Reviewed|}}}|Championship={{{Championship|}}}|Duplicate={{{Duplicate|}}}}} {{Reviewed|{{{Reviewed|}}}|Ballgame}}
</noinclude><includeonly>{{#if:{{{Championship|}}}|{{#default_form:Championship}}|{{#default_form:Ballgame}}}}{{Ballgame Box|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#set:Type=Ballgame|Country={{{Country|}}}|State={{{State|}}}|Borough={{{Borough|}}}|City={{{City|}}}|Name={{{Name|}}}|Coordinates={{{Coordinates|}}}|Reviewed={{{Reviewed|}}}|Championship={{{Championship|}}}|Duplicate={{{Duplicate|}}}}} {{Reviewed|{{{Reviewed|}}}|Ballgame}}
{| class="stats"
{| class="stats"
! Date of Game  {{#set:Date={{{Date|}}}|Type of Date={{{Type of Date|}}}}}
! Date of Game  {{#set:Date={{{Date|}}}|Type of Date={{{Type of Date|}}}}}
Line 97: Line 101:
! Source Image
! Source Image
| [[Image:{{{Source Image|}}}|left|thumb]]
| [[Image:{{{Source Image|}}}|left|thumb]]
|- {{#if: {{{Source Image 2|}}} || class=hidden }}
! Source Image
| [[Image:{{{Source Image 2|}}}|left|thumb]]
|- {{#if: {{{Source Image 3|}}} || class=hidden }}
! Source Image
| [[Image:{{{Source Image 3|}}}|left|thumb]]
|- {{#if: {{{Source Image 4|}}} || class=hidden }}
! Source Image
| [[Image:{{{Source Image 4|}}}|left|thumb]]
|- {{#if: {{{Source Image 5|}}} || class=hidden }}
! Source Image
| [[Image:{{{Source Image 5|}}}|left|thumb]]
|- {{#ifeq: {{{Has Source On Hand|}}}|Yes||class=hidden}}
|- {{#ifeq: {{{Has Source On Hand|}}}|Yes||class=hidden}}
! Has Source On Hand
! Has Source On Hand
Line 126: Line 142:
|- {{#if: {{{Entry Origin Url|}}}||class=hidden}}
|- {{#if: {{{Entry Origin Url|}}}||class=hidden}}
! Entry Origin Url
! Entry Origin Url
| [[Entry Origin::{{{Entry Origin Url|}}}]]
| [[Entry Origin Url::{{{Entry Origin Url|}}}]]
|- {{#if: {{{Society|}}}||class=hidden}}
|- {{#if: {{{Society|}}}||class=hidden}}
! Local-Origins Study Groups
! Local-Origins Study Groups
Line 140: Line 156:
{{#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|}}}|[[Category: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]]{{#default_form:Championship}}|{{#default_form:Ballgame}}}}
}} {{#if:{{{Championship|}}}|[[Category:Championship]]}}
</includeonly>
</includeonly>

Revision as of 20:53, 16 November 2020

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=
|Game Number=
|Innings=
|Innings Note=
|Number of Players=
|Game Official=
|NY Rules=
|Ballgame Tags=
|Description=
|Sources=
|Source Image=
|Source Image 2=
|Source Image 3=
|Source Image 4=
|Source Image 5=
|Has Source On Hand=
|Comment=
|Query=
|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.