Template:Predecessor Game: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
(remove some }})
 
(6 intermediate revisions by the same user not shown)
Line 11: Line 11:
|Modern Address=
|Modern Address=
|City=
|City=
|Borough=
|State=
|State=
|Country=
|Country=
Line 28: Line 29:
|Source Image=
|Source Image=
|Has Source On Hand=
|Has Source On Hand=
|Comment=
|Query=
|Reviewed=
|Reviewed=
|Submitted by=
|Submitted by=
Line 40: 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 49: 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 62: 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 92: Line 95:
! Has Source On Hand
! Has Source On Hand
| [[Has Source On Hand::{{{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

Latest revision as of 15: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.