Template:Ballgame: Difference between revisions

From Protoball
Jump to navigation Jump to search
No edit summary
No edit summary
Line 43: Line 43:
! 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: {{{State|}}}|[[{{{State}}}{{#ifeq: {{{Country}}}|United States||, {{{Country}}}}}|{{{State}}}]],}} [[{{{Country}}}]]
{{#if: {{{Modern Address|}}} |
{{!}}-
! Modern Address
{{!}} [[Modern Address::{{{Modern Address|}}}]] }}
{{#if: {{{Field|}}} |
{{#if: {{{Field|}}} |
{{!}}-
{{!}}-
! Field
! Field
{{!}} class=nowrap {{!}} {{#ifexist: {{{Field|}}} | | <span class="a_bit_right float_right">{{#formlink:form=Field|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Field&nbsp;Page|Field[Name]={{{Field|}}}|Field[Modern Address]={{{Modern Address|}}}|Field[City]={{{City|}}}|Field[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} </span> }} [[Field::{{{Field|}}}]] }}
{{!}} class=nowrap {{!}} {{#ifexist: {{{Field|}}} | | <span class="a_bit_right float_right">{{#formlink:form=Field|target=|link text=<i class="icon-plus-sign"></i>&nbsp;Add&nbsp;Field&nbsp;Page|Field[Name]={{{Field|}}}|Field[Modern Address]={{{Modern Address|}}}|Field[City]={{{City|}}}|Field[State]={{{State|}}}|Field[Country]={{{Country|}}}|popup}} </span> }} [[Field::{{{Field|}}}]] }}
{{#if: {{{Modern Address|}}} |
{{!}}-
! Modern Address
{{!}} [[Modern Address::{{{Modern Address|}}}]] }}
{{#if: {{{Home Team|}}} |
{{#if: {{{Home Team|}}} |
{{!}}-
{{!}}-

Revision as of 17:01, 10 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=
|Ballgame Tags=
|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.