Template:Ballgame: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 54: Line 54:
|-
|-
! City
! City
| [[City::{{{City|}}}]]
| {{#if: {{{City|}}} | {{#ifeq: {{{Country|}}}|United States|[[{{{City}}}, {{{State}}}|{{{City}}}]]| {{#if: {{{State}}}| [[{{{City}}}, {{{State}}}, {{{Country}}}|{{{City}}}]] | [[{{{City}}}, {{{Country}}}|{{{City}}}]]}} }}  {{#set:City={{{City}}}}}
|-
|-
! State
! State
| [[State::{{{State|}}}]]
| {{#if: {{{State|}}} | {{#ifeq: {{{Country|}}}|United States|[[{{{State}}}]]|[[{{{State}}}, {{{Country}}}|{{{State}}}]]}} }}  {{#set:State={{{State}}}}}
|-
|-
! Country
! Country
| [[Country::{{{Country|}}}]]
| [[{{{Country}}}]] {{#set:Country={{{Country}}}}}
|-
|-
! Home Team
! Home Team

Revision as of 11:10, 6 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=
|Description=
|Sources=
|Reviewed=
|Submitted by=
|First in Location=
|First in Location Note=
|Players Locality=
|Entry Origin=
|Entry Origin Url=
}}

Edit the page to see the template text.