Template:Predecessor Game: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(remove some }}) |
||
(13 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= | |||
|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 37: | 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|}}}|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 46: | 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 59: | 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> Add Club 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> Add Club Page|Club[Name]={{{Away Team|}}}|Club[City]={{{City|}}}|Club[State]={{{State|}}}|Club[Country]={{{Country|}}}|popup}} </span>}} [[Away Team::{{{Away Team|}}}]] | ||
|- {{#if: {{{Home | |- {{#if: {{{Home Score|}}}||class=hidden}} | ||
! Score | ! Score | ||
| [[Home | | [[Home Score::{{{Home Score|}}}]] [[Away Score::{{{Away Score|}}}]] | ||
|- {{#if: {{{Has Source On Hand|}}}||class=hidden}} | |||
! Has Source On Hand | |||
| [[Has Source On Hand::{{{Has Source On Hand|}}}]] | |||
|- {{#if: {{{Innings|}}}|{{#ifeq:{{{Innings|}}}|9|class=hidden}}|class=hidden}} | |- {{#if: {{{Innings|}}}|{{#ifeq:{{{Innings|}}}|9|class=hidden}}|class=hidden}} | ||
! Innings | ! Innings | ||
Line 80: | 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 99: | 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.