Template:Predecessor Game: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
(remove some }})
 
(10 intermediate revisions by the same user not shown)
Line 11: Line 11:
|Modern Address=
|Modern Address=
|City=
|City=
|Borough=
|State=
|State=
|Country=
|Country=
Line 26: Line 27:
|Description=
|Description=
|Sources=
|Sources=
|Source Image=
|Has Source On Hand=
|Has Source On Hand=
|Comment=
|Query=
|Reviewed=
|Reviewed=
|Submitted by=
|Submitted by=
|Submission Note=
|First in Location=
|First in Location=
|First in Location Note=
|First in Location Note=
Line 38: Line 43:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>{{Ballgame Box|City={{{City|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#set:Type=Predecessor Game|Country={{{Country|}}}|State={{{State|}}}|City={{{City|}}}|Name={{{Name|}}}|Coordinates={{{Coordinates|}}}|Reviewed={{{Reviewed|}}}}} {{Reviewed|{{{Reviewed|}}}|Predecessor Game}}
</noinclude><includeonly>{{#default_form:Predecessor Game}}{{Ballgame Box|City={{{City|}}}|Borough={{{Borough|}}}|State={{{State|}}}|Country={{{Country|}}}}}{{#set:Type=Predecessor Game|Country={{{Country|}}}|State={{{State|}}}|Borough={{{Borough|}}}|City={{{City|}}}|Name={{{Name|}}}|Coordinates={{{Coordinates|}}}|Reviewed={{{Reviewed|}}}}} {{Reviewed|{{{Reviewed|}}}|Predecessor Game}}
{| 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 47: Line 52:
|-
|-
! Location
! Location
| {{#if: {{{City|}}}|[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]],}} {{#if: {{{State|}}}|[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]],}} [[{{{Country}}}]]
| {{#if: {{{City|}}}|[[{{{City}}}{{#if: {{{State|}}}|, {{{State}}}}}{{#ifeq:{{{Country|}}}|United States||, {{{Country}}}}}|{{{City}}}]],}} {{#if: {{{Borough|}}}|[[{{{Borough|}}}]],}} {{#if: {{{State|}}}|[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]],}} [[{{{Country}}}]]
|- {{#if: {{{Modern Address|}}}||class=hidden}}
|- {{#if: {{{Modern Address|}}}||class=hidden}}
! Modern Address
! Modern Address
Line 60: Line 65:
! Away Team
! Away Team
{{!}} class=nowrap {{!}}  {{#ifexist: {{{Away Team|}}} | | <span class="a_bit_right float_right new">{{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Club&nbsp;Page|Club[Name]={{{Away Team|}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Club[Country]={{{Country|}}}|popup}} </span>}}  [[Away Team::{{{Away Team|}}}]]
{{!}} class=nowrap {{!}}  {{#ifexist: {{{Away Team|}}} | | <span class="a_bit_right float_right new">{{#formlink:form=Club|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Club&nbsp;Page|Club[Name]={{{Away Team|}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Club[Country]={{{Country|}}}|popup}} </span>}}  [[Away Team::{{{Away Team|}}}]]
|- {{#if: {{{Home Team Score|}}}||class=hidden}}
|- {{#if: {{{Home Score|}}}||class=hidden}}
! Score
! Score
| [[Home Team Score::{{{Home Team Score|}}}]] [[Away Team Score::{{{Away Team Score|}}}]]
| [[Home Score::{{{Home Score|}}}]] [[Away Score::{{{Away Score|}}}]]
|- {{#if: {{{Has Source On Hand|}}}||class=hidden}}
|- {{#if: {{{Has Source On Hand|}}}||class=hidden}}
! Has Source On Hand
! Has Source On Hand
Line 84: Line 89:
! Sources
! Sources
| [[Sources::{{{Sources|}}}]]
| [[Sources::{{{Sources|}}}]]
|- {{#if: {{{Source Image|}}} || class=hidden }}
! Source Image
| [[Image:{{{Source Image|}}}|left|thumb]]
|- {{#ifeq: {{{Has Source On Hand|}}}|Yes||class=hidden}}
! Has Source On Hand
| [[Has Source On Hand::{{{Has Source On Hand|}}}]]
|-
! Comment
| [[Comment::{{{Comment|}}}]] {{CommentPrompt|{{{Comment|}}}}}
|-
! Query
| [[Query::{{{Query|}}}]] {{QueryPrompt|{{{Query|}}}}}
|- {{#if: {{{Submitted by|}}}||class=hidden}}
|- {{#if: {{{Submitted by|}}}||class=hidden}}
! Submitted by
! Submitted by
| {{#set:Submitted by={{{Submitted by|}}}}}{{#if:{{{Submitted by|}}}|{{#ifexist:{{{Submitted by|}}}|[[{{{Submitted by|}}}]]|{{{Submitted by|}}}}}
| {{#set:Submitted by={{{Submitted by|}}}}}{{#if:{{{Submitted by|}}}|{{#ifexist:{{{Submitted by|}}}|[[{{{Submitted by|}}}]]|{{{Submitted by|}}}}}
|- {{#if: {{{Submission Note|}}}||class=hidden}}
! Submission Note
| [[Submission Note::{{{Submission Note|}}}]]
|- {{#if: {{{First in Location|}}}||class=hidden}}
|- {{#if: {{{First in Location|}}}||class=hidden}}
! First in Location
! First in Location
Line 103: Line 123:
{{Discussion}}
{{Discussion}}


[[Category:Predecessor Games]]
[[Category:Predecessor Games]][[Category:Pre-pro]]
{{#if:{{{Game|}}}|[[Category:{{{Game}}} Games]]}}
{{#if:{{{Game|}}}|[[Category:{{{Game}}} Games]]}}
</includeonly>
</includeonly>

Latest revision as of 14:58, 16 August 2022

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

{{Predecessor Game
|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=
|Game=
|NY Rules=
|Ballgame Tags=
|Description=
|Sources=
|Source Image=
|Has Source On Hand=
|Comment=
|Query=
|Reviewed=
|Submitted by=
|Submission Note=
|First in Location=
|First in Location Note=
|Players Locality=
|Entry Origin=
|Entry Origin Url=
|Type=
}}

Edit the page to see the template text.